I would like to test the significance of difference between the coefficients in 2 probit models. I follow the code in Stata Manual:
. logit y1 x1
. estimates store M1
. logit y2 x2
. estimates store M2
. suest M1 M2
. test [M1]x1=[M2]x2
In my case, I re-phrased the above code:
. probit y1 x1 if group==0
. estimates store M1
. probit y1 x1 if group==1
. estimates store M2
. suest M1 M2
. test [M1]x1=[M2]x1
But I was only told by Stata that "equation M1 not found" so that I have to use "reg" model instead of "probit" to test the coefficient difference.
I am really thankful if anyone could kindly provide suggestions on the proper stata code. Thank you very much!
Related Posts with Testing coefficient difference in 2 probit models
Combining multiple loops to write summary statistics to excel efficiently.Hi, I'm trying to produce summary statistics of a variable efficiently as it will have to be done n…
including time dummy variables make all other variables insignificantDear Statalist, I am working on bilateral remittances data over the period 2011-2017 for a set of d…
The difference between Run and Do icon in do-file toolbar?What's the difference? I use Mac. …
oaxaca_riffDear members, I am trying to estimate productivity/yield gap between men and women using oaxaca_rif.…
Many points are overlapped, how to better plot the scatter? Code: * Example generated by -dataex-. To install: ssc install dataex clear input float a double b…
Subscribe to:
Post Comments (Atom)
0 Response to Testing coefficient difference in 2 probit models
Post a Comment