Click or drag to resize
Accord.NET (logo)

ProportionalHazards Constructor (Int32, IUnivariateDistribution)

Creates a new Cox Proportional-Hazards Model.

Namespace:  Accord.Statistics.Models.Regression
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public ProportionalHazards(
	int inputs,
	IUnivariateDistribution baseline
)
Request Example View Source

Parameters

inputs
Type: SystemInt32
The number of input variables for the model.
baseline
Type: Accord.Statistics.DistributionsIUnivariateDistribution
The initial baseline hazard distribution. Default is the EmpiricalHazardDistribution.
See Also