Description Usage Arguments Details Value Examples
Generate data based on angrist1993
1 | angrist(n = 1964, pD = 3)
|
n |
the number of observations |
pD |
the number of endongenous variables |
This function produces as many instrumental variables and endogneous variables as exogenous variables; It generates a subsample of the replication data for The Effect of Veterans Benefits on Education and Earnings(Angrist, 1993); Y corresponds to "lnearn" of the replication data, i.e., the logarithm of the veteran's earning in 1986; X corresponds to "vietnam","age","yrsrv","drafted","officer","curmar"and "nonwhite", i.e., control variables capturing the personal charateristics of the veteran; D corresponds to the interactions between "eddif",i.e., schooling increment since entering the military and control variables; Z corresponds to the interactions between "anyva", i.e., whether veteran education benefits were used by the veteran and control variables.
A list containing A list containing dependent variable Y, endogenous variable D, instrumental variable Z, exogenous variable X
1 | angrist(50,3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.