Compute the minimum detectable relative risk
computeMdrr( object, exposureCovariateId, alpha = 0.05, power = 0.8, twoSided = TRUE, method = "SRL1" )
Covariate Id for the health exposure of interest.
Type I error.
1 - beta, where beta is the type II error.
Consider a two-sided test?
The type of sample size formula that will be used. Allowable values are "proportion", "binomial", "SRL1", "SRL2", or "ageEffects". Currently "ageEffects" is not supported.
A data frame with the MDRR, number of events, time at risk, and total time.
Compute the minimum detectable relative risk (MDRR) for a given study population, using the observed time at risk and total time in days and number of events. Five sample size formulas are implemented: sampling proportion, binomial proportion, 2 signed root likelihood ratio methods, and likelihood extension for age effects. The expressions by Musonda (2006) are used.
Musonda P, Farrington CP, Whitaker HJ (2006) Samples sizes for self-controlled case series studies, Statistics in Medicine, 15;25(15):2618-31