Clear Filters
Clear Filters

Full distribution for 'b' coefficient when using coxphfit

2 views (last 30 days)
I'm using coxphfit function. But you only get the HR as exp(b) and the corresponding SE. I want to know if there is a way to get the full distribution from which b and SE were calculated?
Thanks.

Accepted Answer

the cyclist
the cyclist on 16 Aug 2020
I have a few thoughts.
When you say "usually you get ...", do you mean from some other software package, specifically?
Are you calling coxphfit with all the outputs?
[b,logl,H,stats] = coxphfit()
Is that helpful?
Have you seen this documentation page that lists a lot of details about what MATLAB is doing (in addition to the documentation for coxphfit itself).
  5 Comments
the cyclist
the cyclist on 18 Aug 2020
To be clear ... I don't actually think that a gaussian is used in any explicit way in the algorithm.
The coefficent(s) b are found by an iterative process that maximizes the partial likelihood function. I can see that the code uses an optimization method involving trust regions, and I am just speculating that that method might implicitly make assumptions about the quadratic nature of the curvature, and maybe that is equivalent to a gaussian assumption for b. I think one would need to actually understand that optimization method -- as opposed to the model itself -- to really know what is going on under the hood.

Sign in to comment.

More Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!