Internal functions of package distrMod
These functions are used internally by package “distrMod”.
.inArgs(arg, fct) .isUnitMatrix(m) .csimpsum(fx) .validTrafo(trafo, dimension, dimensionwithN) .CvMMDCovariance(L2Fam, param, mu = distribution(L2Fam), withplot = FALSE, withpreIC = FALSE, N = 1021, rel.tol=.Machine$double.eps^0.3, TruncQuantile = getdistrOption("TruncQuantile"), IQR.fac = 15, ..., diagnostic = FALSE) .oldCvMMDCovariance(L2Fam, param, mu = distribution(L2Fam), withplot = FALSE, withpreIC = FALSE, N = getdistrOption("DefaultNrGridPoints")+1, rel.tol=.Machine$double.eps^0.3, TruncQuantile = getdistrOption("TruncQuantile"), IQR.fac = 15, ...) .CvMMDCovarianceWithMux(L2Fam, param, withplot = FALSE, withpreIC = FALSE, N = 1021, rel.tol=.Machine$double.eps^0.3, TruncQuantile = getdistrOption("TruncQuantile"), IQR.fac = 15, ..., x=NULL) .show.with.sd(est, s) .getLogDeriv(distr, lowerTruncQuantile = getdistrExOption("ElowerTruncQuantile"), upperTruncQuantile = getdistrExOption("EupperTruncQuantile"), IQR.fac = getdistrExOption("IQR.fac")) .deleteDim(x)
arg |
a formal argument as character |
fct |
a function |
m |
a matrix |
est |
an estimator; usually a vector |
s |
a standard deviation |
trafo |
an object of class |
dimension |
a numeric — length of main part of the parameter |
dimensionwithN |
a numeric — length of main and nuisance part of the parameter |
L2Fam |
an object of class |
param |
an object of class |
mu |
an object of class |
rel.tol |
relative tolerance for |
TruncQuantile |
quantile for quantile based integration range. |
lowerTruncQuantile |
lower quantile for quantile based integration range. |
upperTruncQuantile |
upper quantile for quantile based integration range. |
IQR.fac |
factor for scale based integration range (i.e.;
median of the distribution +- |
withplot |
logical: shall we plot corresponding ICs? |
withpreIC |
logical: shall we return a list with components |
N |
a numeric: the number of gridpoints for constructing the mu- resp. P_theta-“primitive” function |
fx |
a vector of function evaluations multiplied by the gridwidth |
distr |
an object of class |
... |
further argument to be passed through — so
|
x |
in |
diagnostic |
logical; if |
.inArgs
(borrowed from package distr)
checks whether an argument arg
is a formal argument of
fct
— not vectorized.
.csimpsum
(borrowed from package distr)
produces a primitimive function out of function evaluations by means
of vectorized Simpson quadrature method, returning already the function values
of the prime function on a grid; it is to mimick the behaviour
of cumsum
.
.isUnitMatrix
checks whether the argument is a unit matrix.
.validTrafo
checks whether the argument is a valid transformation.
.CvMMDCovariance
determines the IC resp. the as. [co]variance of
the corresponding Minimum CvM estimator (numerical integration is done on
quantile scale).
.oldCvMMDCovariance
determines the IC resp. the as. [co]variance of
the corresponding Minimum CvM estimator (numerical integration is done on
the original scale).
.CvMMDCovariance
is a wrapper to .CvMMDCovariance
which uses
emp. cdf as mu.
.show.with.sd
is code borrowed from print.fitdistr
in
package MASS by B.D. Ripley. It pretty-prints estimates with corresponding
sd's below.
.getLogDeriv
determines numerically the negative logarithmic derivative of the
density of distribution distr
; to this end uses D1ss
,
D2ss
from Martin Maechler's package sfsmisc.
.deleteDim
deletes a possible dim
argument (sets it to NULL
)
but retains all other possible attributes, in particular a name
attribute.
.getLogderiv |
a function in one argument |
.inArgs |
|
.csimpsum |
|
.isUnitMatrix |
|
.validTrafo |
|
.CvMMDCovariance |
corresponding as. [co]variance of
the corresponding Minimum CvM estimator or list withcomponents
|
.show.with.sd |
|
.deleteDim |
vector |
Peter Ruckdeschel peter.ruckdeschel@uni-oldenburg.de Matthias Kohl Matthias.Kohl@stamats.de
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.