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
how can I create all pairwise combination of many variables?Dear all, I have this data code: clear input str6(var1 var2 var3 var4 var5) "A01B1" "A01C05" "A01…
Stata 16 taking up entire physical memory of a computerI am using Stata 16 MP on a new iMac with macOS Majove (10.14) and noticed in the Activity Monitor (…
Key Variables - Different Lengths: Need to Correct or RecreateGood evening - I am appending / pooling recent surveys from a number of countries. I realized that t…
Help with CorrelationHello I have been trying to get the Descriptive Statistics and Correlation Table for my data set pan…
how to compute marginal effects for a variable with its quadratic termHi stata experts, I'm having a problem with the computation of the composite marginal effects of a …
Subscribe to:
Post Comments (Atom)
0 Response to Panel regression - subgroup analysis
Post a Comment