afghan | Burde and Linden (2013, AEJ Applied) Dataset |
b_functionA3 | B function from Proposition A3 |
candidate1 | Evaluates the corners given user bounds. Vectorized wrt... |
candidate2 | Evaluates the edge where k is on the boundary. Vectorized wrt... |
candidate3 | Evaluates the edge where r_TstarU is on the boundary. |
collapse_3d_array | Collapse 3-d array to matrix |
colonial | Acemoglu, Johnson, and Robinson (2001) Dataset |
draw_bounds | Computes bounds for simulated data |
draw_observables | Simulates different data draws |
draw_sigma_jeffreys | Draws covariance matrix using the Jeffrey's Prior |
format_est | Creates LaTeX code for parameter estimates |
format_HPDI | Creates LaTeX code for the HPDI |
format_se | Creates LaTeX code for the standard error |
get_alpha_bounds | Computes a0 and a1 bounds |
get_beta | Solves for beta |
get_beta_bounds_binary | Returns beta bounds in binary case using grid search |
get_beta_bounds_binary_post | Generates beta bounds off of beta draws |
get_bounds_unrest | Wrapper function combines all unrestricted bounds together.... |
getCoverage | Computes coverage of list of intervals |
get_estimates | Computes OLS and IV estimates |
getInterval | Generates smallest covering interval |
get_k_bounds_unrest | Given observables from the data, generates unrestricted... |
get_L | Computes L, lower bound for kappa_tilde in paper |
get_M | Solves for the magnification factor |
get_new_draws | Computes beliefs that support valid instrument |
get_observables | Given data and function specification, returns the relevant... |
get_psi_lower | Computes the lower bound of psi for binary data |
get_psi_upper | Computes the upper bound of psi for binary data |
get_p_valid | Compute the share of draws that could contain a valid... |
get_r_TstarU_bounds_unrest | Given observables from the data, generates the unrestricted... |
get_r_uz | Solves for r_uz given observables, r_TstarU, and kappa |
get_r_uz_bounds | Evaluates r_uz bounds given user restrictions on r_TstarU and... |
get_r_uz_bounds_unrest | Given observables from the data, generates the unrestricted... |
get_s_u | Solves for the variance of the error term u |
g_functionA2 | G function from Proposition A.2 |
makeExample | Generates table of parameter estimates given user... |
make_I | Takes the OLS and IV estimates and converts it to a row of... |
make_II_III | Takes frequentist or Bayesian simulations of beta and... |
makeTable | Generates table of parameter estimates given user... |
make_tex_row | Makes LaTeX code to make a row of a table and shift by some... |
map2color | Generates a custom color palette given a vector of numbers |
myformat | Rounds x to two decimal places |
plot_3d_beta | Plot ivdoctr Restrictions |
rect_points | Construct vectors of points that outline a rectangle. |
rinvwish | Simulate draws from the inverse Wishart distribution |
toList | Convert 3-d array to list of matrixes |
weber | Becker and Woessmann (2009) Dataset |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.