repsd {repsd}R Documentation

repsd

Description

repsd

Usage

repsd(
  responses = timmsData,
  focalColumn = 21,
  focalGroupID = 1,
  anchorItems = NULL,
  numStrata = 4
)

Arguments

responses

data.frame, matrix, or similar object which includes the item responses and the focal group ID column.

focalColumn

numeric or character. The location or name of the column that holds the focal group data.

focalGroupID

numeric or character. The value that identifies the focal group.

anchorItems

either NULL or a vector of the anchorItems names or numeric column locations. If NULL, all items are used for calculating the total test score for stratifying individuals. If a vector, the specified items are used to calculate the total test score for stratifying individuals.

numStrata

numeric. How many strata for matching should be used?

Value

Matrix of repsd values for each item.


[Package repsd version 1.0.1 Index]