Download
slide1 n.
Skip this Video
Loading SlideShow in 5 Seconds..
sort state year gen ravgprs = avgprs/cpi PowerPoint Presentation
Download Presentation
sort state year gen ravgprs = avgprs/cpi

sort state year gen ravgprs = avgprs/cpi

213 Vues Download Presentation
Télécharger la présentation

sort state year gen ravgprs = avgprs/cpi

- - - - - - - - - - - - - - - - - - - - - - - - - - - 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