linear regression.
More...
#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/regression/LinearWeighted.h>
List of all members.
Detailed Description
Member Function Documentation
double theplu::yat::regression::LinearWeighted::alpha |
( |
void |
| ) |
const |
is estimated as
@return the parameter \form#172
double theplu::yat::regression::LinearWeighted::alpha_var |
( |
void |
| ) |
const |
Variance is estimated as
- See also:
- s2()
- Returns:
- variance of parameter
double theplu::yat::regression::LinearWeighted::beta |
( |
void |
| ) |
const |
is estimated as
@return the parameter \form#176
double theplu::yat::regression::LinearWeighted::beta_var |
( |
void |
| ) |
const |
Variance is estimated as
- See also:
- s2()
- Returns:
- variance of parameter
double theplu::yat::regression::LinearWeighted::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::LinearWeighted::s2 |
( |
double |
w = 1 | ) |
const |
|
virtual |
double theplu::yat::regression::LinearWeighted::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: