powered by
Obtains the restricted maximum likelihood estimates of individual proportions with specified risk ratio.
remlRiskRatio( riskRatioH0 = 1, n1 = NA_real_, y1 = NA_real_, n2 = NA_real_, y2 = NA_real_ )
A vector of the restricted maximum likelihood estimates of the response probabilities for the two treatment groups.
The specified risk ratio.
The sample size for the active treatment group.
The number of responses for the active treatment group.
The sample size for the control group.
The number of responses for the control group.
Kaifeng Lu, kaifenglu@gmail.com
remlRiskRatio(riskRatioH0 = 1.2, n1 = 10, y1 = 4, n2 = 20, y2 = 2)
Run the code above in your browser using DataLab