Description Usage Arguments Details Value Examples
View source: R/fit.mstil.r.batch.R
This function finds the maximum penalised quasi likelihood estiamtes for mstil.r using batch of subsamples.
1 | fit.mstil.r.batch(x, param = NULL, show.progress = TRUE, control = list())
|
x |
matrix of quantiles of size n x k. Each row is taken as a quantile. |
param |
list of inital parameters, contains lambda, delta, Ainv, and nu. |
show.progress |
logical value. If TRUE, progress of the algorithm will be printed in console. By default TRUE. |
control |
list of control variables, see 'details'. |
The control argument is a list that accepts the following components.
a positive integer. The algorithm stops when the estimated log-likelihood is not improved by at least cvgTolR on average in cvgNR iterations. By default 5.
a positive value. The algorithm stops when the estimated log-likelihood is not improved by at least cvgTolR on average in cvgNR iterations. By default 1e-2.
a positive value, represents the L2 penalty coefficient for lambda. By default 0.
a positive value, represents the L2 penalty coefficient for Ainv. By default 0.
a positive integer, represents the maximum number iterations allowed. By default 1e3.
a positive integer, represents the maximum number of iterations allowed in optim. By default 10.
a positive integer, represents the batch sample size. By default n.
a list with components:
logLik |
a vector of values of the log-likelihood function after each itereation. |
par |
a list of lists of fitted parameters after each iteration. |
time |
a vector recorded the time elapsed after each iteration. |
1 2 3 | # Not run:
# data(RiverFlow)
# fit.mstil.r.batch(as.matrix(log(RiverFlow)), control = list(batchSizeR = 100))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.