NEW FEATURES
BUG FIXES
mgedist()
may suffer a numerical issue for
Anderson-Darling GoF metrics. All GoF metrics now take care of numerical
issue, such as log(0)
or 1/0
, and are properly
scaled by the sample sized to avoid large sample size issues. Thanks for
Ethan Chapman for reporting the bug.mledist()
now takes care of numerical issue, such as
log(0)
.mledist()
, mmedist()
,
qmedist()
may suffer a scaling issue and the objective
function is properly scaled by the sample sized to avoid large sample
size issues.NEW FEATURES
fitdistrplus
git repo now belongs to the
lbbe-software
organizationactuar
.AIC()
and BIC()
for fitdist
and fitdistcens
objects.gofstat()
work with fitdistcens()
objects (giving only AIC and BIC values).optimHess()
within
fitdist()
when it is not given by
optim()
.m<dist>
should be defined up to
an order which equals to twice the maximal order given
order
.calcvcov()
in order to (dis)able the
computation of covariance matrix for any method.*comp()
now return a list of drawn
points and/or lines when plotstyle == "graphics"
.density()
function for
bootdist(cens)()
objects.BUG FIXES
scale
parameter was fixed, the
startarg
function also set a rate
parameter.
this leads to an error when calling the density.plotdistcens()
: the
following code
plotdistcens(data.frame(right=smokedfish$right, left=smokedfish$left))
raised an error via npsurv()
, thanks to R. Pouillot.breaks
in
plotdist()
.lines()
in
descdist()
.NA
,
NaN
, Inf
values).plot.np
in vignettes.NEW FEATURES
print
argument in the descdist()
function to allow to only plot the skewness-kurtosis graph, without
printing the computed parameters.BUG FIX
ggplot2
functions is
updated.CIcdfcplot()
when
ggplot2
is called.cdfcompcens()
.WARNING FIX
if(class(x) == XX)
by
if(inherits(x, XX))
dontrun
tags by donttest
in
examples in rd filesBUG FIX
t-detectbound.R
producing “failure:
length > 1 in coercion to logical” reported by Brian RipleyNEW FEATURES
Surv2fitdistcens()
to format data for use
in fitdistcens()
from a format used in the survival
packagefremale
in order to illustrate
Surv2fitdistcens()
CIcdfplot()
endosulfan
datasetcdfcomp()
and
CIcdfplot()
to add labels next to pointsWARNING FIX
NEW FEATURE
fix.arg
for uniform
distribution.BUG FIXES
mledist()
),llsurface()
,ppcomp()
and qqcomp()
raised for large dataset.NEW FEATURES
npsurv
and remove the dependence
to this package.plotdistcens()
.NEW FEATURES
msedist()
.BUG FIXES
BUG FIXES
qmedist()
and fitdistcens()
which raised an error in checkparamlist()
.testdpqfun()
which assumes the first
argument of d,p,q,r functions are exactly the same as in base R.NEW FEATURES
denscomp()
.xxxcomp()
.mledist()
, qmedist()
,
mmedist()
, mgedist()
, fitdist()
and fitdistcens()
.fitdist()
and
raise warnings.plotdistcens()
and cdfcompcens()
)plotdistcens
, qqcompcens
and ppcompcens
).xlim
and ylim
default
definition in plotdistcens
.plotdistcens()
using the argument main.ggplot2
for
cdfcompcens()
, qqcompcens()
,
ppcompcens()
.BUG FIXES
df <=0
(error message blocking the other functions)mledist()
when bounds were set (so not NULL)
for censored MLE.denscomp()
for the histogram. when
plotstyle = "ggplot"
, and prohibit the use of
non-equidistant breaks with probability = FALSE
(adding a
stop in this case).NEW FEATURES
cdfcomp()
,
denscomp()
, qqcomp()
,
ppcomp()
.BUG FIXES
qqcomp()
and ppomp()
on
large data.mmedist()
.gofstat()
.plot.bootdist()
.NEW FEATURES
llplot()
,
llcurve()
, llsurface()
.CIcdfplot()
.constrOptim()
in
mledist()
, mmedist()
, mgedist()
,
qmedist()
functions.BUG FIXES
invisible()
for all graphical functions.BUG FIXES
llogis
and invweibull
is now working.NEW FEATURES
mledist()
,
mmedist()
, mgedist()
, qmedist()
functions.cdfcomp()
.mledist()
,
qmedist()
, mmedist()
, fitdist()
,
fitdistcens()
.fitdist()
,
fitdistcens()
.fitdist(cens)()
,
bootdist(cens)()
.BUG FIXES
plotdist()
,
cdfcomp()
,…cdfcomp()
where seq(xmin,
xmax, by=1) was used.NEW FEATURES
loglik()
,
vcov()
and coef()
.descdist()
and a print
method.BUG FIXES
NEW FEATURES
BUG FIXES
bootdistcens()
: argument fix.arg is now
correctly passed to mle.NEW FEATURES
gofstat
can handle multiple fitdist()
objects.plotdist
for discrete data is slightly enhanced.NEW FEATURES
fitdist
for QQ plot, PP plot and
cdf plot for continuous data (was used only for QQ plot in previous
versions) to enable Blom type plotting position (using by default Hazen
plotting position than can be chanfge using arguments use.ppoints and
a.ppoints)fluazinam
,
salinity
, danishuni
and
danishmulti
.fitdist()
and bootdist()
objects and quantile generic function is available both for
fitdistcens()
and bootdistcens()
objects.BUG FIXES
cdfcompcens()
.mmedist()
for
lognormal distributions.NEW FEATURES
bottomright
) in cdfcomp()
and
cdfcompdens()
.BUG FIXES
fitdistcens
object (with the
correlation matrix, the loglikelihood and AIC and BIC statistics).NEW FEATURES
cdfcompcens()
) to plot cumulative
distributions corresponding to various fits using a same censored data
set.NEW FEATURES
plotdistcens()
,
using the Turnbull algorithm by a call to function
survfit{survival}.cdfcomp()
: verticals,
horizontals and xlim.NEW FEATURES
NEW FEATURES
cdfcomp()
) to plot cumulative
distributions corresponding to various fits using a same non censored
data set.endosulfan
and
toxocara
.BUG FIXES
NEW FEATURES
mgedist()
)
(for the moment only available for non censored data).NEW FEATURES
gofstat()
,
with corresponding test : the Cramer-von Mises distance.qmedist()
). For the moment, only
available for non censored data.mmedist()
) to enable numerical matching when closed formula
are not available.BUG FIXES
fix.arg
which prevent the print of the results of
goodness-of-fit tests.NEW FEATURES
fitdist()
and fitdistcens()
in order to pass
optional arguments for the control of optimization in
mledist()
to bootdist()
and
bootdistcens()
. bootdist()
and
bootdistcens()
changed to take into account these optional
arguments if they are defined in the call to fitdist()
or
fitdistcens()
.fitdist()
,
fitdistcens()
and mledist()
, named
fix.arg
, and giving the possibility to fix some of the
distribution parameters while maximizing the likelihood. Functions
bootdist, bootdistcens and gofstat were also changed in order to take
this new argument into account.BUG FIXES
bootdist()
or bootdistcens()
when there
was only one parameter estimated by maximum likelihood.NEW FEATURES
groundbeef
(groundbeef.rda and
groundbeef.Rd) and new use of this dataset in some examples.gofstat()
. Goodness-of-fit statistics are
no more computed by fitdist but may computed and printed by the use of
the function gofstat. In this new function, the whole results computed
are not printed : results of tests are printed only if the argument
print.test==TRUE and for continuous distributions only Anderson-Darling
and Kolomogorov-Smirnov statistics are printed by default (but complete
results are returned by gofstat).descdist()
: three arguments were
added in descdist 1/ method, to choose between unbiased estimations of
standard deviation, skewness and kurtosis (default choice) and sample
values. 2/ obs.col to choose the color used to plot the observed point
on the graph. 3/ boot.col to choose the color used to plot the bootstrap
sample of points on the graph.plotfit()
: minor changes were
performed in order to facilitate the use of the argument … to
personnalize the plots (see examples in plotdist.Rd)BUG FIXES
plotdist()
due to the
redefinition in the previous version of the parameter
"ylim"
for the plot of a histogram with theoretical density
function (there was a problem with infinite values of theoretical
density function).NEW FEATURES
"optim.method"
of mledist()
."lower"
and "upper"
of
mledist()
."custom.optim"
."mom"
but set to "mme"
in
fitdist()
.momdist
in mmedist()
."log"
and (resp.
"log.p"
) of density (resp. distribution) when available to
compute the loglikelihood.BUG FIXES
dexGAUS
from the package gamlss.dist.