Skip to content

Baseline value of covariates in Cox's Proportional Hazard Model #1263

Answered by CamDavidsonPilon
BorjaGIH asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @BorjaGIH - good questions:

Is there a way to select which hazard (married or unmarried) goes in the numerator and denominator?

Sure, this is how you design your covariate matrix. If you define "unmarried" to be equal to 1 in the matrix, then that will be the numerator. So it just depends on how you choose to encode variables.

I wonder if it is possible for the user to manually select a particular value. In case it is not possible, what is the choice criterium of the algorithm?

It's currently not possible to set to a particular value, and I don't plan to make this possible. What is your use case? Currently for continuous variables, the median value is chosen as the baseline.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BorjaGIH
Comment options

Answer selected by BorjaGIH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants