fitStats {autoRasch}R Documentation

Fit statistics

Description

The goodness-of-fit statistics of Rasch analysis for items and persons. It consists of Outfit (Unweighted) Mean Square, Infit (Weighted) Mean Square, Outfit ZSTD (Standardized Unweighted Mean Square), and Outfit ZSTD (Standardized Weighted Mean Square)

Usage

fitStats(obj, isAlpha = TRUE)

## S3 method for class 'fit'
summary(object, ...)

itemfit(objFit)

personfit(objFit)

plot_fitStats(objFit, toPlot = c("alpha", "infit"), useName = FALSE, ...)

Arguments

obj

The object of class 'pcm' or 'pcmdif'.

isAlpha

Boolean value that indicates whether the discrimination parameters is needed to be estimated or not. The discrimination parameters are estimated using the corresponding models (GPCM or GPCM-DIF).

object

The object of class 'fit'.

...

Further arguments to be passed.

objFit

The object of class 'fit'.

toPlot

An array with length two c(x,y), to choose what to plot. There are five options to plot, which are alpha, outfit, infit, outfitz, and infitz

useName

A logical statement whether the name of the variable are going to be used in the plot instead of the variable order.

Value

fitStats() will return a list which contains:

alpha

A vector of estimated discrimination parameters for each items.

i.fit Item fit statistics.

p.fit Person fit statistics.

traceMat Some computed matrices in the process. Only if isTraced = TRUE


[Package autoRasch version 0.2.2 Index]