[R] CROSSOVER TRIALS IN R (Binary Outcomes)

From: Boikanyo Makubate <boikanyo_at_stats.gla.ac.uk>
Date: Wed, 05 Mar 2008 15:11:25 +0000


I will like to analyse a binary cross over design using the random effects model. The probability of success is assumed to be logistic. Suppose as an example, we have 4 subjects undergoing a crossover design, where the outcome is either success or failure. The first two subjects receive treatment "A" first followed by treatment "B". The remaining two subjects receive treatments in the reverse order. The outcomes for the subjects is the sequence "AB" are as follows: (0,1) and (0,0). While the outcomes for the subjects in the sequence "BA" are (1,1) and (1,0).

How can i analyse this using R. I have done the problem with PROC NLMIXED in SAS, I simply want to compare the results from SAS with those from R. Please help. R-Codes will be highly appreciated.

Boikanyo.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Wed 05 Mar 2008 - 15:14:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 05 Mar 2008 - 18:30:19 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive