Learn R Programming

mmm2 (version 1.2)

mlgd: Multivariate Longitudinal Continuous (Gaussian) Data (MLGD)

Description

A data frame with 2000 observations on the following 6 variables. MLGD is a simulated bivariate longitudinal continuous dataset assuming there are 500 subjects in the study whose data are collected at 4 equally-spaced time points.

Usage

data(mlgd)

Arguments

Format

A data frame with 2000 observations on the following 6 variables.
ID
a numeric vector for subject ID
resp1
a numeric vector for the first longitudinal count response
resp2
a numeric vector for the second longitudinal count response
X
a numeric vector for the covariate, X
time
a numeric vector for the time point at which observations are collected
X.time
a numeric vector for the interaction between X and time

Details

The covariates, X and time are the standardized values indeed. The related interaction is calculated by using these standardized values. X is a time-independent covariate. For the details of data generation see the user manual of the R package mmm at http://cran.r-project.org/web/packages/mmm/index.html.

References

Asar, O. (2012). On multivariate longitudinal binary data models and their applications in forecasting. MS Thesis, Middle East Technical University. Available at http://www.lancaster.ac.uk/pg/asar/thesis-Ozgur-Asar.

Genz, A., Bretz, F., Miwa, T., Mi, X., Leisch, F., Scheipl, F., Hothorn, T. (2011). mvtnorm: Multivariate Normal and t Distributions. R package version 0.9-96. URL http://CRAN.R-project.org/package=mvtnorm.

Examples

Run this code
data(mlgd)
plot(mlgd$X,mlgd$resp1)

Run the code above in your browser using DataLab