Skip to content

variationalDCM

Variational Bayesian Estimation for Diagnostic Classification Models

v2.0.1 · Mar 25, 2024 · GPL-3

Description

Enables computationally efficient parameters-estimation by variational Bayesian methods for various diagnostic classification models (DCMs). DCMs are a class of discrete latent variable models for classifying respondents into latent classes that typically represent distinct combinations of skills they possess. Recently, to meet the growing need of large-scale diagnostic measurement in the field of educational, psychological, and psychiatric measurements, variational Bayesian inference has been developed as a computationally efficient alternative to the Markov chain Monte Carlo methods, e.g., Yamaguchi and Okada (2020a) <doi:10.1007/s11336-020-09739-w>, Yamaguchi and Okada (2020b) <doi:10.3102/1076998620911934>, Yamaguchi (2020) <doi:10.1007/s41237-020-00104-w>, Oka and Okada (2023) <doi:10.1007/s11336-022-09884-4>, and Yamaguchi and Martinez (2023) <doi:10.1111/bmsp.12308>. To facilitate their applications, 'variationalDCM' is developed to provide a collection of recently-proposed variational Bayesian estimation methods for various DCMs.

Downloads

CRAN

212

Last 30 days

22645th

554

Last 90 days

1.9K

Last year

Trend: +31.7% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

94

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

1

Last 7 days

6

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

2,788

Files

29

Compiled share

0%

Has compiled src

No

Language breakdown

R 2,323 (83.3%)Docs 349 (12.5%)Vignettes 116 (4.2%)

API

Exported functions

4

Internal functions

10

Recent export changes

v2.0.0+2 hm_dcm_data_gen, variationalDCM  −6 dina, dino, hm_dcm 3 more
v1.0.0+8 dina, dina_data_gen, dino +5 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

100%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.2.0

System requirements

C++ standard

License

GPL-3

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2023-11-08

Latest release

2024-03-25

Avg cadence

69 days

Cold removal rate

100%

Dep drift

0

LOC over versions

v1.0.0: 3,053 LOCv2.0.0: 2,785 LOCv2.0.1: 2,788 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies mvtnorm variationalDCM

Version History

4 tracked
new 2.0.1 Mar 10, 2026
updated 2.0.1 ← 2.0.0 diff Mar 24, 2024
updated 2.0.0 ← 1.0.0 diff Mar 12, 2024
new 1.0.0 Nov 7, 2023