Skip to content

Cox coefficients documentationΒ #54

@leonardosegurat

Description

@leonardosegurat

Is your feature request related to a problem? Please describe.

When sending cox regression coefficients to a data table, only beta terms are included and h0 term is omitted, resulting in incomplete information to compute the results.

Since this was my first cox regression, I did not know that the cox risk score was calculated with a specific expression, and naively calculated it as multiple linear regression. This discrepancy led me to investigate, and while I found documentation for cox regression, I was unable to do so with the widget's docs or searching for Orange Data Mining and the process was time consuming.
Importantly, I found there is an h0 term and this is not included in the coefficients output, at least not that I could find, and had to calculate id "by hand" on a spreadsheet by comparing my results with the widget's data output. Far from ideal.

Describe the solution you'd like

  1. Extend cox regression widget documentation to include the equation used to calculate cox risk score, or a reference to an explanation.
  2. Include h0 term in the coefficients output, either as a different output (Data / Coefficients / Constant) or within the coefficients output.

Describe alternatives you've considered

Additional context
The cox risk score can be computed with the following equation: h(t) = h0(t) * exp( x1b1 + x2b2 + x3b3... xnbn)
Where h0 indicates a "base risk" term, x's correspond to predictor features, and b's correspond to their coefficients.

PS: If you're open to contributions, I'm willing to dedicate some time to researching and helping with documentation. I have no experience working with Open-Source Projects, and minimal coding experience. On the other hand, I do have a strong background in statistics as a Lean Six Sigma Black Belt, a taste for technology and a lot of admiration towards the Open-Source community.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions