misclassMlogit
FitsObtains predictions
## S3 method for class 'misclassMlogit'
# S3 method for misclassMlogit
predict(object, X, P = NULL, type = c("link", "response"),
na.action = na.pass, ...)
a fitted object of class inheriting from 'misclassMlogit'.
matrix of fixed covariates.
a-posteriori probabilities for the true values of the misclassified variable. If provided, the conditional expectation on X,P is computed, otherwise a set of marginal predictions is provided, one for each alternative.
the type of prediction required. The default is on the scale of the linear predictors; the alternative "response" is on the scale of the response variable. Thus for a default binomial model the default predictions are of log-odds (probabilities on logit scale) and type = "response" gives the predicted probabilities.
The value of this argument can be abbreviated.
function determining what should be done with missing values in newdata
.
The default is to predict NA.
additional arguments (not used at the moment)
misclassMlogit