Package gmisclib :: Module gpk_rlsq :: Class robust_linear_fit
[frames] | no frames]

Class robust_linear_fit

source code


Instance Methods
 
__init__(self, a, y, sigma_y=None, minsv=None, minsvr=None, copy=True)
This does bounded influence regression, with a robust M-estimator in the y-direction.
source code
float
eff_n(self)
Returns something like the number of data, except that it looks at their weighting and the structure of the problem. (Inherited from gmisclib.gpk_lsq.lls_base)
source code
float
eff_rank(self)
Returns something like the rank of the solution, but rather than counting how many dimensions can be solved at all, it reports how many dimensions can be solved with a relatively good accuracy. (Inherited from gmisclib.gpk_lsq.linear_least_squares)
source code
 
fit(self, copy=False) (Inherited from gmisclib.gpk_rlsq.w_linear_least_squares) source code
 
hat(self, copy=True)
Hat Matrix Diagonal Data points that are far from the centroid of the X-space are potentially influential. (Inherited from gmisclib.gpk_lsq.linear_least_squares)
source code
 
rank(self) (Inherited from gmisclib.gpk_lsq.linear_least_squares) source code
 
residual(self) (Inherited from gmisclib.gpk_rlsq.w_linear_least_squares) source code
 
set_y(self, y, copy=True) (Inherited from gmisclib.gpk_rlsq.w_linear_least_squares) source code
 
sv(self) (Inherited from gmisclib.gpk_lsq.linear_least_squares) source code
 
variance_about_fit(self)
Returns the estimator of the standard deviation of the data about the fit. (Inherited from gmisclib.gpk_lsq.lls_base)
source code
 
x(self, y=None, copy=True) (Inherited from gmisclib.gpk_lsq.lls_base) source code
 
x_variances(self)
Estimated standard deviations of the solution. (Inherited from gmisclib.gpk_lsq.linear_least_squares)
source code
 
y(self, copy=True) (Inherited from gmisclib.gpk_rlsq.w_linear_least_squares) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables
  HTMIN = 3.0
  STMIN = 1.5
Properties

Inherited from object: __class__

Method Details

__init__(self, a, y, sigma_y=None, minsv=None, minsvr=None, copy=True)
(Constructor)

source code 

This does bounded influence regression, with a robust M-estimator in the y-direction.

Overrides: object.__init__