Learn R Programming

REndo (version 1.3)

dataCopDis: Simulated Dataset

Description

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.

Usage

data("dataCopDis")

Arguments

Format

A data frame with 2500 observations on the following 5 variables.

y

a numeric vector representing the dependent variable.

I

a numeric vector representing the intercept.

X1

a numeric vector, normally distributed and exogenous.

X2

a numeric vector, normally distributed and exogenous.

P

a numeric vector, discrete and endogenous.