Dear Statalist members,
How would be possible to use spxtregress with unbalanced panel data?
I'm currently using a sample of firms for 3 years, with the coordinates for each one, and without assuming a shapefile. However from one year to the other, there are certain firms that enter in the sample, and others that exit. According with STATA 15 material, I should consider the last year matrix since it is assumed that location is the same in both years.
My problem is that imposing a balanced panel of firms that exist in the 3 years lead to a reduction of 20% in my sample, which is in fact relevant.
Thank you in advance.
Related Posts with spxtregress with unbalanced panel data
Reshape error: variable id does not uniquely identify the observationsDear All, I am trying to use the reshape command on the data attached, but I keep receiving this er…
replace the value of variableHi, I am new to Stata. In my case, I have a variable equal to 1, 2,3,4,5 and my task is to make the …
Check whether -moremata- is installedWhen writing .do-files which make use of user written commands, first I check whether these programs…
ARDL and estimating a shock for dummyDear all, I am trying to estimate the effect of an observed trade shock (the entrance of China in W…
egen and mean help neededDear all, I am dealing with a micro data where I have around 100000 observations from 81 cities abou…
Subscribe to:
Post Comments (Atom)
0 Response to spxtregress with unbalanced panel data
Post a Comment