Hello dear community,
I am currently analyzing a dataset to find out whether treatment effects differ between subgroups.
I have panel data (or at least i think i have) following individuals that gave answers to surveys at different points in time. The sample is unbalanced. I have answers from different individuals at different points in time. There are two treatments and a control group. Each individual is either in one of the treatments or the control group. The individuals can work in four different sectors (sec0_b sec1_b sec2_b sec3_b).
I want to find out if the two treatments have a significant impact on tprofits for each of the business sectors. I would also like to control for other factors such as secondaryedu, I_emp, tprofits_b and logage.
I did not find any evidence which regression to run in theory
I then ran these different regression but i was not able to interpret the differences
Pooled OLS: reg tprofits i.treat i.wave $controls if wave>=0 & wave<=7 & sec0_b==1
Fixed effects: xtreg tprofits i.treat i.wave if wave>=0 & wave<=7 & sec0_b==1, fe cluster(id)
Random effects: xtreg tprofits i.treat i.wave $controls if wave>=0 & wave<=7 & sec0_b==1, re cluster(id)
I am relatively new to STATA and statistics and have learned most of my knowledge "on the go" which is why I am sure that I have missed something and would therefore appreciate any hints that lead me towards the most unbiased results.
Thanks in advance
Related Posts with Panel regression - subgroup analysis
Rearranging individual dates within a varlistHi, I'm extremely new to Stata (5 weeks) and am stuck with something my lecturer has asked us to do.…
what should we do if after first differences the non-stationary of panel data still remained?hello everyone, I use a panel data and do after running the regression I get the residual and to fol…
Request syntax assistance with v17 [table] command to get table of frequency in descending frequency orderI apologize for even asking, assuming there is something very simple I simply cannot find. As [tabl…
IV regressions with interaction termsDear Stata community, I'd like to run an IV regression with interaction terms between the endogenou…
Referring to a certain value when generating a new variableHello, I want to refer to a certain value when generating a new variable. My panel dataset looks a…
Subscribe to:
Post Comments (Atom)
0 Response to Panel regression - subgroup analysis
Post a Comment