Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: survival data analysis finding theoretical distribution - please help, just started using Stata


From   "Václav Varvařovský" <redacted>
To   [email protected]
Subject   st: survival data analysis finding theoretical distribution - please help, just started using Stata
Date   Sat, 14 Apr 2007 18:41:01 +0100

Hi, I'm a student who is completely new to Stata and I need to solve
following problem.

I have censored observations on length in treatment and I would like
to find how I fit these values with a theoretical distribution.

I have defined data as a Survival ones and I know I should run the
analysis through Survival analysis - regression models - parametric
survival models. However I don't know how to obtain parametres of the
Weibull distribution (see for example
http://www.weibull.com/hotwire/issue14/relbasics14.htm ).

Parameter P will stand for the shape parameter, parameter set to
independent value '_t' will be the scale one but how can I observe the
minimal time in treatment?

Thank you very much.



Weibull regression -- log relative-hazard form

No. of subjects =           95                     Number of obs   =        95
No. of failures =           48
Time at risk    =        70225
                                                  LR chi2(1)      =    158.66
Log likelihood  =   -26.384868                     Prob > chi2     =    0.0000

------------------------------------------------------------------------------
         _t | Haz. Ratio   Std. Err.      z    P>|z|     [95% Conf. Interval]
-------------+----------------------------------------------------------------
         _t |   .9876796      .0014729  -8.31    0.000       .984797
 .9905706
-------------+----------------------------------------------------------------
      /ln_p |   1.625638    .126016    12.90   0.000      1.378651    1.872625
-------------+----------------------------------------------------------------
          p |   5.081661   .6403708
3.969544    6.505351
        1/p |    .196786   .0247982
.1537196    .2519181

This was calculated without supressing constant term.
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index