dpareto_p1k2sub {fitdistcp} | R Documentation |
Densities from MLE and RHP
Description
Densities from MLE and RHP
Usage
dpareto_p1k2sub(x, t, y, t0, d1, d2, kscale, aderivs = TRUE, debug = FALSE)
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 |
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 |
kscale |
the known scale parameter |
aderivs |
logical for whether to use analytic derivatives (instead of numerical) |
debug |
debug flag |
Value
A vector of parameter estimates, two pdf vectors, two cdf vectors
[Package fitdistcp version 0.1.1 Index]