Files
SPT/man/res_ij.Rd
2025-04-29 17:59:26 +02:00

25 lines
686 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/res_ij.R
\name{res_ij}
\alias{res_ij}
\title{Compute rasch person-item residuals}
\usage{
res_ij(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
}