Learn R Programming

ecd (version 0.6.4)

ecld.mgf_term: The term structure of ecld symmetric MGF

Description

ecld.mgf_term and ecld.mgf_diterm are the term and derivative of the term by order (n) in the summation of MGF. ecld.mgf_trunc uses ecld.mgf_diterm to locate the truncation of MGF terms. ecld.mgf_trunc_max_sigma locates the maximum sigma that keeps MGF finite for each lambda. SGED is supported.

Usage

ecld.mgf_term(object, order, t = 1)
ecld.mgf_diterm(object, order, t = 1)
ecld.mgf_trunc(object, t = 1)
ecld.mgf_trunc_max_sigma(object, order = 1)

Arguments

object
an object of ecd class
order
numeric. Order of the term (moment)
t
numeric, for MGF

Value

numeric

Examples

Run this code
ld <- ecld(3, sigma=0.01*ecd.mp1)
ecld.mgf_trunc(ld)

Run the code above in your browser using DataLab