
Simulated Dataset with Lifespan Trajectories of Three Cognitive Domains
Source:R/data.R
lifespan.Rd
This dataset is simulated based on the data used in Section 4.1 of Sørensen et al. (2023) .
Format
lifespan
A data frame with 54,457 rows and 7 columns:
- id
Subject ID.
- domain
Cognitive domain being measured. One of
"epmem"
for episodic memory,"wmem"
for working memory and"execfun"
for executive function/speed.- timepoint
Integer indicating the timepoint number.
- age
Age of participant at the timepoint.
- test
The particular test at this observation.
- y
Response. For
"epmem"
and"wmem"
this is the number of successes in 16 trials. For"execfun"
it is the time in seconds to complete the task.- retest
Integer indicating whether the participant has taken the test at a previous timepoint.
- domainepmem
Dummy variable for
domain=="epmem"
.- domainwmem
Dummy variable for
domain=="wmem"
.- domainexecfun
Dummy variable for
domain=="execfun"
.
References
Sørensen Ø, Fjell AM, Walhovd KB (2023). “Longitudinal Modeling of Age-Dependent Latent Traits with Generalized Additive Latent and Mixed Models.” Psychometrika, 88(2), 456–486. ISSN 1860-0980, doi:10.1007/s11336-023-09910-z .
See also
Other datasets:
cognition
,
diet
,
epilep
,
hsced
,
latent_covariates
,
latent_covariates_long
,
mresp
,
mresp_hsced