Hello all.
This is my first post in Statalist, and sorry if I write something wrong.
I have data from 2005-2013, from before and after the municipal amalgamation in Denmark, as occured in 2007.
I want to find out, whether the municipal amalgamation had an effect on municipal satisfaction on the service delivered.
I've appended 3 datasets to 1, and i'm trying to do the didregress, and it says that the threatment variable, sammenlagtekommuner, was omitted because of collinearity.
Sammenlagtekommuner is a dummyvariable, where 1=amalgamated municipals and 0=non-amalgamated municipals.
Service = municipal satisfaction on the service delivered
Kommuner = municipalcodes
År= year
Thanks in regards, and for clarity, here is the do-file and the dataset. If anything needed for answering the question, please let me know.
This is my first post in Statalist, and sorry if I write something wrong.
I have data from 2005-2013, from before and after the municipal amalgamation in Denmark, as occured in 2007.
I want to find out, whether the municipal amalgamation had an effect on municipal satisfaction on the service delivered.
I've appended 3 datasets to 1, and i'm trying to do the didregress, and it says that the threatment variable, sammenlagtekommuner, was omitted because of collinearity.
Sammenlagtekommuner is a dummyvariable, where 1=amalgamated municipals and 0=non-amalgamated municipals.
Service = municipal satisfaction on the service delivered
Kommuner = municipalcodes
År= year
Code:
clear input float service int sammenlagtekommuner float(kommuner år) 2.875 0 . 2005 4 0 . 2005 2.75 0 . 2005 2.5 0 . 2005 2.75 0 . 2005 3.5 0 . 2005 3.875 0 . 2005 3.375 0 . 2005 5.25 0 . 2005 3 0 . 2005 3 0 . 2005 4.25 0 . 2005 3.125 0 . 2005 3.875 0 . 2005 2.375 0 . 2005 2.5 0 . 2005 4.25 0 . 2005 3.75 0 . 2005 3.375 0 . 2005 4.25 0 . 2005 2.375 0 . 2005 3.375 0 . 2005 4.375 0 . 2005 3 0 . 2005 3.375 0 . 2005 2.75 0 . 2005 3.875 0 . 2005 4.125 0 . 2005 2 0 . 2005 1.875 0 . 2005 2.5 0 . 2005 4 0 . 2005 2.875 0 . 2005 3.5 0 . 2005 3.625 0 . 2005 2.25 0 . 2005 2.75 0 . 2005 2.25 0 . 2005 2.875 0 . 2005 3.625 0 . 2005 3.875 0 . 2005 3.875 0 . 2005 3.125 0 . 2005 3.25 0 . 2005 3 0 . 2005 3.625 0 . 2005 2.875 0 . 2005 3.375 0 . 2005 3.125 0 . 2005 4.25 0 . 2005 3.375 0 . 2005 2.625 0 . 2005 1 0 . 2005 3.5 0 . 2005 2.5 0 . 2005 1.5 0 . 2005 4.125 0 . 2005 3.625 0 . 2005 3.125 0 . 2005 4.375 0 . 2005 3 0 . 2005 2.625 0 . 2005 3.25 0 . 2005 3.75 0 . 2005 1.875 0 . 2005 4.75 0 . 2005 4.75 0 . 2005 3.125 0 . 2005 2.125 0 . 2005 2.625 0 . 2005 3.25 0 . 2005 4 0 . 2005 3.875 0 . 2005 4.5 0 . 2005 4.625 0 . 2005 5.125 0 . 2005 4.5 0 . 2005 3.125 0 . 2005 3.25 0 . 2005 2.625 0 . 2005 3.5 0 . 2005 3.375 0 . 2005 2 0 . 2005 4.625 0 . 2005 3.375 0 . 2005 2.875 0 . 2005 3.5 0 . 2005 4.25 0 . 2005 3.25 0 . 2005 2.875 0 . 2005 5.125 0 . 2005 4.5 0 . 2005 2.875 0 . 2005 3 0 . 2005 3.25 0 . 2005 4.375 0 . 2005 1.625 0 . 2005 2.625 0 . 2005 4.375 0 . 2005 2.875 0 . 2005 end label values sammenlagtekommuner sammenlagtekommuner label def sammenlagtekommuner 0 "Ikke-sammenlagte kommuner", modify
Comment