simdata15 {marlod} | R Documentation |
The 15th dataset from the simulation study has 100 subjects (sample size is 30). Each subject has three repeated measurements. The independent variables or covariates are simulated from a Bernoulli distribution with a parameter value of p
= 0.5 and a uniform distribution U
(0, 1), respectively. Correlated errors for models with repeated measures are accounted for and assumed to follow a multivariate normal distribution, MVN
(0, R(\alpha
)). A first-order autoregressive (AR-1) correlation structure with a correlation parameter of \alpha
= 0.7 is incorporated into the multivariate normal distribution. The true values of 1, 1, and 1 are corresponded to the marginal intercept and two slopes, accordingly.
data("simdata15")
A data frame with 30 subjects and each subject has three repeated measurements, i.e., number of cluster size or time points. A list that contains two variables:
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 binary covariate values that follow a Bernoulli distribution.
x2
A column matrix of the continuous covariate values that follow a uniform distribution.
id
A column matrix of the numbers of identification.
visit
A column matrix of the order of cluster size or time points.
library(marlod)
data(simdata15)