| tpcExample | R Documentation |
A small simulated data example intended to showcase the TPC algorithm. Note that the variable name prefixes defines with period they are related to ("child", "youth" or "oldage").
tpcExample
A data.frame with 200 rows and 6 variables.
Structural equation: X1 := \epsilon1 with \epsilon1 ~ Unif{0,1}
Structural equation: X2 := 2 * X1 + \epsilon2 with \epsilon2 ~ N(0,1)
Structural equation: X3 := \epsilon3 with \epsilon3 ~ Unif{0, 1}
Structural equation: X4 := X2 + \epsilon4 with \epsilon4 ~ N(0,1)
Structural equation: X5 := X3^2 + X3 - 3 * X2 + \epsilon5 with \epsilon5 ~ N(0,1)
Structural equation: X6 := X4^3 + X4^2 + 2 * X5 + \epsilon6 with \epsilon6 ~ N(0,1)
Petersen, AH; Osler, M and Ekstrøm, CT (2021): Data-Driven Model Building for Life-Course Epidemiology, American Journal of Epidemiology.
data(tpcExample)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.