I have person-year level data, and I am utilizing DiD that exploits state-level shocks. Each person is assigned to a unique state based on location. I have 10 treated states. While the primary analysis is quite easy to code, I need help with a desire robustness check. I want to write some sort of loop to run placebo (if that's the right term here) tests with treatment assigned to states that should be control states. In other words, I want the placebo analysis to be repeated with the 40 control states and several iterations of assignment among those 40 (can be 10 for each iteration if that is simpler). I have found several topics that seemed adjacent to this, but I could not make sense of using them in my setting. Please let me know if you need any more information.
Justin
Related Posts with Randomly Assigning Treatment
Creating Latex Table with frmttableDear Stata-Community, I am using the actual version of Stata and want to present my results with ta…
Heckman output does not show with Oaxaca-Blinder DecompositionWhen using the Heckman selection model with the O-B decomposition for whether an individual is disab…
Outreg2 specific tables - and not the last one per defaultHi, We wunder if we can "outreg" results from a regression, where we "bysort" per country, and ther…
How to deal with the "(texdoc do not running; nothing to do)" error in case of HTML TablesHi Guys, Hereby I would like to ask a question regarding the (texdoc do not running; nothing to do)…
Create a pivot table and then write to excelI'm pretty sure this should be easy, but...... I have created a pivot table using the table functio…
Subscribe to:
Post Comments (Atom)
0 Response to Randomly Assigning Treatment
Post a Comment