Control parameters supplied in the function call replace
the defaults to be used in calling snr
.
snr.control(rkpk.control = list(job = -1, tol = 0, init = 0, limnla = c(-10,
0), varht = NULL, theta = NULL, prec = 1e-06, maxit = 30),
nls.control = list(returnObject = TRUE, maxIter = 5), incDelta = 0.001,
prec.out = 0.001, maxit.out = 30, converg = "COEF", method = "GN",
backfit = 5)
returned is a list includes all re-seted control parameters.
a optional list of control parameters for dsidr or dmudr to estimate the unknown functions. Default is "list(job = -1, tol = 0, init = 0, limnla = c(-10, 0), varht = NULL, theta = NULL, prec = 1e-06, maxit = 30)".
a list of control parameters for the nonlinear regression step, the same as gnlsControl. Default is "list(returnObject = TRUE, maxIter = 5).
the incremental value to be used to calculate derivatives for the unknown functions. Default is 0.001
tolerance for convergence criterion. Default is 0.0001.
maximum number of iterations for the algorithm. Default is 30.
an optional character, with possible values COEF
and PRSS
, specifying the convergence
criterion to be used. COEF
uses the change of estimate of parameters and functions to
assess convergence, and PRSS
uses penalized residual sums of squares. Default is COEF
.
an optional string of value either GN
for Gauss-Newton or NR
for Newton-Raphson
iteration methods to estimate the unknown functions. Default is GN
.
an integer to set the number of backfitting iterations inside the loop. Default is 5
.
Chunlei Ke chunlei_ke@yahoo.com and Yuedong Wang yuedong@pstat.ucsb.edu.
snr
, dsidr
, dmudr
## use Newton-Raphson iteration and only a single backfitting
if (FALSE) {
snr.control(method="NR", backfit=1)
}
Run the code above in your browser using DataLab