1 #ifndef _theplu_yat_regression_onedimensioanlweighted_ 2 #define _theplu_yat_regression_onedimensioanlweighted_ 26 #include "yat/statistics/AveragerPairWeighted.h" 35 namespace regression {
68 virtual double predict(
const double x)
const=0;
83 double prediction_error2(
const double x,
const double w=1.0)
const;
90 double r2(
void)
const;
98 virtual double s2(
double w=1)
const=0;
106 virtual double standard_error2(
const double x)
const=0;
double chisq_
Chi-squared.
Definition: OneDimensionalWeighted.h:120
Class for taking care of mean and covariance of two variables in a weighted manner.
Definition: AveragerPairWeighted.h:56
The Department of Theoretical Physics namespace as we define it.
This is the yat interface to GSL vector.
Definition: VectorBase.h:55
Interface Class for One Dimensional fitting in a weighted fashion.
Definition: OneDimensionalWeighted.h:41
statistics::AveragerPairWeighted ap_
Definition: OneDimensionalWeighted.h:112