Learn R Programming

fitdistcp (version 0.1.1)

dinvgausssub: Densities from MLE and RHP

Description

Densities from MLE and RHP

Usage

dinvgausssub(x, y, prior, fd1 = 0.01, fd2 = 0.01, 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

prior

logical indicating which prior to use

fd1

the fractional 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

aderivs

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