Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

iqdat

Twin data: IQ measured longitudinally across 4 ages.


Description

Measures of IQ across four ages in 261 pairs of identical twins and 301 pairs of fraternal (DZ) twins. (see details). It is used as data for the [umxSimplex()] examples.

Usage

data(iqdat)

Format

A data frame with 562 rows (twin families). Nine measures on each twin.

Details

  • zygosity Zygosity (MZ or DZ)

  • IQ_age1_T1 T1 IQ measured at age 1

  • IQ_age2_T1 T1 IQ measured at age 2

  • IQ_age3_T1 T1 IQ measured at age 3

  • IQ_age4_T1 T1 IQ measured at age 4

  • IQ_age1_T2 T2 IQ measured at age 1

  • IQ_age2_T2 T2 IQ measured at age 2

  • IQ_age3_T2 T2 IQ measured at age 3

  • IQ_age4_T2 T2 IQ measured at age 4

References

Boomsma, D. I., Martin, N. G., & Molenaar, P. C. (1989). Factor and simplex models for repeated measures: application to two psychomotor measures of alcohol sensitivity in twins. *Behavior Genetics*, **19**, 79-96. Retrieved from <https://www.ncbi.nlm.nih.gov/pubmed/2712815>

See Also

[umxSimplex()]

Examples

data(iqdat)
str(iqdat)
par(mfrow = c(1, 3))  # 1 rows and 3 columns
plot(IQ_age4_T1 ~ IQ_age4_T2, ylim = c(50, 150), data = subset(iqdat, zygosity == "MZ"))
plot(IQ_age4_T1 ~ IQ_age4_T2, ylim = c(50, 150), data = subset(iqdat, zygosity == "DZ"))
plot(IQ_age1_T1 ~ IQ_age4_T2, data = subset(iqdat, zygosity == "MZ"))
par(mfrow = c(1, 1))  # back to as it was

umx

Structural Equation Modeling and Twin Modeling in R

v4.10.10
GPL-3
Authors
Timothy C. Bates [aut, cre] (<https://orcid.org/0000-0002-1153-9007>), Gillespie Nathan [wit], Michael Zakharin [wit], Brenton Wiernik [ctb], Joshua N. Pritikin [ctb], Michael C. Neale [ctb], Hermine Maes [ctb]
Initial release
2021-11-30

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.