compute.q: 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
References
de Mast, J. and van Wieringen, W.N. (2010). “Modeling and Evaluating Repeatability and Reproducibility of Ordinal Classifications.” Technometrics, 52(1), 94-106.
# NOT RUN {(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=.1sum(prob) #should sum to one# }