A dataset with one endogenous, discrete regressor used for exemplifying the use of the Latent Instrumental Variable function
A data frame with 2500 observations on the following 3 variables.
a numeric vector representing the dependent variable.
a numeric vector representing a discrete and endogenous regressor.
a numeric vector representing the discrete, latent IV used to build P.
The dataset was modeled according to the following equations:
P = g0 * Z + nu
y = b0 + a1 * P + epsilon
g0 = 2,
b0 = 3 and
a1 = -1.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.