2020-02-18
In which I express some uncertainty about the 1912 definition of a child
This example estimates my pooled model of NFL field goal attempts using maximum likelihood and grid search
This was originally part of a lesson on optimization techniques in ECON5820 at UToledo.
A Bayesian estimation implemented in Stan
Solves for the logit quantal response equilibrium of game 1 studied in: Selten, Reinhard, and Thorsten Chmura. "Stationary concepts for experimental 2x2-games." American Economic Review 98, no. 3 (2008): 938-66.
Solves for the logit quantal response equilibrium discussed in:
Goeree, Jacob K., Charles A. Holt, and Angela M. Smith. "An experimental examination of the volunteer's dilemma." Games and Economic Behavior 102 (2017): 303-315.
See their Equation 5.
Stata code here
What are the consequences of exogenous and endogenous attrition in RCTs?
Spoilers:
Stata code here
This example follows Stata Exercise #2 from the Instrumental Variables chapter of Scott Cunningham's Causal Inference: The Mixtape
True value = 1
Z1: satisfies inclusion and exclusion condition
Z2-5: Fails inclusion, satisfies exclusion
Z6: Fails exclusion, satisfies inclusion
a) ivregress 2sls Y (X = Z1)
b) ivregress 2sls Y (X = Z1 Z2 Z3 Z4 Z5)
c) ivregress 2sls Y (X = Z1 Z6)
d) ivregress 2sls Y (X = Z1 Z2 Z3 Z4 Z5 Z6)