SourcePro C++ 13.0 |
SourcePro® C++ API Reference Guide |
Product Documentation: SourcePro C++ Documentation Home |
Holds information about the addition of predictor variables to a parameter calculation. More...
#include <rw/analytics/regcalc.h>
Public Member Functions | |
RWAddPredictors () | |
RWAddPredictors (const RWAddPredictors< T, S > &a) | |
RWAddPredictors (const RWGenMat< T > &r, const RWMathVec< S > o, size_t numAdded, bool setBaseToLast=false) | |
size_t | numAdded () const |
void | setNumAdded (size_t na) |
Public Member Functions inherited from RWRegressionDataChange< T, S > | |
bool | baseToLast () const |
const RWMathVec< S > & | newObservationVec () const |
const RWGenMat< T > & | newRegressionMat () const |
void | setBaseToLast (bool s) |
void | setNewObservationVec (const RWMathVec< S > &o) |
void | setNewRegressionMat (const RWGenMat< T > &r) |
Class RWAddPredictors<T,S> holds information about the addition of predictor variables to a parameter calculation object's base calculation. This information must consist of the following:
|
inline |
Default constructor. Constructs an empty RWAddPredictors object.
|
inline |
Copy constructor. Constructs a copy of a.
|
inline |
Constructs an RWAddPredictors object with the given regression matrix and observation vector. It assumes that the matrix r is obtained from the base calculations regression matrix by appending numAdded columns, and that the observation vector o is identical to the base calculations. If setBaseToLast is true
, the base calculations regression matrix is set to r.
|
inline |
Returns the number of predictors added.
|
inline |
Sets the number of predictors added.
Copyright © 2014 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.
Provide feedback to Rogue Wave about its documentation.