1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
\name{myRegData}
\alias{myRegData}
\docType{data}
\title{
Example regression data with correlated predictors
}
\description{
Data set used in some of OpenMx's examples.
}
\usage{data("myRegData")}
\format{
A data frame with 100 observations on the following variables.
\describe{
\item{\code{w}}{Predictor variable}
\item{\code{x}}{Predictor variable}
\item{\code{y}}{Predictor variable}
\item{\code{z}}{Outcome variable}
}
}
\details{
w, x, and y are predictors of z. x and y are correlated.
}
\source{
Simulated.
}
\references{
The OpenMx User's guide can be found at \url{https://openmx.ssri.psu.edu/documentation/}.
}
\examples{
data(myRegData)
summary(lm(z ~ ., data=myRegData))
}
\keyword{datasets}
|