NEWS | R Documentation |
pK(u, log.p=TRUE)
now correctly checks u
.
rotCopula(cop)
now does rotate in the default
case.
vcov(fitCopula(*, "mpl"))
now works (returning a
matrix of NA
s).
fitCopula(joeCopula(), *, method = "itau")
gave an
error instead of warning.
setTheta(<rotCopula>, <par>)
now works.
xvCopula(<rotCopula>, <data>)
now works.
fitMvdc()
now works again for a “df.fixed-tCopula”.
"mvdc"
methods for contour()
, persp()
and wireframe2()
now use ylim
correctly.
cCopula(<archmCopula>)
failed for 2-dimensional AMH,
Clayton, and Frank in the negative-τ case.
Also, cCopula()
sometimes returned a vector instead of an
n * k matrix (which ?cCopula
has promised
always).
pCopula()
was wrong (but gave a warning) for some
(unbalanced) nested archimedean copulas.
Adding an abstraction level, using (currently hidden) "setr"
and "getr" methods, allows to simplify class definition for
"khoudrajiCopula"
and fitCopula()
now to also work
e.g. for rotCopula(khoudrajiCopula(.), ..)
.
The coef()
method for fitCopula()
or
fitMvdc()
results can get the matrix of parameters
and their standard errors by the new option SE = TRUE
.
summary(fitCopula(*))
and summary(fitMvdc(*))
have a nicer print()
method and print more than just
printing the fitted objects. Note that
printing fitCopula(*)
or fitMvdc(*)
no longer
computes and prints standard errors ("Std. Error"
), but
printing summary(fit..(*))
does (see above).
improved documentation about pK()
and qK()
.
mixCopula()
and "mixCopula"
class for
arbitrary finite mixtures of copulas.
splom2()
now works when a single “global”
color is specified.
C.n(u, X, *)
now has X
as second argument,
calls pobs(X)
and then F.n(*,*)
; previously,
C.n
and F.n
were practically equivalent, which has
been confusing.
pobs()
is more flexible, accepting numeric vectors, and
e.g., keeping "xts"
and "zoo"
class attributes.
improved R markdown vignettes.
Internally, notably for etau()
and "itau"
fitting, make
use of fast Kendall's tau from package pcaPP (via hidden
corKendall()
).
fitCopula()
gets now method "itau.mpl"
for
tCopula
s, which implements the robust estimation method of
Mashal and Zeevi (2002).
various improvements in gofCopula()
related to the
alternative test statistics (method != "Sn"
).
new xvCopula()
function: cross-validated copula fitting
for model selection.
Asymmetric copulas are now better implemented; previous
asymCopula()
and asymExplicitCopula()
are deprecated
and to be replaced by khoudrajiCopula()
.
“Rotated” copulas, i.e., generalizations of
“survival” copulas, are now available via rotCopula()
.
gofEVCopula()
's default optim.method
has been
changed from "Nelder-Mead"
to "BFGS"
in line with
fitCopula()
and because Nelder-Mead is warned against in the
1-dimensional case.
new getAname()
useful e.g., in htrafo()
.
Parts of a parameter vector can be kept fixed
(“known”), see fixedPar
. The "tCopula"
and "tevCopula"
classes consequently no longer have a
df
slot.
Functions deprecated (.Deprecated
) since 2012, namely,
K
, beta.hat
, calibKendallsTau
,
calibSpearmansRho
, kendallsTau
, spearmansRho
,
genInv
, genFun
, genFunDer1
, genFunDer2
,
Afun
, AfunDer
,
Anfun
, dcopula
, pcopula
, rcopula
,
dmvdc
, pmvdc
, and rmvdc
are now defunct (the user still sees them and gets a useful
error message from .Defunct()
!).
Function tailindex
is deprecated in favor of new
lambda()
; gofMB()
and gofPB()
calls are
deprecated and to be replaced by gofCopula(.., simulation = *)
.
Function rtrafo()
has now been deprecated, users
should work with cCopula()
instead.
Various improvements in data visualization tools such as
contour()
, persp()
, contourplot2()
,
pairs2()
, wireframe2()
, cloud2()
and
splom2()
.
qK()
gets log.p
option.
New demo "NALC" on nested Archimedean Levy copulas
Explicitly import from "base packages"
contour(<mvdc>, ..)
gets new default
box01=FALSE
, as a [0,1]^2 box does not make sense for
general multivariate distributions.
coeffG()
is exported (though still partly subject to change)
new (rmarkdown -> knitr) vignette wild_animals
from
former demo.
pCopula(*, cop)
for normal- or t- copulas cop
now accepts optional arguments to be passed to the underlying
(numerical integration) algorithm from package mvtnorm.
fixed the (dontrun) 3d example of gofCopula
.
New demo on tail compatibility
lsum(): also work for vectors and when result is zero,
i.e. log(0) == -Inf
.
Fix bug which did not allow to set non-default
optim.method
in gofCopula()
.
Not fully back-compatible change: gofCopula()
now
passes all extra arguments via ...
to fitCopula()
.
Before, gofPB()
passed them to the trafo.method.
The default for the optional estimate.variance
argument
of fitCopula()
and fitMvcd()
now is TRUE
only if
the optimization converged.
rtrafo()
is more efficient for "normalCopula".
fitMvdc()
now also works when margin parameter has
length >1.
fitMvdc()
gains optional arguments lower
and
upper
for specifying box-constraints to optim().
Fixes some border cases, notably psi()
for negative tau
Gumbel, Clayton and AMH copulas,
debye[12]()
functions improvements (e.g., Inf
)
New log1pexp()
from Rmpfr's vignette
‘log1mexp’.
rho(<amhCopula>)
now numerically stable, also works for
theta ~= 0, using Martin's beautiful
formula, as documented in the new vignette
‘rhoAMH-dilog.Rnw’.
Purely numerical .psiFrank()
etc; accuracy improvements for
psi()
, rho()
, tau()
for small |α|
for Frank.
New cospi2()
, tanpi()
; iTau()
and
iRho()
have a smaller tolerance of 1e-7
and hence are
more accurate where they use inversion.
polylog(x, 2)
now uses gsl's dilog()
.
pCopula()
now works for a t-copula with df=Inf
.
rtrafo()
with new option 'inverse=TRUE', hence can be
used for sampling.
Fixed overflow bug (seg.fault) for large n^2 p
Fixed qqplot2()
case
pobs(*, lower.tail)
new optional argument.
new optional argument indepC.maybe
to (Archimedean)
copula constructors.
empirical copula functions C.n()
and F.n()
all.equal(*, tol)
adaption to upcoming R changes.
a bug fix version, as 0.999-6
had in one case
accidentally introduced a NON-back compatible version in
gofCopula()
.
gofCopula()
gets a new trafo.method
argument,
now also can use (new) htrafo()
in addition to Rosenblatt's
transform rtrafo
.
...
new back-compatibility feature which allows older R scripts (notably the 2010 JSS paper) to still run without errors.
...
...
...
...
After the copula week at ETH (July 9–13):
Renaming (and deprecation) “orgy”: ... ...
...
...
...
dK()
, pK()
, qK()
, rK()
: Kendall's
distribution functions.
...
export log1mexp()
added facilities for Hofert & Maechler's graphical GOF testing.
fixed corner cases of dcopulat()
and dcopulaNormal()
.
polyG()
and dsumSibuya()
improvements; possibly
using Rmpfr.
fixed "boundary overrun" bug in indepence tests built on empirical copula.
Big merge of former CRAN packages nacopula (Maechler and Hofert) and copula (Yan and Kojadinovic) into new “super package”.
new class "Copula"
, with [dpr]copula()
methods
for "nacopula".