create_levels {cat.dt}R Documentation

CAT decision tree level generator

Description

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

Usage

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


[Package cat.dt version 0.3.1 Index]