Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWGPValueFunctor



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

Synopsis

#include <rw/analytics/gpvalfun.h>
RWGPValueFunctor GstatPValue;

Description

Class RWGPValueFunctor calculates the G statistic for a logistic model in comparison to the intercept only model. This value has approximately a chi-squared distribution with p degrees of freedom, where p is the number of predictor variables. The P-value of the G statistic is returned. The G statistic is described in Section 3.3.3.1 of the User's Guide.

This class may be used as the template parameter for the class RWLogRegModelSelector.

Example

Public Constructor

RWGPValueFunctor();

Public Member Operator

double 
operator()(const RWGenMat<double>& predictorData, 
           const RWMathVec<RWBoolean> obsData,
           const RWMathVec<double>& calc);


Previous fileTop of DocumentContentsIndexNext file

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