razorback.weights module

Weight functions for working with mestimator.transfer_function()

class razorback.weights.BoundedInfluenceStep(weight_func, lower, khi)

Bases: object

class razorback.weights.Huber(alpha=1.5)

Bases: object

class razorback.weights.Thomson(xi=None)

Bases: object

class razorback.weights.Weights(weights, name=None)

Bases: object

pretty weights sequence

razorback.weights.bi_weights(reject_prob, n_step, dim=2)
reject_probrejection probability

smaller value means less leverage point filtering

n_step : number of intermediate steps dim : dimension (dim=2 for MT)