A dataset with an intercept, two exogenous regressors and one endogenous, discrete variable, used for exemplifying the use of copulaCorrection function. The true parameter values are: b0 = 2, b1 = 1.5, b2 = -3, and the coefficient of the endogenous variable is set to a1 = -1. The correlation between the endogenous regressor P and the error term is 0.33. P has a Poisson distribution with lambda = 5.
data("dataCopDis")A data frame with 2500 observations on the following 5 variables.
ya numeric vector representing the dependent variable.
Ia numeric vector representing the intercept.
X1a numeric vector, normally distributed and exogenous.
X2a numeric vector, normally distributed and exogenous.
Pa numeric vector, discrete and endogenous.