1 / 18

sort state year gen ravgprs = avgprs/cpi

sort state year gen ravgprs = avgprs/cpi label var ravgpr "real average price during fiscal year, including sales taxes". label. gen rtax = tax/cpi label var rtax "real average Cig specifice tax during fiscal year" gen rtaxs = taxs/cpi

khoi
Télécharger la présentation

sort state year gen ravgprs = avgprs/cpi

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. sort state year • gen ravgprs = avgprs/cpi • label var ravgpr "real average price during fiscal year, including sales taxes"

  2. label

  3. gen rtax = tax/cpi • label var rtax "real average Cig specifice tax during fiscal year" • gen rtaxs = taxs/cpi • label var rtaxs "real average total tax during fiscal year,including sales taxes" • gen rtaxso = rtaxs-rtax • label var rtaxso "real average sales tax per pack during fiscal year" • gen lpackpc = log(packpc) • gen lravgprs = log(ravgprs)

  4. Real Percapita State Income • gen perinc = income/(pop*cpi) • gen lperinc = log(perinc) encode-Encode string into numeric • encode state, gen(snum)

  5. 10-year differences • gen ltpackpc = log(packpc/packpc[_n-1]) • gen ltavgprs = log(ravgprs/ravgprs[_n-1]) • gen ltperinc = log(perinc/perinc[_n-1]) • gen dtrtaxs = rtaxs-rtaxs[_n-1] • gen dtrtax = rtax-rtax[_n-1] • gen dtrtaxso = rtaxso-rtaxso[_n-1] • keep if year==1995

  6. OLS and IV estimation - cross section -- 1995 • reg lravgprs rtaxso, r

  7. reg lpackpc lravgprs, r

  8. ivreg lpackpc (lravgprs = rtaxso), r

  9. ivreg lpackpc (lravgprs = rtaxso) lperinc, r • ivreg lpackpc (lravgprs = rtaxso rtaxs) lperinc, r

  10. OLS and IV estimation - Differences 1995-1985 • reg ltpackpc ltavgprs ltperinc,r

  11. ivreg ltpackpc (ltavgprs = dtrtaxso) ltperinc, r

  12. reg ltavgprs dtrtaxso ltperinc, r • test dtrtaxso

  13. ivreg ltpackpc (ltavgprs = dtrtax) ltperinc, r

  14. reg ltavgprs dtrtax ltperinc, r • test dtrtax

  15. ivreg ltpackpc (ltavgprs = dtrtax dtrtaxso) ltperinc, r • predict e, resid

  16. reg e dtrtaxso dtrtax ltperinc • drop e • qui test dtrtaxso dtrtax • dis "---- OverID stat: " r(df)*r(F) _skip(10) "p-value: " chiprob(r(df)-1,r(df)*r(F)) " -----"

  17. reg ltavgprs dtrtax dtrtaxso ltperinc, r • test dtrtax dtrtaxso

More Related