ITEMAN1: Classical Item Analysis for Multiple-Choice Test Items

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/ITEMAN1.R

Description

Classicial Item Analysis for Multiple-Choice Test Items

Usage

1
ITEMAN1(data, key, options, ngroup = ncol(data) + 1, correction = TRUE)

Arguments

data

a data frame with N rows and m columns, with N denoting the number of subjects and m denoting the number of items.

key

a vector of answer key with a length of m

options

a vector of response options for the test such as c("A","B","C","D")

ngroup

number of score groups to be use for plotting the item trace lines

correction

TRUE or FALSE. If it is TRUE, then an adjustment is made for point-biserial correlation.

Details

To be added later.

Value

plots

a list object storing the item trace line plots for each item

Author(s)

Cengiz Zopluoglu

See Also

ITEMAN2 for classical item analysis of polytomously scored items

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
require(ITEMAN)

data(dichotomous)
head(dichotomous)
str(dichotomous)

# Key response vector

key <- c("A","D","C","B","C","B","C","D","A","D","C","A","D","C","A",
          "B","D","B","A","C","A","A","C","B","C","B","D","A","A","A",
          "C","B","B","A","B","D","D","A","D","C","D","A","B","B","C",
          "D","B","C","C","B","D","A","C","B","A","D")

# Use ITEMAN1 function to run the item analysis

item.analysis <- ITEMAN1(data=dichotomous,
                         key=key,
                         options=c("A","B","C","D"),
                         ngroup=20,
                         correction=FALSE)

item.analysis$plots[[1]]   # Item Trace Line for the first item

# item.analysis$plots[[2]]   # Item Trace Line for the second item
# item.analysis$plots[[3]]   # Item Trace Line for the third item
# item.analysis$plots[[4]]   # Item Trace Line for the fourth item
# item.analysis$plots[[5]]   # Item Trace Line for the fifth item
# item.analysis$plots[[6]]   # Item Trace Line for the sixth item
# item.analysis$plots[[7]]   # Item Trace Line for the seventh item
# item.analysis$plots[[8]]   # Item Trace Line for the eigth item
# item.analysis$plots[[9]]   # Item Trace Line for the ninth item
# item.analysis$plots[[10]]  # Item Trace Line for the tenth item

ITEMAN documentation built on May 20, 2017, 2:02 a.m.