Dear all,
I searched for the forum for a solution to my problem and tried some fixes already, the issue is still there.
I use Stata 16 and model my data with Weibull survival for dyads a-b. My keep independent variables are two dummies: dummy1 and dummy2.
I generate my main regression results with the following command:
streg i.dummy1##i.dummy2, d(weibull) coeflegend
and run
margins i.dummy1##i.dummy2 after that.
I am interested in comparing the coefficients of the interaction (for combinations such as dummy1= 0 and dummy2=1 and vice versa).
After typing in:
. version 15: lincom 0.dummy1#.dummy2 - 0.dummy1#0.dummy
The outputs is as follows:
( 1) - [_t]0b.dummy1#0b.dummy2 + [_t]0b.dummy1#1o.dummy2 = 0
------------------------------------------------------------------------------
_t | Coef. Std. Err. z P>|z| [95% Conf. Interval]
-------------+----------------------------------------------------------------
(1) | 0 (omitted)
------------------------------------------------------------------------------
I checked and it does not work for the Stata v.16 neither.
I would appreciate your help in solving the issue.
Agnieszka
Related Posts with Lincom test Weibull analysis with dummyXdummy interaction
Fama-MacBeth (1973) using asregDear all, I have some questions about the package asreg, thanks Attaullah Shah for sharing this in …
Time Trend VariableHello All, I am preparing my data to run an interrupted time series. I have to create a time trend …
Lists with putdocxIs there a way to include lists (bulleted or numbered) via putdocx? `style` seems the most obvious c…
Running a folder/list of do. files one after the other automatically (only starting the next when first is done).Hi folks - does anyone know of a simple way to automate the process of running a list of do. files o…
Help with dropping selected duplicatesHi community, I have a dataset that I need to clean but I'm having a hard time coming up with a way …
Subscribe to:
Post Comments (Atom)
0 Response to Lincom test Weibull analysis with dummyXdummy interaction
Post a Comment