Page 1 of 1

changing frequency of panel data

Posted: Fri Jul 05, 2019 6:16 am
by wafa
hi evreyone, i am working on panal data (annuel frequency : from1984 to 2007). I want to change the frequency of data: i like to consider, not a panel at annual frequency, but rather a periodic panel of 3-years.

Can you please help me! thank you

Re: changing frequency of panel data

Posted: Fri Jul 05, 2019 1:07 pm
by TomDoan
No change to the data, just every three years rather than every year? Could you just use a SMPL option to include only every three entries?

print(smpl=%clock(%period(t),3)==1)

will do every third entry starting with the first. (Change the ==1 to ==2 or ==3 to start the sequencing at the second or third entry).