Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWLogisticFitAnalysis



Data Type and Member Function Indexes
(exclusive of constructors and destructors)

Synopsis

#include <rw/stats/logregress.h>
#include <rw/stats/logfit.h>   
RWLogisticRegression lr;
RWLogisticFitAnalysis logfit(lr);

Description

Given an instance of the class RWLogisticRegression, class RWLogisticFitAnalysis calculates several goodness of fit quantities, including the G statistic, Pearson statistic, and Hosmer and Lemeshow statistic along with their P-values and critical values. These statistics are described in Section 3.3.3.

Example

Public Constructors

RWLogisticFitAnalysis();
RWLogisticFitAnalysis(const RWLogisticFitAnalysis& t);
RWLogisticFitAnalysis(const RWLogisticRegression& lr);

Public Member Functions

double 
deviance() const;
double 
GStatistic() const;
double 
GStatisticCriticalValue(double alpha=.05) const;
int 
GStatisticDegreesOfFreedom() const;
double 
GStatisticPValue() const;
double 
HLStatistic() const;
double 
HLStatisticCriticalValue(double alpha=.05) const;
int 
HLStatisticDegreesOfFreedom() const;
const Histogram& 
HLStatisticOutputHistogram() const;
const Histogram& 
HLStatisticPosObsHistogram() const;
double 
HLStatisticPValue() const;
double 
logLikelihood() const;
size_t
modelOutputGroups() const;
double 
PearsonStatistic() const;
double 
PearsonStatisticCriticalValue(double alpha=.05) const;
int 
PearsonStatisticDegreesOfFreedom() const;
double 
PearsonStatisticPValue() const;
const RWMathVec<size_t>
predictorDataGroups() const;
int 
regressionDegreesOfFreedom() const;
int 
residualDegreesOfFreedom() const;
void
setLogisticRegression(const RWLogisticRegression & lr);
void 
setModelOutputGroups(size_t groups);
void 
setPredictorDataGroups(const RWMathVec<size_t>& groups);

Public Member Operator

RWLogisticFitAnalysis& 
operator=(const RWLogisticFitAnalysis& lf);


Previous fileTop of DocumentContentsIndexNext file

©Copyright 1999, Rogue Wave Software, Inc.
Send mail to report errors or comment on the documentation.