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;
The Department of Theoretical Physics namespace as we define it.
virtual ~Linear(void)
The destructor.
double predict(const double x) const
void fit(const utility::VectorBase &x, const utility::VectorBase &y)
double standard_error2(const double x) const
This is the yat interface to GSL vector.
Definition: VectorBase.h:55
Linear(void)
The default constructor.
Interface Class for One Dimensional fitting.
Definition: OneDimensional.h:43
linear regression.
Definition: Linear.h:43
double beta_var(void) const
double alpha_var(void) const