Click or drag to resize
Accord.NET (logo)

MultinomialLogisticRegressionGetOddsRatio Method (Int32)

Gets the Odds Ratio for all coefficients.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double[] GetOddsRatio(
	int category
)
Request Example View Source

Parameters

category
Type: SystemInt32
The category index.

Return Value

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