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/Linear.h

    r727 r728  
    113113
    114114    /**
     115       \f$ \frac{\sum \epsilon_i^2}{N-2} \f$
     116
     117       @return variance of residuals
     118    */
     119    double s2(void) const;
     120
     121    /**
    115122       The error of the model is estimated as \f$
    116123       \textrm{alpha\_err}^2+\textrm{beta\_err}^2*(x-m_x)*(x-m_x)\f$
     
    127134    Linear(const Linear&);
    128135
    129     double s2(void) const;
    130 
    131136    double alpha_;
    132137    double alpha_var_;
Note: See TracChangeset for help on using the changeset viewer.