Generating function for GPareto-class

Description

Generates an object of class "GPareto".

Usage

1
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"

Note

The class "GPareto" is based on the code provided by the package evd by Alec Stephenson.

Author(s)

Nataliya Horbenko Nataliya.Horbenko@itwm.fraunhofer.de

See Also

GPareto-class, dgpd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
(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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.