| penfaOptions {penfa} | R Documentation |
penfa Options
Description
The default options internally used by the penfa
function. These options can be changed by passing "name = value" arguments to
the penfa function call, where they are being added to the "..."
argument.
Usage
penfaOptions(
opt = list(meanstructure = FALSE, int.ov.free = FALSE, int.lv.free = FALSE,
orthogonal = FALSE, std.lv = FALSE, auto.fix.first = FALSE, auto.fix.single = FALSE,
std.ov = FALSE, information = "fisher", control = list(), optim.dx.tol = 100, a.scad
= 3.7, a.mcp = 3, a.alasso = 1, weights = NULL, cbar = 1e-08, gamma = 4, user.start =
FALSE, start.val = c(), verbose = TRUE, warn = TRUE, debug = FALSE)
)
Arguments
opt |
List of default options. See below for details. |
Details
The following section details the full list of options currently
accepted by the penfa function.
Model features:
meanstructure:Logical. If
TRUE, a meanstructure is requested. It should be used in conjunction withint.ov.freeandint.lv.freeor intercept-like formulas in the model syntax. Default toFALSE.int.ov.free:Logical. If
FALSE, the intercepts of the observed variables are fixed to zero. Default toFALSE.int.lv.free:Logical. If
FALSE, the intercepts of the common factors are fixed to zero. Default toFALSE.orthogonal:Logical. If
TRUE, all covariances among the common factors are set to zero. Default toFALSE.std.lv:Logical. If
TRUE, the factor variances are fixed to 1.0. Default toFALSE.auto.fix.first:Logical. If
TRUE, the factor loading of the first indicator is set to 1.0 for every factor. Default toFALSE.auto.fix.single:Logical. If
TRUE, the residual variance (if included) of an observed indicator is set to zero if it is the only indicator of a common factor. Default toFALSE.
Data options:
std.ov:Logical. If
TRUE, all observed variables are standardized before entering the analysis. Default toFALSE.
Estimation and optimization:
information:Character. If
"fisher", the penalized expected Fisher information matrix is used as second-order derivatives in the trust-region algorithm and for computing the standard errors of the model parameters. If"hessian", the penalized Hessian matrix is used. Default to"fisher".control:A list containing control parameters passed to the trust-region optimizer. See the manual page of
trustfrom thetrustpackage for an overview of its control parameters. Default values for these parameters arerinit=1L,rmax=100L,iterlim=1000L,
fterm = sqrt(.Machine$double.eps),mterm = sqrt(.Machine$double.eps).optim.dx.tolNumeric. The tolerance value used when checking the size of the elements of the gradient of the objective function. Default equal to 100.
Penalization:
a.scadNumeric. The shape parameter for the scad penalty. Default to 3.7, as recommended by Fan & Li (2001).
a.mcpNumeric. The shape parameter of the mcp penalty. Default to 3.
a.alassoNumeric. The exponent in the adaptive weights for the alasso penalty. Default to 1.
weightsNumeric. Only valid when either
pen.shrinkorpen.diffis equal to "alasso". An optional vector of values provided by the user representing a consistent estimate for each model parameter. The vector is then internally used for computing the adaptive weights. If unspecified, the maximum likelihood estimates (MLE) from the unpenalized model are used.cbarNumeric. Numerical constant used in the local approximation of the penalty functions. Default to 1e-08.
Automatic procedure:
gammaNumeric. The value of the influence factor used in the automatic tuning parameter procedure. Default to 4.
user.startLogical whether the user has provided a vector of starting values for the model parameter estimates.
start.valNumeric. An optional vector of parameter estimates to be used as starting values for the model parameters. This option is also internally used by the automatic procedure.
Verbosity options:
verbose:Logical. If
TRUE, some information on the estimation process (e.g., convergence and admissibility checks, effective degrees of freedom) are printed out. Default toTRUE.warn:Logical. If
TRUE, some warnings are printed out during the iterations. Default toTRUE.debug:Logical. If
TRUE, debugging information is printed out. Default toFALSE.
Value
A list of default options internally used by the penfa
function.