create_weight_df {lazy.irt}R Documentation

Create Weight Data Frame

Description

Create Weight Data Frame

Usage

create_weight_df(param, w = 1, vvec = NULL)

Arguments

param

Parameter data frame with which the weight data frame be associated.

w

Item weight vector, or a scalar.

vvec

Item category weight vector, or NULL

Details

Using the information in param, the natural item category weights will be generated.

The non NA values of the item category weights must be stored in vvec. The length of non NA item category weight of item i is given by param$ncat[i].

w can be a scalar.

Value

A list of
weight The weight data frame created.
minmax A vector containing the minimum and the maximum score of the test.
minmax_i A matrix containing the minimum and the maximum score of each item before applying the item weight w..

Examples

create_weight_df( paramS1 )
create_weight_df( paramS1, w=c(2,1,2,1) )

create_weight_df( paramS1, vvec=c(0,1, -1,1, 0,1,2,3, -2,2,4,6) )


[Package lazy.irt version 0.1.6 ]