webbpsf_ext.robust¶
Small collection of robust statistical estimators based on functions from Henry Freudenriech (Hughes STX) statistics library (called ROBLIB) that have been incorporated into the AstroIDL User’s Library. Function included are:
medabsdev - median absolute deviation
biweightMean - biweighted mean estimator
mean - robust estimator of the mean of a data set
mode - robust estimate of the mode of a data set using the half-sample method
std - robust estimator of the standard deviation of a data set
checkfit - return the standard deviation and biweights for a fit in order to determine its quality
linefit - outlier resistant fit of a line to data
polyfit - outlier resistant fit of a polynomial to data
For the fitting routines, the coefficients are returned in the same order as np.polyfit, i.e., with the coefficient of the highest power listed first.
- For additional information about the original IDL routines, see:
Functions
|
Biweight Mean |
|
Determine the quality of a fit and biweights. |
|
Outlier resistance two-variable linear regression function. |
|
Robust Mean |
|
Median Absolute Deviation |
|
Robust estimator of the mode of a data set using the half-sample mode. |
|
Outlier resistance two-variable polynomial function fitter. |
|
Robust Sigma |