Click or drag to resize
Accord.NET (logo)

ProportionalHazardsGetHazardRatio Method

Gets the Hazard Ratio for a given coefficient.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double GetHazardRatio(
	int index
)
Request Example View Source

Parameters

index
Type: SystemInt32
The coefficient's index.

Return Value

Type: Double
The Hazard Ratio for the given coefficient.
Remarks
The hazard ratio can be computed raising Euler's number (e ~~ 2.71) to the power of the associated coefficient.
See Also