- formula
an object of class formula specifying the regression:
typically y ~ x1 + ..., where y is the dependent variable and
the x's are regressors.
- data
an optional data.frame containing the variables referenced in
formula. If not found in data, variables are taken from
environment(formula).
- subset
an optional logical or numeric vector specifying the subset of observations
to be used in estimation.
- ln.var.v
optional one-sided formula; e.g. ln.var.v ~ z1 + z2. When provided,
the error variance is modeled as \(\log(\sigma_i^2) = w_i^\top \gamma_v\).
If NULL, the variance is homoskedastic.
- technique
character vector specifying the preferred optimization routine(s) in order of
preference. Recognized keywords (for future implementation) include "bfgs"
"bhhh", "nm" (Nelder–Mead), "bfgs",
and "cg". Default is "bfgs". This scaffold records but does not
execute the chosen routine.
- lmtol
numeric. Convergence tolerance based on scaled gradient (when applicable).
Default 1e-5.
- reltol
numeric. Relative convergence tolerance for likelihood maximization.
Default 1e-12.
- maxit
integer. Maximum number of iterations for the optimizer. Default 199.
- optim.report
integer. Verbosity level for reporting progress (if implemented). Default 1.
- optim.trace
integer. Trace level for optimization (if implemented). Default 1.
- print.level
integer. Printing level for summaries. Default 0.
- digits
integer. Number of digits for printing. Default 4.
- only.data
logical. If TRUE, returns only constructed data/matrices without
estimation. Default FALSE.
- ...
additional arguments reserved for future methods (e.g., bounds, penalties).