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
how to analyze the data for measuring multiply site from same patients? Repeated Measures Analysis of Variance (ANOVA)?I am doing a study to evaluate the effect of ossification ligament on thoracic vertebra. The purpose…
Help Required with Value Weighted PortfoliosDear Statalist users, following is a sample from my dataset Code: * Example generated by -dataex-.…
melogit with crossed (non nested!) factors does not workDear all, thanks in advance. I have an issue that freaks me out. I wonder if I'm wrong to set up th…
Ratio of male to female in a datasetHello. It's probably an easy question but I searched a lot and found nothing. I have a data set an…
Using local macros in tslineHi, I am using Stata 16 and would need help in macros. Below is my dataset: Code: * Example gener…
Subscribe to:
Post Comments (Atom)
0 Response to Lincom test Weibull analysis with dummyXdummy interaction
Post a Comment