
Last chance! 50% off unlimited learning
Sale ends in
Huberize-methods
Huberize(object, ...)
# S4 method for AcDcLcDistribution
Huberize(object,lower,upper,
withSimplify = getdistrOption("simplifyD"))
the corresponding distribution of the truncated random variable
distribution object
further arguments for Huberize
; takes up lower
,
upper
, withSimplify
.
numeric; lower truncation point
numeric; upper truncation point
logical; is result to be piped through a call to
simplifyD
?
signature(object = "AcDcLcDistribution")
:
returns the unconditioned
distribution of min(upper,max(X,lower))
, if X
is
distributed according to object
;
the result is of class "UnivarLebDecDistribution"
in general.
Truncate
Hub <- Huberize(Norm(),lower=-1,upper=2)
Hub
plot(Hub)
Run the code above in your browser using DataLab