R/NormalSupp.R

Defines functions mgfnorm mnorm

Documented in mgfnorm mnorm

### actuar: Actuarial Functions and Heavy Tailed Distributions
###
### Definition of the {m,mgf}norm functions to compute raw and the
### moment generating function for the Normal distribution (as defined
### in R).
###
### See Chapter 13 of Johnson & Kotz, Continuous univariate
### distributions, volume 1, Wiley, 1970
###
### AUTHORS: Christophe Dutang, Vincent Goulet <vincent.goulet@act.ulaval.ca>

mnorm <- function(order, mean = 0, sd = 1)
    .External(C_actuar_do_dpq, "mnorm", order, mean, sd, FALSE)

mgfnorm <- function(t, mean = 0, sd = 1, log = FALSE)
    .External(C_actuar_do_dpq, "mgfnorm", t, mean, sd, log)

Try the actuar package in your browser

Any scripts or data that you put into this service are public.

actuar documentation built on Nov. 8, 2023, 9:06 a.m.