For this assignment, you are going to add new tabs to your “Using Formulas” spreadsheet. (The link you pasted should still be valid, here on Moodle. You'll edit the spreadsheet, of course, on Google and the new version will automatically be accessible for grading. Or, if you handed in an Excel file, you'll need to upload your new file.)
Create this table in the spreadsheet. The basic data — cells without formulas — is the two way table shown in bold. You will be entering formulas for the cells marked as ???.
| Exposed | Control | Total | |
|---|---|---|---|
| Events | 15 | 100 | ??? |
| Non-Events | 135 | 150 | ??? |
| —————- | ———- | ——— | —— |
| Total Subjects | ??? | ??? | ??? |
| —————- | ———- | ——— | —— |
| Event Rate | ??? | ??? |
Below the table, calculate each of the following, labelling the item appropriately:
You may wish to refer to the formulas given in the “Relative Risk” handout, here.
Construct a table giving the basic two-way input data for a calculation of the odds ratio in a two-way table.
| Cases | Controls | |
|---|---|---|
| Exposed | A | B |
| Not Exposed | C | D |
You'll be filling in numbers where it says A, B, C, and D.
| Odds Ratio | Lower | Upper |
|---|---|---|
| ??? | ??? | ???? |
The odds ratio is the familiar \( \frac{A C}{B D} \) cross-multiplication of the numbers in the two-way table.
To calculate the “Lower” bound on the confidence interval, you need two intermediate numbers.
In terms of these intermediates, the Lower number is:
\( \exp( L_{or} - 2\times SE) \). The Upper number is the same, but with a \( + \) instead of \( - \).
In this tab, which you can add to your spreadsheet after we cover it in class, you're going to produce a “power” calculation.
To do the power calculation (roughly), adjust your size multiplier until the confidence interval on the odds ratio does not include 1.