Learn R Programming

fitdistcp (version 0.1.1)

dgevsub: Densities for 5 predictions

Description

Densities for 5 predictions

Usage

dgevsub(
  x,
  y,
  ics,
  d1 = 0.01,
  fd2 = 0.01,
  d3 = 0.01,
  customprior,
  minxi,
  maxxi,
  extramodels = FALSE,
  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

ics

initial conditions for the maximum likelihood search

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

d3

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

customprior

a custom value for the slope of the log prior at the maxlik estimate

minxi

minimum value of shape parameter xi

maxxi

maximum value of shape parameter xi

extramodels

logical that indicates whether to add three additional prediction models

aderivs

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