Usage
probit(formula, subset, na.action, start = NULL, data = sys.frame(sys.parent()),
x=FALSE, y = FALSE, model = FALSE, method="ML", ... )
Arguments
formula
a symbolic description of the model to be fit, in the
form response ~ explanatory variables
(see also details).
subset
an optional vector specifying a subset of observations to be
used in the fitting process.
na.action
a function which indicates what should happen when the data
contain 'NA's. The default is set by the 'na.action' setting
of 'options', and is 'na.fail' if that is unset. The
'factory-fresh' default is 'na.omit'. Another po
start
inital value of parameters.
data
an optional 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 probit
is called.
x, y, model
logicals. If TRUE the corresponding components of
the fit (the
model matrix, the response, the model frame) are returned.
method
the method to use; for fitting,
currently only method = "ML" (Maximum Likelihood) is supported;
method = "model.frame" returns the model frame (the same as
with model = TRUE, see below).
...
further arguments for maxLik
.