Description Usage Arguments Value
View source: R/compute_results.R
This is a helper function for the Bayesian QI computation function. The function computes the parameters of the Beta posterior for the underlying merkmals parameter theta as well as a credibility interval for theta.
1 | theta_bayes(y, nClass, a, b, conf_level)
|
y |
Observed input of all Items of the Merkmal with points |
nClass |
Number of Item categories (supposed do be the same for each Item) |
a |
Prior shape parameter of Beta distribution |
b |
Prior scale parameter of Beta distribution |
conf_level |
Confidence level of the resulting uncertainty interval. |
A list
containing the prior and posterior parameters of the Beta distribution,
the corresponding posterior mean value for theta and a credibility interval.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.