Learn R Programming

⚠️There's a newer version (5.0.0) of this package.Take me there.

NCA (version 4.0.0)

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,744

Version

4.0.0

License

GPL (>= 3)

Maintainer

Govert Buijs

Last Published

February 16th, 2024

Functions in NCA (4.0.0)

ceilings

a set of all available ceiling techniques
point.type

parameter defining the plotting symbol in the plots
line.colors

a set defining the line colors for the plots
nca_output

display the result of the NCA analysis
nca_power

Function to evaluate power
nca.example

NCA example data with 2 independent and 1 dependent variables
nca_random

generating random data that meets necessity
NCA-package

Necessary Condition Analysis
line.width

parameter defining the width of the lines in the plots
nca

Run a basic NCA analyses on a data set
nca_analysis

Run NCA analyses on a data set
line.types

a set defining the line types for the plots
point.color

parameter defining the point color in the plots
nca_outliers

Outlier detection
nca.example2

NCA example data with 3 independent and 1 dependent variables