![]() | Logistic |
[SerializableAttribute] public class LogisticRegressionFitAnalysis<ParameterCalc> : ICloneable where ParameterCalc : new(), ILogisticRegressionCalc
The LogisticRegressionFitAnalysisParameterCalc type exposes the following members.
Name | Description | |
---|---|---|
![]() | LogisticRegressionFitAnalysisParameterCalc | Constructs a LogisticRegressionFitAnalysis instance for the give logistic regression. |
Name | Description | |
---|---|---|
![]() | GStatistic | Gets the G statistic for the model. The G statistic is G = -2*ln[(likelihood without the variables)/(likelihood with the variables)] |
![]() | GStatisticPValue | Gets the p-value for the G statistic. |
![]() | LogLikelihood | Gets the log likelihood for the model. |
Name | Description | |
---|---|---|
![]() | Clone | Creates a deep copy of self. |
![]() | HLStatistic(FuncLogisticRegressionParameterCalc, Int32) | 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. |
![]() | HLStatistic(Int32) | Gets the Hosmer Lemeshow statistic for the model using a specified number of groups. The default is 10 groups. |
![]() | HLStatistic(Int32, IEqualityComparerDoubleVector) | Calculates the Hosmer Lemeshow statistic for the model using the specified number of groups and the given comparer to determine equality of covariate patterns. |
![]() | PearsonStatistic | Computes the Pearson chi-square statistic and related quantities from the Pearson residuals. To determine if two observations are the same (share the same covariate pattern) thier variable values are compared using a relative compare with a tolerance of 1e-6. |
![]() | PearsonStatistic(IEqualityComparerDoubleVector) | Computes the Pearson chi-square statistic and related quantities from the Pearson residuals. To determine if two observations are the same (share the same covariate pattern) thier variable values are compared using the given comparer object. |