ExampleDataLinear | R Documentation |
A simulated data set containing 7901 observations, 5 continuous covariates and 100 providers.
data(ExampleDataLinear)
A list containing the following elements:
a vector representing continuous outcomes.
Generated as a linear combination of provider-specific effects, covariates, and a random error term (\epsilon
),
where \epsilon
follows a normal distribution with mean 0 and standard deviation 1.
a vector representing identifier for each provider. The number of individuals per provider is generated from a Poisson distribution with mean 80.
a data frame containing 5 continuous variables.
Generated from a multivariate normal distribution, where the mean is calculated as
(\gamma_i - \mu_{\gamma}) \cdot \rho / \sigma_{\gamma}
with \mu_{\gamma} = \log(4/11)
and \sigma_{\gamma} = 0.4
,
and the correlation between covariates and provider effects is 0.1.
data(ExampleDataLinear)
head(ExampleDataLinear$Y)
head(ExampleDataLinear$ID)
head(ExampleDataLinear$Z)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.