computeMdrr | R Documentation |
Compute the minimum detectable relative risk
computeMdrr(caseControlData, alpha = 0.05, power = 0.8, twoSided = TRUE)
caseControlData |
A data frame describing the cases and controls as created using the
|
alpha |
Type I error. |
power |
1 - beta, where beta is the type II error. |
twoSided |
Consider a two-sided test? |
Compute the minimum detectable relative risk (MDRR) for a given study population, using the actual observed sample size and number of exposed controls. Computations by Miettinnen (1969) and Rothman and Boice (1979) are used. Based on and verified using Ken Rothman's EpiSheet.
A data frame with the MDRR and some counts.
Miettinen OS (1969) Individual matching in the case of all or none responses. Biometrics, 25, 339-354.
Rothman KJ, Boice JD (1979) Epidemiologic Analysis with a Programmable Calculator. NIH Publication No.79-1649.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.