Learn R Programming

ShinyItemAnalysis

Test and item analysis via shiny

Overview

ShinyItemAnalysis is an R package including functions and interactive shiny application for the psychometric analysis of educational tests, psychological assessments, health-related and other types of multi-item measurements, or ratings from multiple raters. Offered methods include:

  • Exploration of total and standard scores
  • Analysis of correlation structure and validity
  • Analysis of measurement error and reliability
  • Traditional item analysis
  • Item analysis with regression models
  • Item analysis with IRT models
  • Detection of differential item functioning
  • ... and more via add-on modules

Number of toy datasets is available, the interactive application also allows the users to upload and analyze their own data and to automatically generate PDF or HTML reports.

ShinyItemAnalysis is available online at Czech Academy of Sciences and shinyapps.io. It can be also downloaded from CRAN. Visit our web page about ShinyItemAnalysis to learn more!

Installation

The easiest way to get ShinyItemAnalysis is to install it from CRAN:

install.packages("ShinyItemAnalysis")
install.packages("ShinyItemAnalysis", dependencies = TRUE)

Or you can get the newest development version from GitHub:

if(!require(remotes)) install.package("remotes")
remotes::install_github("patriciamar/ShinyItemAnalysis")

Version

Current version available on CRAN is 1.5.4. The newest development version available on GitHub is 1.5.4. Version available online at Czech Academy of Sciences is 1.5.4. Version available online at shinyapps.io is 1.5.4.

Usage

It is very easy to run ShinyItemAnalysis in R:

ShinyItemAnalysis::run_app()
# or
ShinyItemAnalysis::startShinyItemAnalysis()

Or if you are an RStudio IDE user, simply click on Run ShinyItemAnalysis in Addins menu (located at the end of the toolbar). Last but not least, you can also try the app directly online at Czech Academy of Sciences or shinyapps.io!

References

When using ShinyItemAnalysis software, we appreciate if you include a reference in your publications. To cite the software, please, use:

Martinková P., & Hladká A. (2023) Computational Aspects of Psychometric Methods: With R. (1st ed.). Chapman and Hall/CRC. doi: 10.1201/9781003054313. ISBN 9781003054313.

Martinková P., & Drabinová A. (2018) ShinyItemAnalysis for teaching psychometrics and to enforce routine analysis of educational tests. The R Journal, 10(2), 503-515. doi: 10.32614/RJ-2018-074.

Czech speakers can also refer to paper in journal Testforum.

Getting help and provide feedback

If you find any bug or just need help with ShinyItemAnalysis you can leave your message as an GitHub issue or directly contact us at martinkova@cs.cas.cz. We warmly encourage you to provide your feedback using Google form.

License

This program is free software and you can redistribute it and or modify it under the terms of the GNU GPL 3.

Copy Link

Version

Install

install.packages('ShinyItemAnalysis')

Monthly Downloads

1,066

Version

1.5.4

License

GPL-3

Maintainer

Patricia Martinkova

Last Published

February 8th, 2025

Functions in ShinyItemAnalysis (1.5.4)

GMAT

Dichotomous dataset based on GMAT with the same total score distribution for groups.
HCItest

Homeostasis concept inventory multiple-choice dataset
HCI

Homeostasis Concept Inventory dichotomous dataset
HCItestretest

Homeostasis concept inventory test-retest dataset
HeightInventory

Height inventory dataset
MSclinical

Clinical outcomes in multiple sclerosis patients dataset
ShinyItemAnalysis-package

ShinyItemAnalysis: Test and Item Analysis via Shiny
ItemAnalysis

Compute traditional item analysis indices
ShinyItemAnalysis_options

Options consulted by ShinyItemAnalysis
TestAnxietyCor

Correlation matrix for the test anxiety dataset
LearningToLearn

Dichotomous dataset of learning to learn test
MSATB

Dichotomous dataset of Medical School Admission Test in Biology.
NIH

NIH grant peer review scoring dataset
ICCrestricted

Range-restricted reliability with intra-class correlation
dataMedical

Dichotomous dataset of admission test to medical school
blis2blirt

Reparametrize fitted BLIS model to IRT
fa_parallel

Conduct Parallel Analysis
cronbach_alpha

Compute Cronbach alpha with confidence interval
obtain_nrm_def

Obtain model definition for mirt's nominal model taking in account the key of correct answers
ggWrightMap

Plot person-item map (Wright map) using ggplot2
nominal_to_int

Turn nominal (factor) data to integers, keep original levels with a key of correct responses alongside
fit_blis

Fit Baseline-category Logit Intercept-Slope (BLIS) model on nominal data
coef,BlisClass-method

Get Coefficients from a fitted BLIS model
plotAdjacent

Plot category probabilities of adjacent category logit model
gDiscrim

Compute generalized item discrimination
dataMedicalgraded

Graded dataset of admission test to medical school
delta_ses

Get standard errors using delta method approximation
dataMedicalkey

Key of correct answers for dataset of admission test to medical school
dataMedicaltest

Dataset of admission test to medical school
get_orig_levels

Get Original Levels from a Fitted BLIS model
plotDIFirt

Plot item characteristic curve of DIF IRT model
plotDIFLogistic

Function for characteristic curve of 2PL logistic DIF model
plotDistractorAnalysis

Plot item distractor analysis
startShinyItemAnalysis

Start ShinyItemAnalysis application
plot.sia_parallel

Plot Method for Parallel Analysis Output
plot_corr

Compute and plot an item correlation matrix
plotCumulative

Plot cumulative and category probabilities of cumulative logit model
print.blis_coefs

Print method for BLIS coefficients
recode_nr

Recognize and recode not-reached responses
remove_empty_cols

Remove columns that are empty
plotMultinomial

Plot category probabilities of multinomial model
theme_app

Complete theme for ShinyItemAnalysis graphics
AttitudesExpulsion

Attitudes towards the Expulsion of the Sudeten Germans (dataset)
DDplot

Plot difficulties and discriminations/item validity
DistractorAnalysis

Distractor analysis
Anxiety

PROMIS Anxiety Scale Dataset
CZmatura

CZmatura dataset
BFI2

BFI2 Dataset
CZmaturaS

CZmatura dataset - sample
AIBS

AIBS grant peer review scoring dataset
BlisClass-class

BLIS S4 class
HCIkey

Key of correct answers for homeostasis concept inventory dataset
HCIprepost

Homeostasis concept inventory pretest and posttest scores
HCIlong

Homeostasis Concept Inventory in a long format
HCIdata

Homeostasis concept inventory full dataset
HCIgrads

Homeostasis concept inventory dataset of graduate students
CLoSEread6

Czech Longitudinal Study in Education (CLoSE) - reading in 6th grade
EPIA

The Eysenck Personality Inventory Impulsivity Subscale