Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Business Analysis Module Reference Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

RWLogisticFitAnalysis


Does not inherit

Local Index

Members

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.3, "Hosmer-Lemeshow Statistic," in the Business Analysis Module User's Guide.

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 DocumentContentsIndex pageNext file

© Copyright Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave and SourcePro are registered trademarks of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.
Contact Rogue Wave about documentation or support issues.