1 #ifndef _theplu_yat_regression_linearweighted_
2 #define _theplu_yat_regression_linearweighted_
28 #include "OneDimensionalWeighted.h"
35 namespace regression {
59 double alpha(
void)
const;
76 double beta(
void)
const;
102 double predict(
const double x)
const;
107 double s2(
double w=1)
const;
121 double m_x(
void)
const;
122 double m_y(
void)
const;
123 double sxx(
void)
const;
124 double syy(
void)
const;
125 double sxy(
void)
const;
void fit(const utility::VectorBase &x, const utility::VectorBase &y, const utility::VectorBase &w)
double beta_var(void) const
double s2(double w=1) const
double standard_error2(const double x) const
linear regression.
Definition: LinearWeighted.h:40
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
double predict(const double x) const
Interface Class for One Dimensional fitting in a weighted fashion.
Definition: OneDimensionalWeighted.h:41
LinearWeighted(void)
The default constructor.
virtual ~LinearWeighted(void)
The destructor.
double alpha_var(void) const