Learn R Programming

OpenMx (version 2.21.13)

multiData1: Data for multiple regression

Description

Data set used in some of OpenMx's examples.

Usage

data("multiData1")

Arguments

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.

References

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

Examples

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

Run the code above in your browser using DataLab