Jpp
Public Member Functions | List of all members
JFIT::JMEstimatorNormal Struct Reference

Normal M-estimator. More...

#include <JMEstimator.hh>

Inheritance diagram for JFIT::JMEstimatorNormal:
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

Normal M-estimator.

This estimator is based on a Gaussian PDF and produces the standard chi2.

Definition at line 66 of file JMEstimator.hh.

Member Function Documentation

◆ getRho()

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

Get maximum likelihood estimate.

Parameters
zdeviation
Returns
likelihood

Implements JFIT::JMEstimator.

Definition at line 69 of file JMEstimator.hh.

69 { return 0.5*z*z; }

◆ getPsi()

virtual double JFIT::JMEstimatorNormal::getPsi ( const double  z) const
inlinevirtual

Get derivative of maximum likelihood estimate.

Parameters
zdeviation
Returns
derivative

Implements JFIT::JMEstimator.

Definition at line 70 of file JMEstimator.hh.

70 { return z; }

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