greg: Gregoriou et al data

gregR Documentation

Gregoriou et al data

Description

A dataset containing the fertility crossover trial. Acquired from Supplementary materials of Reference Makubate, B., and Senn, S. (2010),Planning and Analysis of Cross-over Trials in Infertility, Statistics in Medicine, 29, 3203-3210.

Usage

greg

Format

A data frame with 111 rows and 5 variables:

group

group id

patient

patient id

period

period

treat

binary

response

outcome –

Source

http://senns.uk/InfCros/InfCROSInt.html

Examples

## Not run: 
#Proceed to fit various models
fit1 <- glmer(response~(1|patient),family=binomial,data=greg)              #null model
fit2 <- glmer(response~treat+(1|patient),family=binomial,data=greg)        #treatment only
fit3 <- glmer(response~period+(1|patient),family=binomial,data=greg)       #period only
fit4 <- glmer(response~treat+period+(1|patient),family=binomial,data=greg) #full model
summary(fit2)#Summary of model with treatment only
summary(fit4)#Summary of model with treatment and period
#carry out analysis of deviance to check effect of adding treatment to model with period
anova(fit3,fit4)
## End(Not run)

swihart/gnlrim documentation built on Oct. 18, 2023, 8:29 p.m.