OpenMx (version 2.17.3)

myRegData: Example regression data with correlated predictors

Description

Data set used in some of OpenMx's examples.

Usage

data("myRegData")

Arguments

Format

A data frame with 100 observations on the following variables.

w

Predictor variable

x

Predictor variable

y

Predictor variable

z

Outcome variable

Details

w, x, and y are predictors of z. x and y are correlated.

References

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

Examples

Run this code
# NOT RUN {
data(myRegData)
summary(lm(z ~ ., data=myRegData))

# }

Run the code above in your browser using DataLab