View source: R/kmassessbayesian.R
| kmassessbayesian | R Documentation |
kmassessbayesian updates a probability distribution over a
knowledge structure according to the Bayesian update rule.
kmassessbayesian(probs, ks, beta, eta, question, response)
probs |
Probability distribution over the knowledge structure (vector) |
ks |
Binary matrix of the knowledge structure |
beta |
Vector of careless error probabilities |
eta |
Vector of lucky guess probabilities |
question |
Item that has been posed |
response |
Correctness of received response (0 or 1) |
Updated probability vector
Other Knowledge assessment:
kmassess(),
kmassesshalfsplit(),
kmassessinformative(),
kmassessmentsimulation(),
kmassessmultiplicative()
kmassessbayesian(c(0.02, 0.1, 0.07, 0.01, 0.4, 0.17, 0.07, 0.08, 0.08),
xpl$space,
rep(0.2,4),
rep(0.1,4),
3,
1
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.