I would like to run the following regressions:
xtreg a x y z i.mth_seq, fe vce(robust) *equation 1
estimates store a
xtreg b x y z i.mth_seq, fe vce(robust) *equation 2
estimates store b
how can one test the difference between the estimated coefficients (x in equation 1 and x in equation 2) and get the t-statistic of the difference?
I tried estimates store for each equation and then
suest a b test [a_mean]x - [b_mean]x = 0
but it does not work after xtreg.
Thanks.
Related Posts with testing difference between coefficients in different equations
Problem: margins command produces AME results with different p-values to the original xtgee family(nbinomial 1) regressionDear Statalist, I am trying to obtain average marginal effects from a population-averaged negative …
Automatically Produced Timestamp in Results Window at Each StepSorry, this might be a basic question but when searching for an answer that includes "timestamp" I g…
Using predict to estimate a value after a linear regressionI have two variables, height and weight. I ran a regression and now need to predict the height at ce…
Changing month in date variableHi to all!, I have a question regarding my dataset. I digitized a historical book and I noticed tha…
Serial mediation analysis- gsem---error message r(3900)Dear Statlist I am trying to condut the serial mediation analysis using a large stock market datase…
Subscribe to:
Post Comments (Atom)
0 Response to testing difference between coefficients in different equations
Post a Comment