Page 1 of 1

allowing for individual coefficients on panel data

Posted: Thu Feb 07, 2019 5:08 am
by Frdmn
Hello,

I was wondering if there was a way of estimating using OLS on panel data with coefficient specific to each panel individual (instead of computing by hand an OLS for all panel individuals, just using the panel nature of data to speed things up).


Thanks,

Frdmn

Re: allowing for individual coefficients on panel data

Posted: Thu Feb 07, 2019 8:31 am
by EViews Gareth
Two options:
1) Convert your panel to a pool and use pool estimation, which does allow for individual coefficients.
2) Use @expand to generate the cross-section interaction terms yourself: y c @expand(@crossid)*x

Re: allowing for individual coefficients on panel data

Posted: Thu Feb 07, 2019 9:23 am
by Frdmn
Amazing! :D thanks Gareth, I like the 2nd way of doing, could I use another thing than @crossid ? for example if ids (Brazil, Peru..) are countries and I have another panel time serie where I have the region ('Latin America" for instance) for each country, can I have a coefficient per region?

Re: allowing for individual coefficients on panel data

Posted: Thu Feb 07, 2019 10:01 am
by EViews Gareth
Sure