compute.q {ordinalRR}R Documentation

Compute the probabilities for a single rater at a fixed part quality.

Description

This function accepts an object of class ‘rater’ and the latent (scalar) value of a hypothetical part's quality. The probabilities of the H ordinal categories are outputted based on the De Mast-Van Wieringen Model.

Usage

compute.q(rater,x)

Arguments

rater

‘rater’ the rater's parameters. (Use make.rater() to construct this input.)

x

‘scalar’ latent quality of a fixed part.

Value

vector

a probability vector of length H

Author(s)

Ken Ryan

References

de Mast, J. and van Wieringen, W.N. (2010). “Modeling and Evaluating Repeatability and Reproducibility of Ordinal Classifications.” Technometrics, 52(1), 94-106.

See Also

make.rater

Examples

(rater1=make.rater(1,c(-1.7,-0.5,1.6))) #3 cutpoints, so H=4
(prob=compute.q(rater1,.1)) #probabilities of 1,2,3,4 if part quality is x=.1
sum(prob) #should sum to one

[Package ordinalRR version 1.1 Index]