NSCA: Necessary and Sufficient Condition Analysis

Tests whether a condition is both necessary and sufficient for an outcome, that is, whether the outcome cannot be reached without the condition and is guaranteed in its presence. Such a claim implies that two diagonally opposite corners of the condition-outcome scatter plot contain no observations. The package estimates both boundaries with the same data, scope and frontier technique, reports the effect size and permutation test of each, and indicates joint support only when both components are supported. The two components are summarized by the weaker effect, a balanced combination and the proportion of the scope that the two claims jointly rule out. A dual-threshold table gives, for each outcome level, the condition level it requires, the level sufficient for it, and the interval between them. Results can be compared with regression slopes. The package also provides plots, influential-case diagnostics, scope-sensitivity and resampling checks, and simulation and power analysis for planning studies. The two sides are estimated with the 'NCA' and 'SCAtools' packages.

Version: 0.5.2
Depends: R (≥ 3.5.0)
Imports: ggplot2 (≥ 3.4.0), NCA (≥ 5.0.2), SCAtools (≥ 0.5.2), stats, utils
Suggests: testthat (≥ 3.0.0)
Published: 2026-10-26
DOI: 10.32614/CRAN.package.NSCA
Author: Young Chan [aut, cre]
Maintainer: Young Chan <youngchanresearcher at gmail.com>
BugReports: https://github.com/youngchanresearcher/NSCA/issues
License: GPL (≥ 3)
URL: https://github.com/youngchanresearcher/NSCA
NeedsCompilation: no
Citation: NSCA citation info
Materials: README, NEWS
CRAN checks: NSCA results

Documentation:

Reference manual: NSCA.html , NSCA.pdf

Downloads:

Package source: NSCA_0.5.2.tar.gz
Windows binaries: r-devel: NSCA_0.4.5.zip, r-release: NSCA_0.4.5.zip, r-oldrel: NSCA_0.4.5.zip
macOS binaries: r-release (arm64): NSCA_0.4.5.tgz, r-oldrel (arm64): NSCA_0.4.5.tgz, r-release (x86_64): NSCA_0.5.2.tgz, r-oldrel (x86_64): NSCA_0.5.2.tgz
Old sources: NSCA archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=NSCA to link to this page.