performance_simulation {mycaas}R Documentation

Performance indexes

Description

Simulation producing efficiency and accuracy performance curves and indexes based on simulated assessment of all the states in structure

Usage

performance_simulation(
  states,
  beta,
  eta,
  likelihood = NA,
  questioning_rule = "half_split",
  nrep = 1
)

Arguments

states

A state-by-problem matrix representing the structure, where an element is one if the item is included in the state, and zero otherwise.

beta

Vector of careless error probabilities.

eta

Vector of lucky guess error probabilities.

likelihood

A vector of the likelihood for each state, if omitted the initial likelihood is assumed equally distributed.

questioning_rule

A function which is used a questioning rules for the assessment. the default questioning rule is 'half_split'.

nrep

Number of times in which each state is simulated. The default value is one.

Value

Efficiency and Accuracy curves plots.

Examples

# Consider the knowledge space and the parameters used in Brancaccio,
# de Chiusole, Stefanutti (2023) in Example 1

states<-matrix(c( 0,0,0,0,0,
                   0,0,0,0,1,
                   0,0,1,0,1,
                   0,0,0,1,1,
                   0,0,1,1,1,
                   1,0,1,0,1,
                   0,1,0,1,1,
                   1,0,1,1,1,
                   0,1,1,1,1,
                   1,1,0,1,1,
                   1,1,1,1,1), byrow=TRUE, ncol=5)
beta  <-c(.004,.03,.02,.01,.007)
eta   <-c(5e-06, 5e-05, 4e-05,.007,.08)
performance_simulation(states,beta,eta)

[Package mycaas version 0.0.1 Index]