Rogue Wave banner
Previous fileTop of DocumentContentsIndexNext file

RWLinRegressFStatistic



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

Synopsis

#include <rw/analytics/ffunc.h>

RWLinRegressFStatistic fstat;

Description

Class RWLinRegressFStatistic is a function object that takes the data and parameters associated with a linear regression model and returns the F statistic for that model. An equation for the F statistic can be found in Section 3.2.4.

This class is useful in conjunction with the model selection class RWLinRegModelSelector<F>, which requires a function object to evaluate the quality of different predictor variable subsets. However, it can also be used by itself as a direct way of calculating the F statistic.

Example

Public Constructors

RWLinRegressFStatistic();

Public Member Operator

virtual 
double 
operator()(const RWGenMat<double>& predictorData, 
           const RWMathVec<double> obsData,
           const RWMathVec<double>& params);


Previous fileTop of DocumentContentsIndexNext file

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