gly4gen: Simulated triglyceride data

Description Usage Format Details Source Examples

Description

Simulated dataset similar to an actual trial. Lipid levels for the patients were measured at specified times. The response variable of interest change in triglyceride level between baseline and week 4. Five treatment groups were considered. The study was conducted at two centers.

Usage

1

Format

A data frame with 97 observations on the following 4 variables.

obs

subject id

group

treatment group

center

medical center

diffgly4

change from baseline in triglyceride at week 4 visit

Details

Data were simulated to resemble an actual clinical trial dataset.

Source

Rashid, M.M., McKean, J.W., Kloke, J.D. (2011). R Estimates and Associated Inferences for Mixed Models with Covariates in a Multi-Center Clinical Trail Statistics in Biopharmaceutical Research.

Examples

1
2
3
4
5
6
data(gly4gen)
X<-with(gly4gen,model.matrix(~as.factor(group)-1))
X<-X[,2:5]
y<-gly4gen$diffgly4
block<-gly4gen$center
mrfit(X,y,block,rfit(y~X)$coef[2:5])

kloke/mrfit documentation built on May 20, 2019, 12:34 p.m.