% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mlmodel-utils.R
\name{loglikeObs}
\alias{loglikeObs}
\alias{loglikeObs.mlmodel}
\title{Log-Likelihood by Observation}
\usage{
loglikeObs(object)

\method{loglikeObs}{mlmodel}(object)
}
\arguments{
\item{object}{An \code{mlmodel} object.}
}
\value{
A numeric vector of length \code{nobs(object)} containing the
log-likelihood contribution of each observation.
}
\description{
Extract the per-observation log-likelihood contributions from an \code{mlmodel}
object.
}
\details{
These individual contributions are useful for Vuong tests, robust variance
estimation, or custom model diagnostics.
}
