% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/fit.R
\name{test_information}
\alias{test_information}
\title{Test information function}
\usage{
test_information(fit, grid = seq(-6, 6, by = 0.1))
}
\arguments{
\item{fit}{A fitted object from \code{\link{rasch}}.}

\item{grid}{Logit grid over which to evaluate the information.}
}
\value{
A data frame with \code{theta}, \code{info}, and \code{sem}.
}
\description{
Fisher information of the whole test over a grid of person locations, with
the corresponding standard error of measurement.
}
\examples{
set.seed(1)
d <- seq(-1.5, 1.5, length.out = 6)
X <- matrix(rbinom(300 * 6, 1, plogis(outer(rnorm(300), d, "-"))), 300, 6)
colnames(X) <- paste0("I", 1:6)
head(test_information(rasch(X)))
}
