Click or drag to resize
Accord.NET (logo)

ProportionalHazardsGetLogHazardRatio Method

Gets the Log-Hazard Ratio between two observations.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double GetLogHazardRatio(
	double[] x,
	double[] y
)
Request Example View Source

Parameters

x
Type: SystemDouble
The first observation.
y
Type: SystemDouble
The second observation.

Return Value

Type: Double
See Also