A dataset with two exogenous regressors,
X1,X2, one endogenous, continuous regressor P, and the dependent variable y.
The true parameter values for the coefficients are: b0 = 2, b1 = 1.5,
b2 = 3 and the coefficient of the endogenous regressor, P, is equal to a1 = -1.
data("dataHetIV")A data frame with 2500 observations on 4 variables:
ya numeric vector representing the dependent variable.
X1a numeric vector, normally distributed and exogenous.
X2a numeric vector, normally distributed and exogenous.
Pa numeric vector, continuous and endogenous regressor, normally distributed.