Description Usage Arguments Details Value Examples
Testing interface to limit_sim_OLS_IV class.
1 | OLSvsIV_limit_sim(tau, pi_sq, n_sim = 10000L)
|
tau |
Controls degree of endogeneity of OLS. |
pi_sq |
First-stage R-squared (strengh of instruments). |
n_sim |
Number of simulation draws. |
This is a testing interface to the C++ class that is used to draw from the limit experiment in the OLS versus TSLS simulation experiment from section 5.1 of the paper.
List of draws from the limit experiment for OLS, TSLS and the sample estimator of tau, as well as the mean vector and covariance matrix used in the simulation.
1 2 | foo <- OLSvsIV_limit_sim(5, 0.1)
cov(data.frame(ols = foo$ols, tsls = foo$tsls, tauhat = foo$tauhat))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.