1 #ifndef _theplu_yat_regression_onedimensional_ 2 #define _theplu_yat_regression_onedimensional_ 27 #include "yat/statistics/AveragerPair.h" 36 namespace regression {
63 double chisq(
void)
const;
76 virtual double predict(
const double x)
const=0;
89 double prediction_error2(
const double x)
const;
105 std::ostream& print(std::ostream& os,
const double min,
106 double max,
const unsigned int n)
const;
114 double r2(
void)
const;
121 virtual double s2(
void)
const=0;
128 virtual double standard_error2(
const double x)
const=0;
134 double variance(
void)
const;
The Department of Theoretical Physics namespace as we define it.
Class for taking care of mean and covariance of two variables.
Definition: AveragerPair.h:47
T max(const T &a, const T &b, const T &c)
Definition: stl_utility.h:697
This is the yat interface to GSL vector.
Definition: VectorBase.h:55
double chisq_
Definition: OneDimensional.h:144
statistics::AveragerPair ap_
Definition: OneDimensional.h:139
Interface Class for One Dimensional fitting.
Definition: OneDimensional.h:43