Learn R Programming

bda (version 10.1.9)

gld: The mixed normal distribution

Description

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

Usage

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.

Examples

Run this code
# NOT RUN {
 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)

# }

Run the code above in your browser using DataLab