I am employing the synthetic control method to establish the effect on labor supply of an intervention on a community. My comparison unit is a synthesize control unit and is created using the synth command. For robustness I am running this analysis on a couple different dimensions of employment (unemployment claims rate, employment level) so I am performing the analysis on a few different data sets. My problem is in establishing my data as a panel. I understand what the problem is, but I do not know how to fix it.
When I attempt xtset I get the error message:
. xtset county date
repeated time values within panel
r(451);
and it makes sense that I get this error message, but how do I rectify this in my dataset? Each county and date has several observations.
This is a general question and am hoping to get an answer that will help me understand the intuition behind xtset. Attached is a capture of my dataset. My data spans January 2018-September 2020 and has observations for every industry and every county in the state of Alaska. Thank you for any help, I am sure my professor is tired of my emails.
Array
Related Posts with Establishing my data as a panel
multicollinearity check for logistic regression including binary and categorical variablesHey everyone, i have to analyse panel data for my thesis. I use Stata version 15.1. I chose the log…
Fixed effect or first differencegen gr_rate = D.lnuclms reg lnunclms ez y1982-y1988 Given this model, either the within transformati…
Removing middle of a string between certain charactersHello Statalist, I have a string variable which is interspersed with HTML tags (e.g. "<br>" o…
Reshape data to long - no stub, time in long formatDear all, I have a dataset in a bit oddly shaped. The time (the data is hourly for 30 years) is alr…
-margins- . *(not estimable)Hi folks, I could not get outputs after -margins. Following are estimations followed by -margins- o…
Subscribe to:
Post Comments (Atom)
0 Response to Establishing my data as a panel
Post a Comment