.nlsur | R Documentation |
.nlsur()
is a function for estimation of a non-linear seemingly
unrelated regression model in R.
.nlsur(
eqns,
data,
startvalues,
S = NULL,
robust = robust,
nls = FALSE,
fgnls = FALSE,
ifgnls = FALSE,
qrsolve = FALSE,
MASS = FALSE,
trace = FALSE,
eps = eps,
tau = tau,
maxiter = maxiter,
tol = tol,
initial = initial
)
eqns |
is can be a single equation or a equation system. If eqns is a
single equation it will internally be converted to a list. Estimation of a
single equation might as well be done using |
data |
is the data set on which the equation is applied. This can be of
every type |
startvalues |
is a vector of initial start values. For |
S |
is a weighing matrix used for estimation in Feasible Generalized
Non-Linear Least Squares (FGNLS) and Iterative FGNLS. For |
robust |
should a robust standard error be calculated |
nls |
is a logical and default if estimation is done for NLSUR or NLS. |
fgnls |
is a logical and must be set, if estimation is done for FGNLS.
This is called in a function called |
ifgnls |
is a logical and must be set, if estimation is done for ifgnls.
This is called in a function called |
qrsolve |
is a logical, if TRUE |
MASS |
is a logical, if TRUE |
trace |
is a logical. If TRUE the current iterations SSR is called. |
eps |
the epsilon used for convergence in nlsur(). Default is 1e-5. |
tau |
is another convergence variable. Default is 1e-3. |
maxiter |
maximum number of iterations |
tol |
qr.solves tolerance for detecting linear dependencies. |
initial |
logical if initial calculation set. used to avoid calculation of svd numerous times |
nlsur is a function for estimation of a non-linear least squares
(NLS). In addition to nls()
it is capable of estimation of system of
equations. This estimation is done in a non-linear seemingly unrelated
regression approach.
Bates, D. M. and Watts, D. G. (1988) Nonlinear Regression Analysis and Its Applications, Wiley
Gallant, A. Ronald (1987): Nonlinear Statistical Models. Wiley: New York
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.