Learn R Programming

REndo (version 2.4.10)

dataLatentIV: Simulated Dataset with One Endogenous Continuous Regressor

Description

A dataset with one endogenous regressor P, an instrument Z used to build P, an intercept and a dependent variable, y. The true parameter values for the coefficients are: b0 = 3 for the intercept and a1 = -1 for P.

Usage

data("dataLatentIV")

Arguments

Format

A data frame with 2500 observations on 3 variables:

y

a numeric vector representing the dependent variable.

P

a numeric vector representing the endogenous variable.

Z

a numeric vector used in the construction of the endogenous variable, P.