Simdata58: Simulated Dataset 58

simdata58R Documentation

Simulated Dataset 58

Description

The 58th dataset from the simulation study has 100 subjects (sample size is 100). Each subject has three repeated measurements. Detailed model mechanism can be found in the setting II for type III time-dependent covariate on page 90 of Lai and Small (2007). The two random effects in the mechanism are mutually independent and normally distributed with mean 0 and variances 1. The true values of 0 and 0.69 are corresponded to the marginal intercept and slope, accordingly.

Usage

data("simdata58")

Format

A data frame with 100 subjects and each subject has three repeated measurements, i.e., number of cluster size or time points. A list that contains one variable:

y

A column matrix of the continuous outcome values.

int

A column matrix of the intercept values of one.

x1

A column matrix of the continuous covariate values.

id

A column matrix of the numbers of identification.

visit

A column matrix of the order of cluster size or time points.

References

Lai, T.L., Small, D. (2007). Marginal regression analysis of longitudinal data with time-dependent covariates: a generalized method-of-moments approach. Journal of the Royal Statistical Society: Series B, 69, 79–99.

Examples

library(marlod)
data(simdata58)

marlod documentation built on June 8, 2025, 10:32 a.m.