Click or drag to resize
Accord.NET (logo)

ProportionalHazardsGetPartialLogLikelihood Method (Double, Int32)

Gets the Partial Log-Likelihood for the model.

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

Parameters

time
Type: SystemDouble
The time-to-event before the output occurs.
output
Type: SystemInt32
The corresponding output data.

Return Value

Type: Double
The Partial Log-Likelihood (a measure of performance) of the model calculated over the given data set.
See Also