calc.info.block: MFC block information

View source: R/calc_info_block.R

calc.info.blockR Documentation

MFC block information

Description

across persons and items

Usage

calc.info.block(
  FUN,
  traits = NULL,
  int,
  loads,
  uni,
  K,
  nb,
  which.blocks = NULL,
  responses = NULL,
  ...
)

Arguments

FUN

function to compute response probability

traits

matrix of traits, rows = persons, columns = traits

int

vector of item intercepts

loads

matrix of item loadings, rows = items, columns = traits

uni

matrix of item uniquenesses

K

numeric, number of blocks

nb

numeric, block size

which.blocks

vector, optional, indices of blocks to calculate info for, defaults to 1:K

responses

matrix of indices of observed rank orders, rows = persons, cols = blocks, defaults to NULL

...

other arguments passed to FUN

Value

list of length N, with entries (block,trait,trait) with Fisher (= expected) information; if observed information is required: list with two elements: expected and observed information, each is a list of length N, with entries (block,trait,trait)


susanne-frick/MFCblockInfo documentation built on Oct. 20, 2024, 8:26 p.m.