mempm25 | R Documentation |
Simulated data for repeated measures of working memory test scores and
residential PM_{2.5}
levels in 2,221 children.
mempm25
A data frame with 8,884 rows and 17 variables:
individual identifier
test session identifier
chool identifier
sex of individual
age of individual, centered at the mean, in years
maternal education
residential neighborhood socioeconomic status indicator
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during pregnancy
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 1
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 2
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 3
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 4
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 5
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 6
estimated average concentration of PM_{2.5}
(\mu
g/m^3
) at residence address during year 7
weight of the observation
working memory test score
This is a synthetic dataset generated with the synthpop
package, based on
a cohort study of children examining the association between PM_{2.5}
concentrations during the prenatal period and the first seven postnatal years on
cognitive tests taken at age 8 (see ‘References’).
See ‘References’.
Rivas I et al. Association between Early Life Exposure to Air Pollution and Working Memory and Attention. Environmental Health Perspectives. 2019;127(5):57002. doi: 10.1289/EHP3169.
# correlation of air pollution levels between two different periods:
pm25yearly <- mempm25[, grep("pm25", names(mempm25))]
print(cor(pm25yearly, use = "complete.obs"), digits = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.