% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/summary-tables.R
\name{fit_summary_table}
\alias{fit_summary_table}
\title{Test-of-fit summary as a table}
\usage{
fit_summary_table(fit)
}
\arguments{
\item{fit}{A fitted object from \code{\link{rasch}}, or a
paired-comparison fit from \code{\link{btl}} (which reports its own
headline set: convergence, pairwise chi-square, object separation,
thresholds structure, and dependence effects when estimated).}
}
\value{
A data frame with columns \code{statistic} and \code{value}.
}
\description{
The headline fit statistics of a calibration -- model, estimation,
total item-trait chi-square, the item and person fit-residual moments,
fit-location correlations, chi-square flag count, and disordered
thresholds -- as a two-column table suitable for saving and reporting.
}
\examples{
set.seed(1)
d <- seq(-2, 2, length.out = 6)
X <- matrix(rbinom(300 * 6, 1, plogis(outer(rnorm(300), d, "-"))), 300, 6)
colnames(X) <- paste0("I", 1:6)
fit_summary_table(rasch(X))
}
