Description Usage Arguments Value Author(s) References See Also Examples
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.
1 | compute.q(rater,x)
|
rater |
‘rater’ the rater's parameters. (Use make.rater() to construct this input.) |
x |
‘scalar’ latent quality of a fixed part. |
vector |
a probability vector of length H |
Ken Ryan
de Mast, J. and van Wieringen, W.N. (2010). “Modeling and Evaluating Repeatability and Reproducibility of Ordinal Classifications.” Technometrics, 52(1), 94-106.
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.