cog_data {lwc2022} | R Documentation |
Cognition Data
Description
A simulated dataset with cognition test scores, following the same methodology as the Health and Retirement Study (HRS). The dataset includes immediate word recall, delayed word recall, serial subtraction, backwards counting tasks, and mouse click clicking with scores representing cognitive performance on these tests.
Usage
cog_data
Format
A dataframe with 10 rows and 35 variables:
- HHID
Household identifier, a unique 6-digit integer.
- PN
Person number, a unique 1- or 2-digit integer within each household.
- SD182M1
Immediate word recall test score for the first word.
- SD182M2
Immediate word recall test score for the second word.
- SD182M3
Immediate word recall test score for the third word.
- SD182M4
Immediate word recall test score for the fourth word.
- SD182M5
Immediate word recall test score for the fifth word.
- SD182M6
Immediate word recall test score for the sixth word.
- SD182M7
Immediate word recall test score for the seventh word.
- SD182M8
Immediate word recall test score for the eight word.
- SD182M9
Immediate word recall test score for the ninth word.
- SD182M10
Immediate word recall test score for the tenth word.
- SD183M1
Delayed word recall test score for the first word.
- SD183M2
Delayed word recall test score for the second word.
- SD183M3
Delayed word recall test score for the third word.
- SD183M4
Delayed word recall test score for the fourth word.
- SD183M5
Delayed word recall test score for the fifth word.
- SD183M6
Delayed word recall test score for the sixth word.
- SD183M7
Delayed word recall test score for the seventh word.
- SD183M8
Delayed word recall test score for the eight word.
- SD183M9
Delayed word recall test score for the ninth word.
- SD183M10
Delayed word recall test score for the tenth word.
- SD142
Serial subtraction, result of subtracting 7 from 100.
- SD143
Serial subtraction, result of subtracting 7 from the previous number.
- SD144
Serial subtraction, result of subtracting 7 from the previous number.
- SD145
Serial subtraction, result of subtracting 7 from the previous number.
- SD146
Serial subtraction, result of subtracting 7 from the previous number.
- SD124
Backwards counting test, success on the first attempt (1 = success, 0 = fail).
- SD129
Backwards counting test, success on the second attempt (1 = success, 0 = fail).
- SD237WA
Mouse clicking test: accuracy result (first attemp)
- SD237WC
Mouse clicking test: total click count (first attemp)
- SD237WT
Mouse clicking test: total time spent (in seconds; first attempt)
- SD238WA
Mouse clicking test: accuracy result (second attemp)
- SD238WC
Mouse clicking test: total click count (second attemp)
- SD238WT
Mouse clicking test: total time spent (in seconds; second attempt)
Examples
# Load the data
data(cog_data)
# View the first few rows
head(cog_data)