Changeset 216 for trunk/src/Regression.h


Ignore:
Timestamp:
Dec 29, 2004, 10:29:54 AM (18 years ago)
Author:
Peter
Message:

RegressionLocal? added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Regression.h

    r213 r216  
    3434    virtual ~Regression(void) {};
    3535         
     36    virtual void estimate(const double x, double& y, double& y_err) const=0;
     37
    3638    ///
    3739    /// This function computes the best-fit given a model (see
     
    4446    /// This function computes the best-fit given a model (see
    4547    /// specific class for details) by minimizing \f$
    46     /// \sum{(w_i\hat{y_i}-y_i)^2} \f$, where \f$ \hat{y} \f$ is the
     48    /// \sum{w_i(\hat{y_i}-y_i)^2} \f$, where \f$ \hat{y} \f$ is the
    4749    /// fitted value. The weight \f$ w_i \f$ is should be proportional
    4850    /// to the inverse of the variance for \f$ y_i \f$
Note: See TracChangeset for help on using the changeset viewer.