Skip to content
This package was removed from CRAN on 2026-01-30. Its history is shown below.
Reason: requires archived package 'pryr'
Details below reflect version 1.0.1, its last release before removal.

KSD

1.0.1

Goodness-of-Fit Tests using Kernelized Stein Discrepancy

0packages depend
downloads / year
test coverage
checks pass

Overview

About
Maintained by Min Hyung Kang3 releasesCRAN page ↗

An adaptation of Kernelized Stein Discrepancy, this package provides a goodness-of-fit test of whether a given i.i.d. sample is drawn from a given distribution. It works for any distribution once its score function (the derivative of log-density) can be provided. This method is based on "A Kernelized Stein Discrepancy for Goodness-of-fit Tests and Model Evaluation" by Liu, Lee, and Jordan, available at arXiv:1602.03253.

Install

Health

CRAN checks

CRAN check results are not tracked yet.

Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
3
Dependencies · direct

Documentation

Documentation
READMEYes · 353 wordsVignettesNopkgdown siteNoNEWSYes · 33% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
50%
References docs
0%

Downloads

Daily download trend is not available in this view yet.
Also on76 r2u19 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (3)
pryrgraphicsstats
LinkingTo (0)
none
Suggests (5)
Enhances (0)
none
Reverse dependencies
0direct
indirect (not tracked)

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • archivedRemoved from CRAN
    2026-01-30
    requires archived package 'pryr'
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.0.1
    2021-01-11 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.0
    2016-07-31 · diff ↗
  • 0.1.0
    2016-07-08
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

Total releases
3
License
MIT + file LICENSE OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("KSD")
Kang, M. H., & Liu, Q. (n.d.). KSD: Goodness-of-Fit Tests using Kernelized Stein Discrepancy (Version 1.0.1) [Computer software]. Retrieved August 15, 2026, from https://CRAN.R-project.org/package=KSD

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for KSD version 1.0.1 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy