naive fitting.
More...
#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/regression/NaiveWeighted.h>
List of all members.
Detailed Description
Member Function Documentation
double theplu::yat::regression::NaiveWeighted::predict |
( |
const double |
x | ) |
const |
|
virtual |
double theplu::yat::regression::OneDimensionalWeighted::prediction_error2 |
( |
const double |
x, |
|
|
const double |
w = 1.0 |
|
) |
| const |
|
inherited |
The prediction error is defined as expected squared deviation a
new data point (with weight @a w) will be from the model
value \form#211 and is typically
divided into the conditional variance ( see s2() )
given \form#62 and the squared standard error ( see
standard_error2() ) of the model estimation in \form#62.
@return expected prediction error for a new data point in @a x
with weight @a w.
double theplu::yat::regression::OneDimensionalWeighted::r2 |
( |
void |
| ) |
const |
|
inherited |
r2 is defined as or the fraction of the variance explained by the regression model.
double theplu::yat::regression::NaiveWeighted::s2 |
( |
const double |
w = 1 | ) |
const |
|
virtual |
double theplu::yat::regression::NaiveWeighted::standard_error2 |
( |
const double |
x | ) |
const |
|
virtual |
Member Data Documentation
Averager for pair of x and y
double theplu::yat::regression::OneDimensionalWeighted::chisq_ |
|
protectedinherited |
Chi-squared.
Chi-squared is defined as the
The documentation for this class was generated from the following file: