Learn R Programming

flexmix (version 2.0-1)

Mehta: Mehta Trial

Description

For a 22-centre trial the number of responses and the total number of patients is reported for the control group and the group receiving a new drug.

Usage

data("Mehta")

Arguments

source

M. Aitkin (1999): Meta-analysis by random effect modelling in generalized linear models. Statistics in medicine 18, pages 2343-2351.

References

C.R. Mehta, N.R. Patel and P. Senchaudhuri (1988): Importance sampling for estimating exact probabilities in permutational inference. Journal of the American Statistical Association 83, pages 999-1005.

Examples

Run this code
data("Mehta")
mehtaMix <- stepFlexmix(cbind(Response, Total-Response) ~ 1|Site, 
                     data=Mehta, nrep=5, k=3,
                     model=FLXMRglmfix(family="binomial",
                       fixed=~ Drug), 
                     control=list(minprior=0.04))

Run the code above in your browser using DataLab