partial_credit_analysis {door}R Documentation

Partial credit analysis for DOOR

Description

Partial credit analysis for DOOR

Usage

partial_credit_analysis(
  grade_key,
  y1 = NULL,
  y2 = NULL,
  n1 = NULL,
  n2 = NULL,
  summary_obj = NULL,
  data_type = c("freq", "prop"),
  ci_method = "halperin",
  conf_level = 0.95,
  ...
)

Arguments

grade_key

A numeric vector of grade key or a dataframe contains columns of grade keys

y1, y2

Numeric vectors of DOOR proportion or frequency distribution for group 1, group 2. The entries should be ordered from most desirable to least desirable

n1, n2

Sample sizes of group 1, group 2; must be specified if method = "prop"

summary_obj

An object returned by door_summary(); Alternative input for y1 and y2

data_type

Either "freq" for frequency input or "prop" for proportion input when using y1 and y2

ci_method

Specify the type of CI for DOOR probability given a grade key. The default is "halperin" for Halperin et al. (1989)'s method. Other options include "ps_h" for pseudo-score approach for Halperin's method and "tanh" for inverse hyperbolc tangent transformed method

conf_level

Confidence level

...

Optional additional parameters if ci_method = "ps_h"

Value

An object containing information of partial credit analysis given grade keys

Examples

grade.key <- c(100, 80, 60, 40, 0)
y1 <- c(60, 30, 20, 10, 5)
y2 <- c(50, 40, 10, 20, 5)
partial_credit_analysis(grade_key = grade.key, y1 = y1, y2 = y2)

[Package door version 0.0.2 Index]