Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mean baseline survivor

    Is there a way to calculate mean baseline survivor at the end of a specific time frame in stata?

    I tried predict survivor, basesurv but I couldn't get the meansurv. Thanks in advance.

    Jacob


  • #2
    You can get restricted means with stpm2 by Paul Lambert (SSC)

    Reference: Lambert, P. C., & Royston, P. (2009). Further development of flexible parametric models for survival analysis. Stata Journal, 9(2), 265, available at:
    http://ageconsearch.umn.edu/bitstrea...art_st0165.pdf
    Steve Samuels
    Statistical Consulting
    [email protected]

    Stata 14.2

    Comment


    • #3
      Hi Samuel,
      I have been able to use the stpm2 command and the model output correlates well with my earlier cox models. One problem though is that whenever I try to estimate the meansurv, I get and error message. Any help to resolve this will be highly appreciated. See output in the attached pdf

      .
      Attached Files
      Last edited by Kigo Kariuki; 23 Nov 2015, 08:55.

      Comment


      • #4
        Please ignore my question....I figured out the error was as a result of failure to install the full stmp2 package. Problem resolved. Thanks

        Comment

        Working...
        X