Internal 'mixtools' Functions
mixtools-internal.RdInternal kernel, semiparametric-related, and miscellaneous functions for the package mixtools.
Usage
dexpmixt(t, lam, rate)
HRkde(cpd, u = cpd[,1], kernelft = triang_wkde,
bw = rep(bw.nrd0(as.vector(cpd[,1])), length(cpd[,1])))
inv.logit(eta)
kern.B(x, xi, h, g = 0)
kern.C(x, xi, h)
kern.G(x, xi, h)
kern.O(x, xi, h)
kern.T(x, xi, h)
kfoldCV(h, x, nbsets = 2, w = rep(1, length(x)),
lower = mean(x) - 5*sd(x), upper = mean(x) + 5*sd(x))
KMintegrate(s)
KMod(cpd, already.ordered = TRUE)
ldc(data, class, score)
logit(mu)
npMSL_old(x, mu0, blockid = 1:ncol(x),
bw=bw.nrd0(as.vector(as.matrix(x))), samebw = TRUE,
h=bw, eps=1e-8, maxiter=500, bwiter = maxiter,
ngrid = 200, post = NULL, verb = TRUE)
plotseq(x, ...)
rlnormscalemix(n, lambda=1, meanlog=1, sdlog=1, scale=0.1)
splitsample(n, nbsets = 2)
triang_wkde(t, u=t, w=rep(1/length(t),length(t)), bw=rep(bw.nrd0(t), length(t)))
wbw.kCV(x, nbfold = 5, w = rep(1, length(x)),
hmin = 0.1*hmax, hmax = NULL)Arguments
- x
A vector of values to which local modeling techniques are applied.
- xi
An n-vector of data values.
- h
The bandwidth controlling the size of the window used for the local estimation around
x. This pertains to its usage in the kernel functionnskern.B,kern.C,kern.G,kern.O, andkern.T. For its usage in thekfoldCVfunction, see updated arguments in thenpMSLfunction.- g
A shape parameter required for the symmetric beta kernel. The default is
g= 0 which yields the uniform kernel. Some common values areg= 1 for the Epanechnikov kernel,g= 2 for the biweight kernel, andg= 3 for the triweight kernel.- mu0
See updated arguments in the
npMSLfunction.- blockid
See updated arguments in the
npMSLfunction.- bw
See updated arguments in the
npMSLfunction.- samebw
See updated arguments in the
npMSLfunction.- eps
See updated arguments in the
npMSLfunction.- maxiter
See updated arguments in the
npMSLfunction.- bwiter
See updated arguments in the
npMSLfunction.- ngrid
See updated arguments in the
npMSLfunction.- post
See updated arguments in the
npMSLfunction.- verb
See updated arguments in the
npMSLfunction.- n
See updated arguments in the
npMSLfunction.- nbsets
See updated arguments in the
npMSLfunction.- w
See updated arguments in the
npMSLfunction.- lower
See updated arguments in the
npMSLfunction.- upper
See updated arguments in the
npMSLfunction.- nbfold
See updated arguments in the
npMSLfunction.- hmin
See updated arguments in the
npMSLfunction.- hmax
See updated arguments in the
npMSLfunction.- data
Data, possibly multivariate, fed to the
mixturegramfunction.- class
The number of classes, inputted based on number of components in the
mixturegramfunction.- score
The score vector from LDA used in constructing a mixturegram.
- lam
A vector of mixture proportions, should sum to one.
- rate
A vector of mixture component rates.
- t
Argument for
dexpmixt.- mu
A proportion for which to calculate the logit function; i.e.,
log(mu / (1 - mu)).- eta
Any real value for which to calculate the inverse logit function; i.e.,
1 / (1 + exp(eta)).- cpd
Argument for
HRkde.- kernelft
Argument for
HRkde.- s
Argument for
KMintegrate.- meanlog
Argument for
rlnormscalemix.- sdlog
Argument for
rlnormscalemix.