-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there any method or way to get hazard ratio? #96
Comments
So, if you're using a non-linear model, I don't think you can get hazard ratios for a single covariate that easily. In regular Cox regression (corresponding to a linear function x'\beta) you're able to obtain the hazard ratio of a single covariate because all the other cancels out. For a non-linear model, you can get the hazard ratio at an individual level (for individual i, the hazard ratio of covariate x is ...). One approach for obtaining the hazard ration for when using neural networks would be to compute the hazard ratio for each individual and average that over your whole dataset. I don't know if this is common practice though. Does this answer your question? |
Continuing with this @havakv, for the logistic hazard /nnet survival, how would we get individual hazards? Thank you very much. |
The |
Sounds good thanks again! |
Is there a way to get hazard ratio with deephit single? |
Hi,I have the same question. Have you solved this yet? thank you so much. |
We are using Pycox - CoxPH Model to find out hazard ratio of each genetic mutations.
So, we put presence of each genetic mutations as 1 or 0 in x, survival time and event in y.
We want to get hazard ratio of a particular genetic mutation.
Is there any method or way to get it?
The text was updated successfully, but these errors were encountered: