Sebastian Tello
  • Home
  • CV
  • Contact
  • Research
  • Resources
  • RMDA
  • APP
InstagramBluesky
☝🏽

Some Tips

  1. Create a variable that takes the value of 1 if tn and 0 if a southern state
    1. Here is a list of codes of states to FIPS codes. https://transition.fcc.gov/oet/info/maps/census/fips/fips.txt
  2. Many ways of creating the graph, but using collapse may be the easiest way when using BRFSS. In other cases you won’t need to use collapse
  3. Pay attention to the labels, legends, axis-titles of the sample graph
  4. If you want to add vertical lines to identify the timing of the reform, you can do so through the option xline, for example xline(2005) while using the twoway graph command
  5. If you want to account for weights you have to put [aw=_finalwt] at some point of your command. For example, in the collapse command it would be like this
  6. collapse (mean) var1 var2 [aw=_finalwt], by(var3 var4)

    In a regression

    reg y x [aw=_finalwt]