Learn R Programming

fitdistcp (version 0.1.1)

dcauchy_p1sub: Densities from MLE and RHP

Description

Densities from MLE and RHP

Usage

dcauchy_p1sub(x, t, y, t0, d1, d2, fd3, aderivs = TRUE)

Value

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

Arguments

x

a vector of training data values

t

a vector or matrix of predictors

y

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

t0

a single value of the predictor (specify either t0 or n0 but not both)

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

fd3

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

aderivs

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