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
Zero-inflated dependent variable calculationsHello, I am trying to run a regression on Stata where my dependent variable is skewed towards zeros…
Event StudyCan I get the event study video tutorial or commands along with data files, such as, firm data, mark…
Reshape ProblemDear all, I am trying to bring a dataset into the right format. However, I can´t figure out the las…
🛂 Stata errorsDear All, the following section of the manual contains the error codes that Stata may issue: https:…
How to count the number of rows and columns of a non-null values in matrix?Hello, I am new to Mata and how do you count the number of rows and columns of a non-null values in …
Subscribe to:
Post Comments (Atom)
0 Response to testing difference between coefficients in different equations
Post a Comment