Go to the documentation of this file.    1 #ifndef __JFIT__JMESTIMATOR__ 
    2 #define __JFIT__JMESTIMATOR__ 
   13 namespace JPP { 
using namespace JFIT; }
 
   34     virtual double getRho(
const double z) 
const = 0;
 
   43     virtual double getPsi(
const double z) 
const = 0;
 
   56     virtual double getRho(
const double z)
 const { 
return z; }
 
   57     virtual double getPsi(
const double z)
 const { 
return 1.0; }
 
   69     virtual double getRho(
const double z)
 const { 
return 0.5*z*z; }
 
   70     virtual double getPsi(
const double z)
 const { 
return z; }
 
   82     virtual double getRho(
const double z)
 const { 
return log (1.0 + 0.5*z*z); }
 
   83     virtual double getPsi(
const double z)
 const { 
return z / (1.0 + 0.5*z*z); }
 
   95     virtual double getRho(
const double z)
 const { 
return sqrt(1.0 + 0.5*z*z) - 1.0; }
 
   96     virtual double getPsi(
const double z)
 const { 
return 0.5 * z / sqrt(1.0 + 0.5*z*z); }
 
  117     virtual double getRho(
const double z)
 const 
  119       const double w = 0.5 * 
k*
k / 3.0;
 
  123         const double u = z/
k;
 
  124         const double v = 1.0 - 
u*
u;
 
  126         return w * (1.0 - 
v*
v*
v);
 
  132     virtual double getPsi(
const double z)
 const  
  136         const double u = z/
k;
 
  137         const double v = 1.0 - 
u*
u;
 
 
virtual double getPsi(const double z) const
Get derivative of maximum likelihood estimate.
 
JMEstimatorTukey(const double __k)
Constructor.
 
virtual double getRho(const double z) const
Get maximum likelihood estimate.
 
Auxiliary classes and methods for linear and iterative data regression.
 
virtual double getPsi(const double z) const
Get derivative of maximum likelihood estimate.
 
virtual double getRho(const double z) const =0
Get maximum likelihood estimate.
 
virtual double getPsi(const double z) const
Get derivative of maximum likelihood estimate.
 
virtual double getRho(const double z) const
Get maximum likelihood estimate.
 
virtual double getPsi(const double z) const =0
Get derivative of maximum likelihood estimate.
 
virtual double getRho(const double z) const
Get maximum likelihood estimate.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
virtual ~JMEstimator()
Virtual destructor.
 
virtual double getRho(const double z) const
Get maximum likelihood estimate.
 
virtual double getPsi(const double z) const
Get derivative of maximum likelihood estimate.
 
virtual double getPsi(const double z) const
Get derivative of maximum likelihood estimate.
 
Tukey's biweight M-estimator.
 
virtual double getRho(const double z) const
Get maximum likelihood estimate.
 
Interface for maximum likelihood estimator (M-estimator).