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

RWGPValueFunctor


Does not inherit

Local Index

Members

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.

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<bool> obsData,
           const RWMathVec<double>& calc);


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.