xstudy {aMNLFA} | R Documentation |
Simulated cross-study data
Description
Data are simulated as part of a larger study (Curran et al., 2016; Curran et al., under review). Meant to simulate a dataset pooled across two studies, with 12 indicators and 3 moderators (age, gender, and study). Impact and DIF exist on the basis of these moderators.
Usage
data(xstudy)
Format
A data frame with 500 rows and 25 columns. The 25 variables are:
- ID
Unique identifier
- AGE
Age in years, centered around age 13
- GENDER
Effect-coded gender
- STUDY
Effect-coded study membership
- STUDYAGE
Interaction between age and study
- TRUEETA
True score on latent variable for each subject – not used in analysis
- STUDYETA
Interaction between study and score – not used in analysis
- ZETA
Deviation score – not used in analysis
- W
External covariate for original simulation – not used in analysis
- Z1
External outcome for original simulation – not used in analysis
- Z2
External outcome for original simulation – not used in analysis
- Z3
External outcome for original simulation – not used in analysis
- Z4
External outcome for original simulation – not used in analysis
- BIN_1
Binary item 1
- BIN_2
Binary item 2
- BIN_3
Binary item 3
- BIN_4
Binary item 4
- BIN_5
Binary item 5
- BIN_6
Binary item 6
- BIN_7
Binary item 7
- BIN_8
Binary item 8
- BIN_9
Binary item 9
- BIN_10
Binary item 10
- BIN_11
Binary item 11
- BIN_12
Binary item 12
Source
Curran et al., 2016 (PubMed)
References
Curran et al., 2016 Structural Equation Modeling 23(6), 827-844. (PubMed)