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
Group and label variables (perhaps using -rangejoin-)Hello, my following problem seems to me as being pretty complicated. However, I will try to explain…
Sorted bar graphs by year for multiple variables Code: * Example generated by -dataex-. To install: ssc install dataex clear input str32 country in…
Appropriateness of Fixed Effects when using a dummy that is only time variant for some panel units.I am looking to estimate the impact of the presence of a fiscal council on a country's real growth f…
Problem with specifying a range of year or listing yearsHello, I am quite new to Stata and am trying to analyse some time series data but am having some is…
Average and Median values by groupDear All Will appreciate if you can help me on the following query. The following data shows firms…
Subscribe to:
Post Comments (Atom)
0 Response to Panel regression - subgroup analysis
Post a Comment