Announcement

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

  • Splines after Cox model


    Dear Stata users,

    I am trying to draw splines after the Cox model. I would like to draw the hazard ratio as a function of X as a reference point.
    In the example below, to set the variable ammonia to a given reference 3.

    Code:
    use http://www.stata-press.com/data/cgg/reyes, clear
    Any help would be greatly appreciated.
    Thank you,
    Oyun
    Last edited by Buyadaa Oyunchimeg; 08 Jun 2023, 21:57.
Working...
X