The mixed normal distribution

Share:

Description

Density, distribution function, quantile function and random generation for the 4-parameter FMKL GLD with parameter lambdas.

Usage

1
2
3
4
 dgld(x,lambdas)
 pgld(q,lambdas)
 qgld(p,lambdas)
 rgld(n,lambdas)

Arguments

x,q

vector of quantiles.

p

A vector of probabilities.

n

number of observations. If 'length(n) > 1', the length is taken to be the number required.

lambdas

vector of dimension 4.

Author(s)

B. Wang bwang@southalabama.edu

Examples

1
2
3
4
5
 lambdas <- c(33,1.4,-1.5,-.6)
 rgld(3,lambdas)
 qgld(c(0,.1,.3,.5,.8,.9,1),lambdas)
 pgld(c(25,30,34,35,40), lambdas)
 dgld(c(25,30,34,35,40), lambdas)