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;
90 double r2(
void)
const;
98 virtual double s2(
double w=1)
const=0;
double chisq_
Chi-squared.
Definition: OneDimensionalWeighted.h:120
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
double prediction_error2(const double x, const double w=1.0) const
OneDimensionalWeighted(void)
virtual double standard_error2(const double x) const =0
This is the yat interface to GSL vector.
Definition: VectorBase.h:52
Interface Class for One Dimensional fitting in a weighted fashion.
Definition: OneDimensionalWeighted.h:41
virtual ~OneDimensionalWeighted(void)
virtual double predict(const double x) const =0
statistics::AveragerPairWeighted ap_
Definition: OneDimensionalWeighted.h:112