1 #ifndef _theplu_yat_regression_onedimensioanlweighted_ 2 #define _theplu_yat_regression_onedimensioanlweighted_ 27 #include "yat/statistics/AveragerPairWeighted.h" 36 namespace regression {
69 virtual double predict(
const double x)
const=0;
91 double r2(
void)
const;
99 virtual double s2(
double w=1)
const=0;
double chisq_
Chi-squared.
Definition: OneDimensionalWeighted.h:121
virtual double s2(double w=1) const =0
virtual void fit(const utility::VectorBase &x, const utility::VectorBase &y, const utility::VectorBase &w)=0
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.
OneDimensionalWeighted(void)
virtual double standard_error2(const double x) const =0
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:42
virtual ~OneDimensionalWeighted(void)
virtual double predict(const double x) const =0
double prediction_error2(const double x, const double w=1.0) const
statistics::AveragerPairWeighted ap_
Definition: OneDimensionalWeighted.h:113