m1df

0th

Percentile

Generic Function for the Computation of Clipped First Moments

Generic function for the computation of clipped first moments. The moments are clipped at upper.

Keywords
methods, distribution
Usage
m1df(object, upper)
Arguments
object
object of class "Distribution"
upper
clipping bound
Details

The precision of the computations can be controlled via certain global options; cf. distrExOptions.

Value

  • The first moment of object clipped at upper is computed.

concept

  • functional
  • truncated moment
  • moment

See Also

distrExIntegrate, m2df, E

Aliases
  • m1df
  • m1df-methods
  • m1df,UnivariateDistribution-method
  • m1df,AbscontDistribution-method
  • m1df,DiscreteDistribution-method
  • m1df,Binom-method
  • m1df,Pois-method
  • m1df,Norm-method
  • m1df,Exp-method
  • m1df,Chisq-method
Examples
# standard normal distribution
N1 <- Norm()
m1df(N1, 0)

# Poisson distribution
P1 <- Pois(lambda=2)
m1df(P1, 3)

# absolutely continuous distribution
D1 <- Norm() + Exp() # convolution
m1df(D1, 2)
m1df(D1, Inf)
E(D1)
Documentation reproduced from package distrEx, version 1.9, License: GPL (version 2 or later)

Community examples

Looks like there are no examples yet.