Truncated mean of the Binomial distribution
with size
Etronq_binom(d, size, prob, less.than.d = TRUE)
cut-off value.
Number of trials (0 or more).
Probability of success on each trial.
logical; if TRUE
(default) truncated mean for values <= d, otherwise, for values > d.
Function :
MGF_binom
gives the moment generating function (MGF).
E_binom
gives the expected value.
V_binom
gives the variance.
Etronq_binom
gives the truncated mean.
TVaR_binom
gives the Tail Value-at-Risk.
VaR_binom
gives the Value-at-Risk.
Invalid parameter values will return an error detailing which parameter is problematic.
The Binomial distribution with probability of success
Other Binomial Distribution:
E_binom()
,
MGF_binom()
,
PGF_binom()
,
TVaR_binom()
,
V_binom()
,
VaR_binom()
# NOT RUN {
Etronq_binom(d = 2, size = 3, prob = 0.5)
Etronq_binom(d = 0, size = 3, prob = 0.5, less.than.d = FALSE)
# }
Run the code above in your browser using DataLab