Related Experiment Video
Updated: Apr 24, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
BKT: A Bayesian knowledge tracing package for the R environment
Yuhao Yuan1, Biying Zhou1, Jia Qi1
1Department of Applied Psychology and Human Development, University of Toronto, 252 Bloor St W, Toronto, ON, M5S 1V6, Canada.
A new R package makes Bayesian Knowledge Tracing (BKT) accessible to more researchers. This tool enhances the analysis of learning processes and student knowledge states in educational technology and cognitive science.
Area of Science:
- Cognitive Science
- Educational Technology
- Behavioral Sciences
Background:
- Bayesian Knowledge Tracing (BKT) models learner knowledge states over time.
- Existing BKT tools are mainly in Python/C++, limiting R users in psychology and education.
- R is a widely used language in educational and psychological research.
Purpose of the Study:
- Introduce the BKT R package for broader accessibility.
- Implement standard BKT and five common variants (PPS, IOE, IDE, ILE, LFB).
- Provide tools for parameter estimation, data integration, and model output in R.
Main Methods:
- Parameter estimation using the Expectation-Maximization algorithm.
- Validation via simulation studies and real-world data from the Cognitive Tutor system.
- Comparison with existing Python implementations for fidelity.
Main Results:
- The BKT R package demonstrates high fidelity with established Python implementations.
- Robust parameter recovery was observed across various simulation scenarios.
- The package successfully applied to real-world educational data.
Conclusions:
- The BKT R package significantly improves accessibility and flexibility for BKT modeling in R.
- Enhances reproducibility of cognitive and educational research using BKT.
- Facilitates advanced learning analytics for R users in behavioral sciences.
Related Concept Videos
Biostatistics: Overview
Discrete variables are...
Introduction to R
Distributions to Estimate Population Parameter
Interpreting R Charts
An R chart plots the range of subsets of measurements collected from a process. Each point on the chart represents the range—defined as the difference between the maximum and minimum...
Statistical Software for Data Analysis and Clinical Trials
Propagation of Uncertainty from Systematic Error

