getItemDiscrimination: Function to create a item discrimination parameter matrix

Description Usage Arguments Value

View source: R/itemDiscrimination.R

Description

Function to create a item discrimination parameter matrix

Usage

1
2
3
4
5
6
getItemDiscrimination(
  dimensions,
  DIFpercent,
  tlength,
  DIF_mode = c("intersect", "disjoint")
)

Arguments

dimensions

integer specifying the number of dimensions used in dgp (currently only 2 are allowed)

DIFpercent

percentage of DIF items in the test

tlength

interger > 0, test length (number of items)

DIF_mode

character vector specifying the mode how to create the matrix:

  • "intersect": all items load on the first, length*DIFpercent items also on the second

  • "disjoint": ceiling(tlength*DIFpercent) items load on the first, the rest on the second, where ceiling rounds the number up to the next integer

Value

A binary item discrimination parameter matrix of dimension: tlength x dimensions


lucasmanuelkohler/anchorpoint documentation built on April 16, 2021, 6:41 a.m.