1 / 8

Panel Data Analysis

Panel Data Analysis. INTRO. Panel Data is where you observe behavior of entities across time. Allows to control for unobservable variables that change over time but not entity Allows to control for unobservable variables across entities xtset entity time . xtline fatalityrate , ( ov ).

lorand
Download Presentation

Panel Data Analysis

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. Panel Data Analysis

  2. INTRO • Panel Data is where you observe behavior of entities across time. • Allows to control for unobservable variables that change over time but not entity • Allows to control for unobservable variables across entities • xtsetentity time

  3. xtlinefatalityrate, (ov)

  4. Fixed Effect Models

  5. Eq 2 Dummy Variables xi: regfatalityratesb_useagei.fipsi.year predict yhat separate yhat, by(fips) separate yhat, by(year) twoway connected yhat1-yhat56 sb_useage|| lfitfatalityratesb_useage, clwidth(thick) clcolor(black) twoway connected yhat1983-yhat1997 sb_useage|| lfitfatalityratesb_useage, clwidth(thick) clcolor(black)

  6. Eq 1 n entity-specific intercepts aregfatalityratesb_useage, absorb(state) aregfatalityratesb_useage year2…year10, absorb(state)

  7. Eq 1 n entity-specific intercepts xtsetfips year xtregfatalityratesb_useage, fe

  8. xtregoptions fe: fixed effects Explores relationship between estimations and outcomes within an entity. Assumes each entity has own characteristics that may influence yhat to control for. re: random effects Variation across entities is assumed to be random and uncorrelated with the independent variables included in the model be: between effects pa: population-average

More Related