Changeset 739 for trunk/yat/regression/MultiDimensional.cc
- Timestamp:
- Jan 12, 2007, 1:14:21 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/regression/MultiDimensional.cc
r731 r739 63 63 fit_parameters_.gsl_vector_p(), 64 64 covariance_.gsl_matrix_p(),&chisquare_,work_); 65 s2_ = chisquare_/(x.rows()-x.columns()); 65 66 } 66 67 … … 86 87 double MultiDimensional::prediction_error2(const utility::vector& x) const 87 88 { 88 return standard_error2(x) +chisquare_;89 return standard_error2(x) + s2_; 89 90 } 90 91
Note: See TracChangeset
for help on using the changeset viewer.