Dear all, I am estimating the following regression
The variable mgr_exclude is a binary one that takes the value 0 or 1. NUMEST is continous.
After running the regression, i want to see the marginal effects of mgr_exclude=1 in the cases that the variable NUMEST takes the values 25th, 50th and 75th percentile. moreover, and most importantly, i want check if the difference between the value in the 25th and the 75th percentile is significant. so i did the following
that part worked well. however, if i try to test the differences, i use
but the result is
( 1) [0b.mgr_exclude]1bno._at - [0b.mgr_exclude]3o._at = 0
Constraint 1 dropped
chi2( 0) = .
Prob > chi2 = .
can you help me out? thanks!
Code:
reghdfe SPREAD_Haupttest_mean i.mgr_exclude##c.NUMEST FRQ_MJM_V1 VOLA_Haupttest BTM SIZE LOSS TURNOVER_Haupttest_mean IMR6, absorb (FYQ INDUSTRY) vce (cluster gvkey)
After running the regression, i want to see the marginal effects of mgr_exclude=1 in the cases that the variable NUMEST takes the values 25th, 50th and 75th percentile. moreover, and most importantly, i want check if the difference between the value in the 25th and the 75th percentile is significant. so i did the following
Code:
margins, dydx(mgr_exclude) at(NUMEST=(1.386294 1.94591 2.564949)) post
Code:
test _b[1._at] = _b[3._at]
( 1) [0b.mgr_exclude]1bno._at - [0b.mgr_exclude]3o._at = 0
Constraint 1 dropped
chi2( 0) = .
Prob > chi2 = .
can you help me out? thanks!
Comment