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 sorensenLongitudinalModelingAgeDependent2023;textualgalamm.
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"
.
See also
Other datasets:
cognition
,
diet
,
epilep
,
hsced
,
latent_covariates
,
latent_covariates_long
,
mresp
,
mresp_hsced