Huberize-methods | R Documentation |
Huberize-methods
Huberize(object, ...)
## S4 method for signature 'AcDcLcDistribution'
Huberize(object,lower,upper,
withSimplify = getdistrOption("simplifyD"))
object |
distribution object |
... |
further arguments for |
lower |
numeric; lower truncation point |
upper |
numeric; upper truncation point |
withSimplify |
logical; is result to be piped through a call to
|
the corresponding distribution of the truncated random variable
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.