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
Regression Discontinuity Design for change in speed limitsHey! I`m trying to get graphs for my panel data. I`m looking to graph with a regression discontinui…
Display or Show joint test after estimating REGHDFEHello guys, I run the REGHDFE command to estimating this: reghdfe ly $quatre $cinq, a (cmap dveduc3…
Calculating ratio with confidence intervalDear All, Do you perhaps have any advice on how to calculate the ratio with 95% confidence interval…
<istmt>: 3301 subscript invalid r(3301) when rdplot in nested loopHi Community, I'm writing a nested Loop with Stata, the Variable Cur is a numeric with label, and I …
Post estimation - SNEOPDear stata users, I have been trying to replicate Stewart, M.B., 2004. Semi-nonparametric estimatio…
Subscribe to:
Post Comments (Atom)
0 Response to Panel regression - subgroup analysis
Post a Comment