Learn R Programming

NCA (version 4.0.4)

Necessary Condition Analysis

Description

Performs a Necessary Condition Analysis (NCA). (Dul, J. 2016. Necessary Condition Analysis (NCA). ''Logic and Methodology of 'Necessary but not Sufficient' causality." Organizational Research Methods 19(1), 10-52) . NCA identifies necessary (but not sufficient) conditions in datasets, where x causes (e.g. precedes) y. Instead of drawing a regression line ''through the middle of the data'' in an xy-plot, NCA draws the ceiling line. The ceiling line y = f(x) separates the area with observations from the area without observations. (Nearly) all observations are below the ceiling line: y <= f(x). The empty zone is in the upper left hand corner of the xy-plot (with the convention that the x-axis is ''horizontal'' and the y-axis is ''vertical'' and that values increase ''upwards'' and ''to the right''). The ceiling line is a (piecewise) linear non-decreasing line: a linear step function or a straight line. It indicates which level of x (e.g. an effort or input) is necessary but not sufficient for a (desired) level of y (e.g. good performance or output). A quick start guide for using this package can be found here: or .

Copy Link

Version

Install

install.packages('NCA')

Monthly Downloads

1,177

Version

4.0.4

License

GPL (>= 3)

Maintainer

Govert Buijs

Last Published

November 14th, 2025

Functions in NCA (4.0.4)

nca_output

display the result of the NCA analysis
nca_power

Function to evaluate power
line.width

parameter defining the width of the lines in the plots
line.colors

a set defining the line colors for the plots
line.types

a set defining the line types for the plots
NCA-package

Necessary Condition Analysis
nca.example2

NCA example data with 3 independent and 1 dependent variables
nca_analysis

Run NCA analyses on a data set
point.color

parameter defining the point color in the plots
point.type

parameter defining the plotting symbol in the plots
nca.example

NCA example data with 2 independent and 1 dependent variables
nca_random

generating random data that meets necessity
nca

Run a basic NCA analyses on a data set
nca_outliers

Outlier detection
ceilings

a set of all available ceiling techniques