Announcement

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

  • Big O Complexity -- Analyzing Efficiency of stcox using Breslow, Efron approximation

    Hi Stata Forum, I'm writing my master's thesis on a survival analysis implemented using stcox, and I'm using both the Breslow and Efron approximation. I have pulled the theoretical definitions used for these approximations from the Stata manual, but I would like to do an analysis of how efficient the Cox model is, using Big O notation. I understand that the code is proprietary, but is there anyone that might be able to help me analyze or estimate Stata's algorithmic implementation of the Cox model?

    Thank you very much

  • #2
    Some parts of the code can be inspected like so:

    Code:
    which stcox
    And then copy the path that is returned like

    Code:
    view *path*
    Best wishes

    (Stata 16.1 MP)

    Comment


    • #3
      there is an easier way:
      Code:
      view stcox.ado, adopath
      which will show you a copy of the stcox.ado file which is just standard ASCII and thus readable; it is, not however, simple to follow so good luck

      Comment

      Working...
      X