% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/multinomialreg.R
\name{predict.mlogit}
\alias{predict.mlogit}
\title{Predictions from Multinomial Regression}
\usage{
\method{predict}{mlogit}(
  object,
  newdata,
  se = TRUE,
  response = TRUE,
  Y = NULL,
  level = 0.95,
  ...
)
}
\arguments{
\item{object}{Object of class \code{"mlogit"}.}

\item{newdata}{Data frame for prediction. If missing, predictions are made for the original data.}

\item{se}{Logical; if \code{TRUE}, computes standard errors and confidence intervals.}

\item{response}{Logical; if \code{TRUE} (default), returns probabilities only for the observed response
(if \code{newdata} contains the response). If \code{FALSE}, returns probabilities for all categories.}

\item{Y}{Vector of outcome levels to predict probabilities for (optional).}

\item{level}{Confidence level for intervals (default 0.95).}

\item{...}{Additional arguments.}
}
\value{
A matrix or data frame containing:
\item{pred}{Predicted probabilities.}
\item{se}{Standard errors (if \code{se=TRUE}).}
\item{lower, upper}{Confidence intervals (if \code{se=TRUE}).}

If \code{response=FALSE}, columns correspond to the levels of the outcome factor.
}
\description{
Computes predicted probabilities for the categorical outcome based on a \code{mlogit} object.
Can return probabilities for all categories or only for the observed response.
}
\seealso{
\code{\link{mlogit}}
}
\author{
Thomas Scheike
}
