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
Issues on replicating contrasts with margins commandHi all, I've read the manual and Richard's guide about margins command, but could not understand so…
Commands to summarize a dataset (i.e., alternatives to codebook, describe, and sum, or ones that combine several of these outputs)Hi, I once saw either a Stata conference presentation or a Stata Journal article that had a series o…
cmp procedure to fit a model with sample selection and non-random treatment assignmentHi all, I just came across a STATA procedure called “cmp”. I am wondering if the “cmp” procedure c…
How to create a new variable based on household compositionHello, For my research, I have a demographic survey with different households and different observa…
Industry dummy is omitted in probit regressionDear members, This is an example from my data. I have firms and some information about them. The la…
Subscribe to:
Post Comments (Atom)
0 Response to Randomly Assigning Treatment
Post a Comment