Learn R Programming

fitdistcp (version 0.1.1)

dgev_k3sub: Densities from MLE and RHP

Description

Densities from MLE and RHP

Usage

dgev_k3sub(x, y, d1 = 0.01, fd2 = 0.01, kshape, aderivs = TRUE)

Value

A vector of parameter estimates, two pdf vectors, two cdf vectors

Arguments

x

a vector of training data values

y

a vector of values at which to calculate the density and distribution functions

d1

the delta used in the numerical derivatives with respect to the parameter

fd2

the fractional delta used in the numerical derivatives with respect to the parameter

kshape

the known shape parameter

aderivs

logical for whether to use analytic derivatives (instead of numerical)