Page 1 of 1

Panel Data How to analyze one specific cross section?

Posted: Sun Aug 21, 2016 12:50 pm
by shamier
Hello,

I have panel data from 1992-2010 for 51 US states and the District of Columbia. I am interested in running my model on one specific state for a. the entire time period and b.for one specific year ( ie. i would like to run my model on NY, in 1993). Does anyone know how to do this?

Thanks for your help.

Re: Panel Data How to analyze one specific cross section?

Posted: Sun Aug 21, 2016 1:36 pm
by startz

Code: Select all

smpl if state = "District of Columbia" smpl 1993 1993 if state = "New York"
although the latter would appear to have only one observation.

Re: Panel Data How to analyze one specific cross section?

Posted: Tue Aug 23, 2016 7:36 am
by shamier
Thanks so much for your help!