1 #ifndef _theplu_yat_regression_linear_
2 #define _theplu_yat_regression_linear_
26 #include "OneDimensional.h"
35 namespace regression {
63 double alpha(
void)
const;
79 double beta(
void)
const;
99 double predict(
const double x)
const;
106 double s2(
void)
const;
virtual ~Linear(void)
The destructor.
void fit(const utility::VectorBase &x, const utility::VectorBase &y)
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
Linear(void)
The default constructor.
Interface Class for One Dimensional fitting.
Definition: OneDimensional.h:43
linear regression.
Definition: Linear.h:43
double standard_error2(const double x) const
double beta_var(void) const
double predict(const double x) const
double alpha_var(void) const