RobExtremes (version 1.2.0)

GPareto: Generating function for GPareto-class

Description

Generates an object of class "GPareto".

Usage

GPareto(loc = 0, scale = 1, shape = 0, location = loc)

Arguments

loc

real number: location parameter of the GPareto distribution.

scale

positive real number: scale parameter of the GPareto distribution

shape

non-negative real number: shape parameter of the GPareto distribution.

location

alternative argument name for argument 'loc' --- to support argument names of package VGAM.

Value

Object of class "GPareto"

See Also

GPareto-class, dgpd

Examples

Run this code
# NOT RUN {
(P1 <- GPareto(loc = 1, scale = 1, shape = -0.5))
plot(P1)

E(GPareto()) 
E(P1)
E(P1, function(x){x^2})
var(P1)
sd(P1)
median(P1)
IQR(P1)
mad(P1)

# }

Run the code above in your browser using DataCamp Workspace