onesidedBias-class: onesided Bias Type

onesidedBias-classR Documentation

onesided Bias Type

Description

Class of onesided bias types.

Objects from the Class

Objects can be created by calls of the form new("onesidedBias", ...). More frequently they are created via the generating function positiveBias or negativeBias.

Slots

name

Object of class "character".

sign

Object of class "numeric"; to be in {-1,1} — whether bias is to be positive or negative

Methods

sign

signature(object = "onesidedBias"): accessor function for slot sign.

sign<-

signature(object = "onesidedBias", value = "numeric"): replacement function for slot sign.

Extends

Class "BiasType", directly.

Author(s)

Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de

References

Rieder, H. (1994) Robust Asymptotic Statistics. New York: Springer.

Ruckdeschel, P. (2005) Optimally One-Sided Bounded Influence Curves. Mathematical Methods in Statistics 14(1), 105-131.

Kohl, M. (2005) Numerical Contributions to the Asymptotic Theory of Robustness. Bayreuth: Dissertation.

See Also

BiasType-class

Examples

positiveBias()
## The function is currently defined as
function(){ new("onesidedBias", name = "positive Bias", sign = 1) }

negativeBias()
## The function is currently defined as
function(){ new("onesidedBias", name = "negative Bias", sign = -1) }

pB <- positiveBias()
sign(pB)
try(sign(pB) <- -2) ## error
sign(pB) <- -1

distrMod documentation built on Jan. 31, 2024, 3:06 a.m.