mresp_hsced {galamm}R Documentation

Simulated Mixed Response Data with Heteroscedastic Residuals

Description

Mixed response dataset with one set of normally distributed responses and one set of binomially distributed responses. The normally distributed response follow two different residual standard deviations.

Usage

mresp_hsced

Format

mresp A data frame with 4000 rows and 5 columns:

id

Subject ID.

x

Predictor variable.

y

Response.

itemgroup

Factor variable which equals "a" for the normally distributed responses and "b" for the binomially distributed response (with 1 trial).

grp

Grouping variable denoting which of the two residual standard deviations apply. Only relevant for the normally distributed responses.

isgauss

Dummy variable indicating whether the observation on the given line is normally (Gaussian) distributed or not.

See Also

Other datasets: cognition, diet, epilep, hsced, latent_covariates, latent_covariates_long, lifespan, mresp


[Package galamm version 0.2.0 Index]