create_levels: CAT decision tree level generator

Description Usage Arguments Value Author(s)

View source: R/create_levels.R

Description

Generates a list of node lists for a specific level of the CAT decision tree

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
create_levels(
  nodes_prev,
  bank,
  crit,
  C,
  nres,
  level,
  prob_array,
  limit,
  tol,
  inters,
  SE
)

Arguments

nodes_prev

list of node lists of the nodes from the previous level

bank

matrix of the item bank. Rows represent items, and columns represent parameters. If the model is "GRM", the first column represents the alpha parameters and the next columns represent the beta parameters. If the model is "NRM", odd columns represent the alpha parameters and even columns represent beta parameters

crit

item selection criterion. Options: "MEPV" for Minimum Expected Posterior Variance and "MFI" for Maximum Fisher Information

C

vector of item capacities

nres

vector of number of possible responses for every item

level

level number

prob_array

3-D array of probability responses. Dim 1 represent items, dim 2 represent evaluated ability levels and dim 3 represent possible responses

limit

maximum number of level nodes

tol

maximum distance between estimated ability levels in the nodes of the evaluated pair in order to consider whether to join them

inters

minimum common area between density functions in the nodes of the evaluated pair in order to join them

SE

minimum standard error of the ability level

Value

A list of lists and a scalar. Each of the lists represent a node of the specified level of the decision tree, and the scalar represents if the created level is the last (1) or not (0) due to the SE stopping criterion

Author(s)

Javier Rodr?guez-Cuadrado


cat.dt documentation built on March 31, 2021, 5:07 p.m.