View source: R/fitFarringtonManning.R
| fitFarringtonManning | R Documentation |
Test rate difference by comparing it to a pre-specified value using the Farrington-Manning test.
Refer to this vignette for more information and examples.
fitFarringtonManning(endpoint, placebo, data, alternative, ..., delta = 0)
endpoint |
Character. Name of the endpoint in |
placebo |
Character. String indicating the placebo in |
data |
Data frame. Usually it is a locked data set. |
alternative |
a character string specifying the alternative hypothesis,
must be one of |
... |
Subset conditions compatible with |
delta |
the rate difference between a treatment arm and placebo under the null. 0 by default. |
a data frame with three columns:
armname of the treatment arm.
placeboname of the placebo arm.
estimateestimate of rate difference.
pone-sided p-value for log odds ratio (treated vs placebo).
infosample size in the subset with NA being removed.
zthe z statistics of log odds ratio (treated vs placebo).
Farrington, Conor P., and Godfrey Manning. "Test statistics and sample size formulae for comparative binomial trials with null hypothesis of non-zero risk difference or non-unity relative risk." Statistics in medicine 9.12 (1990): 1447-1454.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.