| LogisticRegressionFitAnalysisParameterCalcHLStatistic(FuncLogisticRegressionParameterCalc, Int32) Method |
Computes the Hosmer Lemeshow statistic using the given functor to determine the
number of groups and the number of observations in each group. The groups will
be determined as follows:
First, the observations are sorted in increasing order of their estimated probability.
The first group will contain the first groups[0] observations from this
sequence, the second group will contain the next groups[1] observations,
and so forth.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public LogisticRegressionFitAnalysisParameterCalcHosmerLemeshowStatistic HLStatistic(
Func<LogisticRegression<ParameterCalc>, int[]> groups
)
Public Function HLStatistic (
groups As Func(Of LogisticRegression(Of ParameterCalc), Integer())
) As LogisticRegressionFitAnalysisParameterCalcHosmerLemeshowStatistic
public:
LogisticRegressionFitAnalysisParameterCalcHosmerLemeshowStatistic^ HLStatistic(
Func<LogisticRegression<ParameterCalc>^, array<int>^>^ groups
)
member HLStatistic :
groups : Func<LogisticRegression<'ParameterCalc>, int[]> -> LogisticRegressionFitAnalysisParameterCalcHosmerLemeshowStatistic
Parameters
- groups FuncLogisticRegressionParameterCalc, Int32
- A functor which, given the logistic regression, returns
any a array of group counts. The HL statistic will be computed using
groups.Length groups with the number of observations in the
ith group equal to groups[i].
Return Value
LogisticRegressionFitAnalysisParameterCalcHosmerLemeshowStatisticSee Also