TPCCLIB
|
Calculating Hubers M-estimator for single data. More...
#include "libtpcmodel.h"
Go to the source code of this file.
Functions | |
double | mEstim (double *data, int nr, int iterNr, double cutoff) |
double | huber (double x, double b) |
Calculating Hubers M-estimator for single data.
Definition in file mestim.c.
double huber | ( | double | x, |
double | b ) |
double mEstim | ( | double * | data, |
int | nr, | ||
int | iterNr, | ||
double | cutoff ) |
Fit a constant (horizontal straight line) to the data with M-estimator.
The algorithm was described in the lecture notes of Nonlinear signal processing course of Tampere university of technology www.cs.tut.fi/~eeroh/nonlin.html
data | Data array |
nr | Number of data values |
iterNr | Number of iterations |
cutoff | cutoff point |
Definition at line 18 of file mestim.c.