Description Usage Arguments Details Value References See Also Examples
Compute the power of the Standardized Mortality Ratio (SMR) Test, or determine parameters to obtain a target power.
1 2 |
n |
n is amount of person-time needed for study |
smr |
Stanardized Mortality Ratio (ie, the "ratio worth detecting") |
r |
death rate in the standard population |
sig.level |
significance level (Type I error probability) |
power |
power of test (1 minus Type II error probability) |
alternative |
one- or two-sided test. Can be abbreviated. |
tol |
numerical tolerance used in root finding, the default providing (at least) four significant digits.
Root finding refers to |
Exactly one of the parameters n and power must be passed as NULL, and that parameter is determined from the others.
Object of class "power.htest", a list of the arguments (including the computed one) augmented with method and note elements.
Newman (2001), pages 285 - 286.
1 2 | ## Example 14.3
power.smr.test(smr = 1.5, r = 7283/957247, power = 0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.