Click or drag to resize
Accord.NET (logo)

ProportionalHazardsGetDeviance Method

Gets the Deviance for the model.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public double GetDeviance(
	double[][] inputs,
	double[] time,
	SurvivalOutcome[] output
)
Request Example View Source

Parameters

inputs
Type: SystemDouble
A set of input data.
time
Type: SystemDouble
The time-to-event before the output occurs.
output
Type: Accord.Statistics.Distributions.UnivariateSurvivalOutcome
The corresponding output data.

Return Value

Type: Double
The deviance (a measure of performance) of the model calculated over the given data sets.
Remarks
The deviance is defined as -2*Log-Likelihood.
See Also