Hi,
I have data in individual level but want to run a regression to test for the correlation between variables at a higher aggregation level (county). Both the dependent and independent (and controls) are at the county level. Hence all individuals within a county are identical. My first solution is to only keep one observation within each county to use in the regression but I've noticed in other studies that they keep the full data-set and instead run the regression with clustered errors at the county level. Is this a correct way to do it? and if so, what are the pors and cons? Thankful for any help on the issue!
Related Posts with panel data regression at higher level of aggregation
Unknown correlation between regressorsDear Statalist, I am grateful for any help on the following question: I have several datasets, eac…
Unable to open asdoc tables in wordHello people! As the title already states I cannot open asdoc tables anymore in word. Instead, I get…
Plotting non-linear curve when using fixed effect controlsHi Stata users, During my undergraduate dissertation I have been learning how to use Stata. This re…
stpm2 tvc df graphGood morning. I am a researcher unfamiliar with stpm2. I have some questions regarding stpm2 executi…
Extract date from a string variable containing other textHello Experts, I have poorly entered data where date is embedded within text (var1). I need to extr…
Subscribe to:
Post Comments (Atom)
0 Response to panel data regression at higher level of aggregation
Post a Comment