Jpp  18.5.0
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JFIT::JMEstimatorLorentzian Struct Reference

Lorentzian M-estimator. More...

#include <JMEstimator.hh>

Inheritance diagram for JFIT::JMEstimatorLorentzian:
JFIT::JMEstimator

Public Member Functions

virtual double getRho (const double z) const
 Get maximum likelihood estimate. More...
 
virtual double getPsi (const double z) const
 Get derivative of maximum likelihood estimate. More...
 

Detailed Description

Lorentzian M-estimator.

This estimator prouces a logarithmic dependence for large deviations.

Definition at line 65 of file JMEstimator.hh.

Member Function Documentation

virtual double JFIT::JMEstimatorLorentzian::getRho ( const double  z) const
inlinevirtual

Get maximum likelihood estimate.

Parameters
zdeviation
Returns
likelihood

Implements JFIT::JMEstimator.

Definition at line 68 of file JMEstimator.hh.

68 { return log (1.0 + 0.5*z*z); }
then set_variable DIR else fatal Wrong number of arguments fi for INPUT_FILE in ls rt $DIR stage * log
virtual double JFIT::JMEstimatorLorentzian::getPsi ( const double  z) const
inlinevirtual

Get derivative of maximum likelihood estimate.

Parameters
zdeviation
Returns
derivative

Implements JFIT::JMEstimator.

Definition at line 69 of file JMEstimator.hh.

69 { return z / (1.0 + 0.5*z*z); }

The documentation for this struct was generated from the following file: