Click or drag to resize
Accord.NET (logo)

EmpiricalHazardDistribution Constructor (Double, Double, SurvivalEstimator)

Initializes a new instance of the EmpiricalHazardDistribution class.

Namespace:  Accord.Statistics.Distributions.Univariate
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public EmpiricalHazardDistribution(
	double[] times,
	double[] lambdas,
	SurvivalEstimator estimator
)
Request Example View Source

Parameters

times
Type: SystemDouble
The time steps.
lambdas
Type: SystemDouble
The hazard rates at the time steps.
estimator
Type: Accord.Statistics.Distributions.UnivariateSurvivalEstimator
The survival function estimator to be used. Default is FlemingHarrington
See Also