1 #ifndef MaximumLikelihoodWFunctions_h 2 #define MaximumLikelihoodWFunctions_h 145 QDataStream &write(QDataStream &stream)
const;
146 QDataStream &read(QDataStream &stream);
152 double huber(
double residualZScore);
154 double welsch(
double residualZScore);
155 double chen(
double residualZScore);
void setTweakingConstant(double tweakingConstant)
Allows the tweaking constant to be changed without changing the maximum likelihood function...
double tweakingConstantQuantile()
Suggest a quantile of the probility distribution of the residuals to use as the tweaking constants ba...
double sqrtWeightScaler(double residualZScore)
This provides the scaler to the sqrt of the weight, which is very useful for building normal equation...
According to Zhang (Parameter Estimation: A Tutorial with application to conic fitting) "[Huber's] es...
double weightScaler(double residualZScore)
This provides the scalar for the weight (not the scaler for the square root of the weight...
QString weightedResidualCutoff()
Method to return a string represtentation of the weighted residual cutoff (if it exists) for the Maxi...
Model m_model
The enumerated value for the maximum likelihood estimation model to be used.
double chen(double residualZScore)
Modified Huber maximum likelihood estimation function evaluation.
Model
The supported maximum likelihood estimation models.
double huber(double residualZScore)
Huber maximum likelihood estimation function evaluation.
The Chen method was found in "Robust Regression with Projection Based M-estimators" Chen...
A modification to Huber's method propsed by William J.J.
The Welsch method aggresively discounts measures with large resiudals.
void setModel(Model modelSelection)
Allows the maximum likelihood model to be changed together and the default tweaking constant to be se...
MaximumLikelihoodWFunctions()
Sets up a maximumlikelihood estimation function with Huber model and default tweaking constant...
void setTweakingConstantDefault()
Sets default tweaking constants based on the maximum likelihood estimation model being used...
double m_tweakingConstant
The tweaking constant for the maximum likelihood models.
std::istream & operator>>(std::istream &is, CSVReader &csv)
Input read operator for input stream sources.
Class provides maximum likelihood estimation functions for robust parameter estimation, e.g.
double huberModified(double residualZScore)
Modified Huber maximum likelihood estimation function evaluation.
double welsch(double residualZScore)
Modified Huber maximum likelihood estimation function evaluation.
Model model() const
Accessor method to return the MaximumLikelihoodWFunctions::Model enumeration.
Namespace for ISIS/Bullet specific routines.
double tweakingConstant() const
Returns the current tweaking constant.
static QString modelToString(Model model)
Static method to return a string represtentation for a given MaximumLikelihoodWFunctions::Model enum...
QDebug operator<<(QDebug debug, const Hillshade &hillshade)
Print this class out to a QDebug object.