Hi folks,
I'm looking to see how employment specialisation effects national GVA. I've 35 different groups and rather than running 35 different regressions I was hoping to use a continuous method.
I have my data set up as panel data, with id 1=Aerospace Industry 2=Pharma Industry and so on.
Is anyone aware of a command in STATA which would allow me to run a bivariate regression for each of these panels?
Originally I tried,
However, this code doesn't seem to work. Does anyone have any alternatives, please?
Kind regards,
Sean
I'm looking to see how employment specialisation effects national GVA. I've 35 different groups and rather than running 35 different regressions I was hoping to use a continuous method.
I have my data set up as panel data, with id 1=Aerospace Industry 2=Pharma Industry and so on.
Is anyone aware of a command in STATA which would allow me to run a bivariate regression for each of these panels?
Originally I tried,
Code:
forvalues I=1(1)35{ regress GVA Employment Spec if id=`i' {
Kind regards,
Sean
Comment