Usage
egame123(formulas, data, subset, na.action,
link = c("probit", "logit"),
type = c("agent", "private"),
startvals = c("sbi", "unif", "zero"),
fixedUtils = NULL, sdformula = NULL,
sdByPlayer = FALSE, boot = 0, bootreport = TRUE,
profile, method = "BFGS", ...)
Arguments
formulas
a list of eight formulas, or a
Formula
object with eight right-hand sides.
See "Details" and "Examples". subset
an optional logical vector specifying which
observations from data
to use in fitting.
na.action
how to deal with NA
s in
data
. Defaults to the na.action
setting of
options
. See na.omit
link
whether to use a probit (default) or logit
link structure,
type
whether to use an agent-error ("agent",
default) or private-information ("private") stochastic
structure.
startvals
whether to calculate starting values for
the optimization from statistical backwards induction
("sbi", default), draw them from a uniform distribution
("unif"), or to set them all to 0 ("zero")
fixedUtils
numeric vector of values to fix for
u11, u13, u15, u16, u23, u25, u26, and u36. NULL
(the default) indicates that these should be estimated
with regressors, not fixed.
sdformula
an optional list of formulas or a
Formula
containing a regression equation
for the scale parameter. See egame12
for
details. sdByPlayer
logical: if scale parameters are being
estimated (i.e., sdformula
or fixedUtils
is
non-NULL
), should a separate one be estimated for
each player? This option is ignored unless
fixedUtils
or
boot
integer: number of bootstrap iterations to
perform (if any).
bootreport
logical: whether to print status bar
during bootstrapping.
profile
output from running
profile.game
on a previous fit of the
model, used to generate starting values for refitting
when an earlier fit converged to a non-global maximum. method
character string specifying which
optimization routine to use (see maxLik
) ...
other arguments to pass to the fitting
function (see ode{maxLik}).