How to do a Fixed-Effects Panel Regression
8 次查看(过去 30 天)
显示 更早的评论
Hi,
I need to do a fixed-effects panel regression in MATLAB. I have 366 market areas and 7 years, and I want to do market and year fixed effects. I have had an econometrics course, but we never did regressions with panel data. I have searched forums, textbooks, web pages, but nothing has worked so far. The simpler (and well-explained), the better, due to my lack of experience.
My data is listed in excel with each market in the first column, listed in 7 rows, and the years listed in the second column beside the markets (2005-2011). I then have 8 variables listed in the 3rd through 11th columns, correlating with the markets and years.
Any help, especially including code, would be wonderful.
Thank you! Amy
0 个评论
回答(1 个)
Silvan
2014-3-30
Hi Amy, I have the exact same problem here and also look through a lot of books, which didn't really help. Did you find out how to solve a regression like this? If you could help me here, that would be awesome! Thank you! Silvan
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Linear Regression 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!