remlOddsRatio | R Documentation |
Obtains the restricted maximum likelihood estimates of individual proportions with specified odds ratio.
remlOddsRatio(
oddsRatioH0 = 1,
n1 = NA_real_,
y1 = NA_real_,
n2 = NA_real_,
y2 = NA_real_
)
oddsRatioH0 |
The specified odds ratio. |
n1 |
The sample size for the active treatment group. |
y1 |
The number of responses for the active treatment group. |
n2 |
The sample size for the control group. |
y2 |
The number of responses for the control group. |
A vector of the restricted maximum likelihood estimates of the response probabilities for the two treatment groups.
Kaifeng Lu, kaifenglu@gmail.com
remlOddsRatio(oddsRatioH0 = 1.25, n1 = 10, y1 = 4, n2 = 20, y2 = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.