Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 73160

Fixed effects for ID in a linear regression?

$
0
0
Hi all,

Just a rather simple question that I can't get my head around. I have a dataset in a long format with around 1000 IDs. About 200 of them occur two times (the collection of the data was over two years), while the rest are only included once. I want to make a linear regression (not a panel regression), but how should I control for the recurring IDs? Should I include fixed effect for ID, or is it better to include fixed effect for year?

Best,
Marcus

Viewing all articles
Browse latest Browse all 73160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>