Learn R Programming

kstMatrix (version 2.2-1)

kmassessmultiplicative: Update probability distribution applying multiplicative rule

Description

kmassessmultiplicative updates a probability distribution on a knowledge structure according to the multiplicative rule.

Usage

kmassessmultiplicative(probs, ks, zeta0, zeta1, question, response)

Value

Updated probability vector

Arguments

probs

Probability distribution over the knowledge structure (vector)

ks

Binary matrix of the knowledge structure

zeta0

Vector of update parameters for wrong responses

zeta1

Vector of update parameters for correct responses

question

Item that has been posed

response

Correctness of received response (0 or 1)

See Also

Other Knowledge assessment: kmassess(), kmassessbayesian(), kmassesshalfsplit(), kmassessinformative(), kmassessmentsimulation()

Examples

Run this code
kmassessmultiplicative(c(0.02, 0.1, 0.07, 0.01, 0.4, 0.17, 0.07, 0.08, 0.08),
                 xpl$space,
                 rep(1.2,4),
                 rep(2.1,4),
                 3,
                 1
                )

Run the code above in your browser using DataLab