I have a question on panel data and two way fixed effects models:
I have a panel dataset on 267 danish municipalities in the time period 1978-2006, and I have formatted the data "long".
I am trying to run a regression where my dependent variable is an index including three different variables on the municipality's spending and the independent variable is the percentage of each municipality who voted for a right wing party. I want to investigate if the preferences that the citizens express through their voting behavior is listened to by the municipalities - i.e. is the municipalities responsive to their citizens?
I have been told that a two way fixed effects might be the right fit for this kind of data, but I wanted to ask if that is correct? Right now my commands look like this:
xtset muni year
xi: reg index bluevote1 i.muni i.year
I hope you can help!
Best
Karoline
I have a panel dataset on 267 danish municipalities in the time period 1978-2006, and I have formatted the data "long".
I am trying to run a regression where my dependent variable is an index including three different variables on the municipality's spending and the independent variable is the percentage of each municipality who voted for a right wing party. I want to investigate if the preferences that the citizens express through their voting behavior is listened to by the municipalities - i.e. is the municipalities responsive to their citizens?
I have been told that a two way fixed effects might be the right fit for this kind of data, but I wanted to ask if that is correct? Right now my commands look like this:
xtset muni year
xi: reg index bluevote1 i.muni i.year
I hope you can help!
Best
Karoline
Comment