multiData1 {OpenMx}R Documentation

Data for multiple regression

Description

Data set used in some of OpenMx's examples.

Usage

data("multiData1")

Format

A data frame with 500 observations on the following variables.

x1
x2
x3
x4
y

Details

x1-x4 are predictor variables, and y is the outcome.

Source

Simulated.

References

The OpenMx User's guide can be found at https://openmx.ssri.psu.edu/documentation/.

Examples

data(multiData1)
summary(lm(y ~ ., data=multiData1))
#results can be replicated in OpenMx.


[Package OpenMx version 2.21.11 Index]