View source: R/fitFarringtonManning.R
fitFarringtonManning | R Documentation |
Test rate difference by comparing it to a pre-specified value using the Farrington-Manning test
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:
arm
name of the treatment arm.
placebo
name of the placebo arm.
estimate
estimate of rate difference.
p
one-sided p-value for log odds ratio (treated vs placebo).
info
sample size in the subset with NA
being removed.
z
the 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.