Dear all
I was wondering whether it is possible to determine the order of estimates AND lincom output of a regression? Actually, I know this is possible for regression coefficients using the order command. However, I do not know how to do this for the lincom output.
I am estimating the following regression:
reg Cln c.TW#i.Poor c.TS#i.Poor c.TK#i.Poor c.TR#i.Poor if xURBAN ==0 , cluster(DISTRICT)
eststo main_all
lincom c.TW#1.Poor-c.TW#0.Poor
estadd local TWdiff_p=round(r(p),0.0001)
lincom c.TS#1.Poor-c.TS#0.Poor
estadd local TSdiff_p=round(r(p),0.0001)
lincom c.TK#1.Poor-c.TK#0.Poor
estadd local TKdiff_p=round(r(p),0.0001)
lincom c.TR#1.Poor-c.TR#0.Poor
estadd local TRdiff_p=round(r(p),0.0001)
This regression reports the TW, TS, TK and TR coefficients separately for Poor and Nonpoor. In addition, I would like to report the p value of significant difference of the estimates for Poor(1) and Non-Poor(0) that I obtain using lincom after each interaction. Is there a way to do this automatically?
Thank you a lot.
Best,
Barbora
Related Posts with Order of lincom output within a regression results table
DtwDoes anyone know if an implementation of Dynamic Time Warping ( https://en.wikipedia.org/wiki/Dynami…
Graph of multiple coefficientsHello all, I have estimated an age-period-cohort model: reg y ib1.age year_3-year_n ib1.cohort Th…
Using a probability variable to generate random dummy´sI have a probability (prob) variable, created by myself for each observation. I want to generate a d…
Specifying an error term in a two-factor, repeated measures ANOVA.Hi Everyone, I am trying to specify a two-factor repeated-measures ANOVA. I've gone through the doc…
Question about loopsHello everyone! I was wondering if anybody could help me remember how to create a loop in stata. I a…
Subscribe to:
Post Comments (Atom)
0 Response to Order of lincom output within a regression results table
Post a Comment