% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/resi.R
\name{resi}
\alias{resi}
\title{Compute rasch person-item residuals}
\usage{
resi(thetahat_i, delta_hat_j, res, beta = 0)
}
\arguments{
\item{thetahat_i}{Person parameter estimate for person i}

\item{delta_hat_j}{Item threshold parameter estimates for item j}

\item{res}{Response of person i to item j}

\item{beta}{Estimated latent mean difference between groups, can be ignored}
}
\value{
A single scalar equal to the residual for person i on item j
}
\description{
This function computes person-item residuals for rasch family adjacent-categories models
like the Rasch model or the PCM
}