|
ProportionalHazardsAnalysis Constructor (Double, Double, Int32, String, String, String)
|
Note: This API is now obsolete.
Constructs a new Cox's Proportional Hazards Analysis.
Namespace:
Accord.Statistics.Analysis
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax [ObsoleteAttribute("Please do not pass data to this constructor, and use the Learn method instead.")]
public ProportionalHazardsAnalysis(
double[][] inputs,
double[] times,
int[] censor,
string[] inputNames,
string timeName,
string censorName
)
<ObsoleteAttribute("Please do not pass data to this constructor, and use the Learn method instead.")>
Public Sub New (
inputs As Double()(),
times As Double(),
censor As Integer(),
inputNames As String(),
timeName As String,
censorName As String
)
Request Example
View SourceParameters
- inputs
- Type: SystemDouble
The input data for the analysis. - times
- Type: SystemDouble
The output, binary data for the analysis. - censor
- Type: SystemInt32
The right-censoring indicative values. - inputNames
- Type: SystemString
The names of the input variables. - timeName
- Type: SystemString
The name of the time variable. - censorName
- Type: SystemString
The name of the event indication variable.
See Also