Ignore:
Timestamp:
Jan 4, 2007, 5:07:16 PM (16 years ago)
Author:
Peter
Message:

added virtual function s2 in OneDimensional?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/regression/Polynomial.h

    r727 r728  
    8585    double predict(const double x) const;
    8686
     87    /**
     88       \f$ \frac{\sum \epsilon_i^2}{N-\textrm{DF}} \f$
     89       where DF is number of parameters in model.
     90
     91       @return variance of residuals
     92    */
     93    double s2(void) const;
     94
    8795    ///
    8896    /// @return squared error of model value in @a x
Note: See TracChangeset for help on using the changeset viewer.