- formula
The formula has the following form Y ~ X11 | X14 | X24
whereas Y
is the outcome variable taking values 1, 3, or 4 depending on which outcome resulted. The explanatory variables are supplied via X11
, X14
, and X24
depending on which part of the utility function they should explain.
- corr
Logical. If corr=TRUE
a strategic selection estimator is estimated. If corr=FALSE
an ordinary agent error model is estimated as the command egame12
in the games
package does. Note, that the variance of the error terms is fixed differently and hence the coefficients will be different, but all resulting statistics (z-values, predicted probabilities, ...) are identical as the fixed variances are identifying assumptions. See logLikStratSel
for details.
- Startval
Vector. Allows the user to specify starting values. If there is no user-supplied vector the function will generate starting values itself. It is strongly recommended to to let the function determine the optimal starting values.
- optim.method
Optimization method to be used by optim
; can be: "Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", or "Brent". See optim
for details. The default is "BFGS".
- data
an optional data frame, list or environment (or object coercible by as.data.frame
to a data frame) containing the variables in the model. If not found in data
, the variables are taken from environment(formula)
, typically the environment from which StratSel
is called.
- ...
additional arguments.