Get 50% off unlimited learning
Buy Now
Rdocumentation
powered by
Learn R Programming
REndo (version 1.2)
dataLatentIV:
Description
A dataset with one endogenous, discrete regressor used for exemplifying the use of the Latent Instrumental Variable function
latentIV
.
Usage
data("dataLatentIV")
Arguments
Format
A data frame with 2500 observations on the following 3 variables.
y
a numeric vector representing the dependent variable.
P
a numeric vector representing a discrete and endogenous regressor.
Z
a numeric vector representing the discrete, latent IV used to build P.
Details
The dataset was modeled according to the following equations:
P
=
g
0
∗
Z
+
n
u
y
=
b
0
+
a
1
∗
P
+
e
p
s
i
l
o
n
where
g0 = 2
,
b0 = 3
and
a1 = -1
.
See Also
internalIV