Skip to contents

Generate Item parameters

Usage

genIRTpar(nitem = 25, ncat = 4, nfac = 3)

Arguments

nitem

a numeric indicating the number of items

ncat

a numeric indicating the number of categories

nfac

a numeric indicating the number of factors

Value

a data frame containing graded response item parameters

Details

This generates item parameters for graded response models

Examples

genIRTpar(20, 4, 3)
#>           a1        a2        a3        d1          d2         d3
#> 1  1.0000000 0.0000000 0.0000000 0.8492752  0.03121231 -0.8804876
#> 2  0.9005539 0.0000000 0.0000000 0.3693312  0.04682442 -0.4161556
#> 3  1.7978591 0.0000000 0.0000000 0.3810971  0.03880278 -0.4198999
#> 4  1.2016735 0.0000000 0.0000000 0.4802349 -0.07317319 -0.4070617
#> 5  1.4344730 0.0000000 0.0000000 0.8055902 -0.14903444 -0.6565558
#> 6  0.9556133 0.0000000 0.0000000 0.9597788 -0.01959948 -0.9401793
#> 7  0.0000000 1.0000000 0.0000000 0.7365514 -0.03573354 -0.7008178
#> 8  0.0000000 1.0234162 0.0000000 0.3914787  0.01810996 -0.4095886
#> 9  0.0000000 0.9645931 0.0000000 0.4665840 -0.06101505 -0.4055689
#> 10 0.0000000 1.3171380 0.0000000 0.5813188 -0.05377818 -0.5275406
#> 11 0.0000000 1.9961943 0.0000000 0.4874845  0.18543033 -0.6729149
#> 12 0.0000000 1.2928143 0.0000000 0.4490667 -0.03081483 -0.4182519
#> 13 0.0000000 0.0000000 1.0000000 0.4935527  0.07107956 -0.5646323
#> 14 0.0000000 0.0000000 0.6509099 0.6746291 -0.08254232 -0.5920868
#> 15 0.0000000 0.0000000 0.7294553 0.4660774  0.14976165 -0.6158390
#> 16 0.0000000 0.0000000 0.9748180 0.9515725 -0.03187160 -0.9197009
#> 17 0.0000000 0.0000000 1.0201665 0.5167723 -0.09510408 -0.4216683
#> 18 0.0000000 0.0000000 1.4351549 0.6187354 -0.01997855 -0.5987569
#> 19 0.0000000 0.0000000 1.1634560 0.5172778  0.14443092 -0.6617087
#> 20 0.0000000 0.0000000 2.0469352 0.6143744  0.08129332 -0.6956677