MAX: Max statistic for a given unfolding scale.

View source: R/MAX.R

MAXR Documentation

Max statistic for a given unfolding scale.

Description

This function calculates the max statistic based on the conditional adjacency matrix (CAM) of a given scale. This statistic quantifies violations of the moving maxima property for the item response functions (Post,1992) and it can be calculated for each item and the whole scale. For each row of the CAM, the max statistic is calculated using both a top-down and a bottom-up method.

Both methods yield the same max statistic value for the scale, however, the number of items with non-zero max statistisc may change. In this case, the method that yields the smaller number of items with zero max statististic will be prefered.

Usage

MAX(X, type)

Arguments

X

: A matrix of class 'cam.mdf' obtained from the function CAM(). Alternatively, x can be a fitted object of class "mdf" resulted from the mudfold() function.

type

: This argument controls the type of the statistic that is returned. If type="item" (default) then the max statisic for each item in the scale will be calculated. When type="scale" the MAX statistic for the whole scale will be returned divided by \frac{N^2}{2} which is approximately the total number of violations that can occur to a scale of length N.

Details

To come up with a value of the max statistic for each item in a scale with N items in total, we need first to locate the maximum position in each row of the CAM m_i^*. Then the max statistic for the item i is calculated using a top-down method according to which,

MAX_i = ∑_{k = i+1}^{N} max(0, m_i^* - m_k^*)

and a bottom-up method according to which,

MAX_i = ∑_{k = 1}^{i-1} max(0, m_k^* - m_i^*).

Value

A vector with the MAX statistic for each item. The sum of the individual MAX statistics for each of the items yields the MAX statistic for the whole scale.

Author(s)

Spyros E. Balafas (s.balafas@rug.nl)

References

W.J. Post. (1992). Nonparametric Unfolding Models: A Latent Structure Approach. M & T series. DSWO Press.

See Also

CAM

Examples

## load the ANDRICH data
data("ANDRICH")

## Calculate the CAM for the ANDRICH scale
CAM_andrch <- CAM(ANDRICH)

## Use the CAM to calculate the MAX statistic
## for each item in the ANDRICH scale
MAX(CAM_andrch)

## and the whole scale
MAX(CAM_andrch, type="scale")


mudfold documentation built on Nov. 24, 2022, 5:09 p.m.