Learn R Programming

fitdistcp (version 0.1.1)

dgev_p123sub: Densities for 5 predictions

Description

Densities for 5 predictions

Usage

dgev_p123sub(
  x,
  t1,
  t2,
  t3,
  y,
  t01,
  t02,
  t03,
  ics,
  d1 = 0.01,
  d2 = 0.01,
  d3 = 0.01,
  d4 = 0.01,
  d5 = 0.01,
  d6 = 0.01,
  extramodels,
  debug,
  aderivs = TRUE
)

Value

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

Arguments

x

a vector of training data values

t1

a vector of predictors for the mean

t2

a vector of predictors for the sd

t3

a vector of predictors for the shape

y

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

t01

a single value of the predictor (specify either t01 or n01 but not both)

t02

a single value of the predictor (specify either t02 or n02 but not both)

t03

a single value of the predictor (specify either t03 or n03 but not both)

ics

initial conditions for the maximum likelihood search

d1

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

d2

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

d3

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

d4

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

d5

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

d6

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

extramodels

logical that indicates whether to add three additional prediction models

debug

debug flag

aderivs

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