EmStanS

Run Embedded Standard Setting Analysis

`emstans()` estimates cut scores with Embedded Standard Setting (ESS) from panelists’ item-level alignments and item locations. Each grade and round is analysed separately: cut scores are estimated for every panelist and for the modal alignment across panelists (per table and for all tables), and the median and average of the panelist cuts are reported. For the modal result of each grade, the function also reports agreement between aligned and empirical levels, an item review, and impact data.

Usage

emstans(
  file = NULL,
  data = NULL,
  ...,
  grades = NULL,
  location = "RP67",
  method = c("weight", "count"),
  descriptors = c("range", "threshold"),
  smooth = FALSE,
  by_domain = FALSE,
  domains = NULL,
  font_size = 14,
  digits = 3
)

Arguments

Value

An object of class `“ESS”`. Use [extract()] to get its tables, [report()] for an HTML report, [plot()] for plots, [update()] to set cut scores manually and [bootstrapping()] for bootstrap cut scores.

Examples

# Simulated study: 2 grades, 2 tables of 3 panelists, 30 items per grade
set.seed(1)
sim <- generateMockDataSet(ngca = 2, ntable = 2, npanelist = 3,
                           cor_val = 0.7, nlevel = 3, sdinp = 1, ecinp = 0,
                           n = 30, 300, 500)
res <- emstans(data = sim, location = "Loc_RP50")
res
#> Embedded Standard Setting
#>   method: ESS-Weight | descriptors: range | location: Loc_RP50 | 2 unit(s)
#> 
#> Modal cut scores (all tables):
#>   M1-All         Level2  340.300   Level3  432.200
#>   M2-All         Level2  360.600   Level3  474.000
#> 
#> Use extract() for tables, report() for the full report.
extract(res, "cutscore")
#> $`M1-All`
#> Level2 Level3 
#>  340.3  432.2 
#> 
#> $`M2-All`
#> Level2 Level3 
#>  360.6  474.0 
#> 

# ESS-Count, with each content domain also analysed separately
res_count <- emstans(data = sim, location = "Loc_RP50", method = "count",
                     by_domain = TRUE)
names(extract(res_count, "cutscore"))
#>  [1] "M1-All"  "M1-Alg"  "M1-Calc" "M1-Geom" "M1-Prob" "M2-All"  "M2-Alg" 
#>  [8] "M2-Calc" "M2-Geom" "M2-Prob"

# Threshold descriptors: each cut lies above the items aligned to the level
# it opens (Lewis & Cook, 2020)
res_thr <- emstans(data = sim, location = "Loc_RP50", descriptors = "threshold")
extract(res_thr, "cutscore")
#> $`M1-All`
#> Level1 Level2 
#>  341.2  430.3 
#> 
#> $`M2-All`
#> Level1 Level2 
#>  365.8  459.5 
#> 

# From an EmStanS Excel workbook (a simulated one ships with the package)
path <- system.file("extdata", "example_study.xlsx", package = "EmStanS")
res_xlsx <- emstans(path, location = "Loc_RP50")
summary(res_xlsx)
#>     unit cut_level modal median average agreement weighted_kappa
#> 1 M1-All    Level2 328.0 341.65  339.18       0.8          0.748
#> 2 M1-All    Level3 420.3 415.80  427.47       0.8          0.748
#> 3 M2-All    Level2 384.1 390.30  383.75       0.8          0.767
#> 4 M2-All    Level3 466.0 463.00  459.47       0.8          0.767