compute.q: Compute the probabilities for a single rater at a fixed part...

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/ordinalRR.R

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

1
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

1
2
3
(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

ordinalRR documentation built on March 31, 2020, 5:09 p.m.