|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <linearleastsquaresregression.hpp>
Inheritance diagram for LinearLeastSquaresRegression< ArgumentType >:
Collaboration diagram for LinearLeastSquaresRegression< ArgumentType >:Public Member Functions | |
| LinearLeastSquaresRegression (const std::vector< ArgumentType > &x, const std::vector< Real > &y, const std::vector< std::function< Real(ArgumentType)> > &v) | |
Public Member Functions inherited from GeneralLinearLeastSquares | |
| template<class xContainer , class yContainer , class vContainer > | |
| GeneralLinearLeastSquares (const xContainer &x, const yContainer &y, const vContainer &v) | |
| template<class xIterator , class yIterator , class vIterator > | |
| GeneralLinearLeastSquares (xIterator xBegin, xIterator xEnd, yIterator yBegin, yIterator yEnd, vIterator vBegin, vIterator vEnd) | |
| const Array & | coefficients () const |
| const Array & | residuals () const |
| const Array & | standardErrors () const |
| standard parameter errors as given by Excel, R etc. More... | |
| const Array & | error () const |
| modeling uncertainty as definied in Numerical Recipes More... | |
| Size | size () const |
| Size | dim () const |
Additional Inherited Members | |
Protected Member Functions inherited from GeneralLinearLeastSquares | |
| template<class xIterator , class yIterator , class vIterator > | |
| void | calculate (xIterator xBegin, xIterator xEnd, yIterator yBegin, yIterator yEnd, vIterator vBegin) |
Protected Attributes inherited from GeneralLinearLeastSquares | |
| Array | a_ |
| Array | err_ |
| Array | residuals_ |
| Array | standardErrors_ |
Definition at line 107 of file linearleastsquaresregression.hpp.
| LinearLeastSquaresRegression | ( | const std::vector< ArgumentType > & | x, |
| const std::vector< Real > & | y, | ||
| const std::vector< std::function< Real(ArgumentType)> > & | v | ||
| ) |
Definition at line 109 of file linearleastsquaresregression.hpp.