Mathias Ambühl and Michael Baumgartner released version 4.1.0 of the cna R package on CRAN. The main addition is functional minimality, a non-redundancy constraint on causal structures that the package now makes available as an explicit option, as two stand-alone test functions and as two new detail measures.
Version 4.1.0 can be downloaded as usual:
https://CRAN.R-project.org/package=cna
CNA standardly eliminates redundancies along three dimensions. Minimal sufficiency removes redundant conjuncts from a sufficient condition, minimal necessity removes redundant disjuncts from a necessary condition, and structural minimality removes atomic MINUS-formulas that are redundant within a complex MINUS-formula. Zhang and Zhang (2023) propose a fourth dimension, which they call functional minimality: it removes redundant factors from the factor set on the basis of which an outcome is modeled.
Take an atomic MINUS-formula Ψ ↔︎ Y and let FΨ be the set of factors occurring in Ψ. The formula is functionally minimal if, and only if, FΨ contains no proper subset F′ of factors such that Y can be expressed as a Boolean function of F′ alone. A factor that can be dropped in this way is surplus, as the outcome can be modeled without it. Such surplus factors are what produce CNA solutions that account for an outcome on the basis of a factor set which already contains a more parsimonious explanation of the same outcome.
Zhang, Jiji and Kun Zhang (2023), “A New Minimality Condition for Boolean Accounts of Causal Regularities”, Erkenntnis 90(1), 67-86. https://doi.org/10.1007/s10670-023-00685-4
Zhang and Zhang motivate the constraint with a concrete scenario involving two adjacent offices. Billy’s office is cooled by a central air conditioning system (A) and a window air conditioner (B); Cathy’s office by the same central system and a dehumidifier (C). Due to a construction flaw, Billy’s window air conditioner raises the humidity in Cathy’s office, so Cathy is comfortable (E2) if, and only if, the central system is on and her dehumidifier is on, or the central system is on and Billy’s window unit is off. Billy is comfortable (E1) if, and only if, the central system or his window unit is on:
(A + B ↔︎ E1) * (A·b + A·C ↔︎ E2)
Analyzing the ideal data corresponding to that structure yields four csf. Two of them model Cathy’s comfort by A·b + A·C, the other two by A·C + b·E1. The latter are not functionally minimal, because E1 is redundant once A, C, and B are in the factor set. The new solution attribute fm_empirical flags exactly this difference:
outcome condition con cov complexity cyclic fm_empirical
1 E1,E2 (A + B <-> E1)*(A*b + A*C <-> E2) 1 1 6 FALSE TRUE
2 E1,E2 (A + B <-> E1)*(A*C + b*E1 <-> E2) 1 1 6 FALSE FALSE
3 E1,E2 (B + E2 <-> E1)*(A*b + A*C <-> E2) 1 1 6 FALSE TRUE
4 E1,E2 (B + E2 <-> E1)*(A*C + b*E1 <-> E2) 1 1 6 TRUE FALSE
Setting func.minimal.only = TRUE removes the two csf that are not functionally minimal:
outcome condition con cov complexity cyclic
1 E1,E2 (A + B <-> E1)*(A*b + A*C <-> E2) 1 1 6 FALSE
2 E1,E2 (B + E2 <-> E1)*(A*b + A*C <-> E2) 1 1 6 FALSE
Zhang and Zhang (2023) formulate functional minimality for idealized data and structures; func.minimal.only operationalizes it for the solution sets that CNA infers from empirical data. On the d.pban data, for example, the analysis with cov = .95 and maxstep = c(6, 6, 10) returns 14 csf by default:
outcome condition con cov complexity cyclic fm_empirical
1 PB=1 C=1 + F=2 + C=0*F=1 + C=2*V=0 <-> PB=1 1 0.952 6 FALSE TRUE
2 PB=1 C=1 + F=2 + C=0*T=2 + C=2*V=0 <-> PB=1 1 0.952 6 FALSE FALSE
3 PB=1 C=1 + F=2 + C=2*F=0 + C=0*F=1 + F=1*V=0 <-> PB=1 1 0.952 8 FALSE TRUE
4 PB=1 C=1 + F=2 + C=2*F=0 + C=0*T=2 + F=1*V=0 <-> PB=1 1 0.952 8 FALSE FALSE
5 PB=1 C=1 + F=2 + C=0*F=1 + C=2*T=1 + T=2*V=0 <-> PB=1 1 0.952 8 FALSE FALSE
6 PB=1 C=1 + F=2 + C=0*F=1 + T=1*V=0 + T=2*V=0 <-> PB=1 1 0.952 8 FALSE FALSE
7 PB=1 C=1 + F=2 + C=0*T=2 + C=2*T=1 + T=2*V=0 <-> PB=1 1 0.952 8 FALSE FALSE
8 PB=1 C=1 + F=2 + C=0*T=2 + T=1*V=0 + T=2*V=0 <-> PB=1 1 0.952 8 FALSE FALSE
9 PB=1 C=1 + F=2 + C=2*F=0 + C=0*F=1 + F=1*T=1 + T=2*V=0 <-> PB=1 1 0.952 10 FALSE FALSE
10 PB=1 C=1 + F=2 + C=2*F=0 + C=0*T=2 + F=1*T=1 + T=2*V=0 <-> PB=1 1 0.952 10 FALSE FALSE
11 PB=1 C=1 + F=2 + C=0*F=1 + C=2*T=1 + F=0*T=2 + F=1*V=0 <-> PB=1 1 0.952 10 FALSE FALSE
12 PB=1 C=1 + F=2 + C=0*F=1 + F=0*T=2 + F=1*V=0 + T=1*V=0 <-> PB=1 1 0.952 10 FALSE FALSE
13 PB=1 C=1 + F=2 + C=0*T=2 + C=2*T=1 + F=0*T=2 + F=1*V=0 <-> PB=1 1 0.952 10 FALSE FALSE
14 PB=1 C=1 + F=2 + C=0*T=2 + F=0*T=2 + F=1*V=0 + T=1*V=0 <-> PB=1 1 0.952 10 FALSE FALSE
With func.minimal.only = TRUE two of them remain, and they score the same consistency and coverage as the twelve eliminated csf, which all model PB=1 on the basis of C, F, T and V:
outcome condition con cov complexity cyclic
1 PB=1 C=1 + F=2 + C=0*F=1 + C=2*V=0 <-> PB=1 1 0.952 6 FALSE
2 PB=1 C=1 + F=2 + C=2*F=0 + C=0*F=1 + F=1*V=0 <-> PB=1 1 0.952 8 FALSE
Zhang and Zhang (2023) contend that functional minimality helps to reduce model ambiguities while retaining the true data-generating structures. The availability of func.minimal.only makes it possible for the CNA community to put this to the test. Users are invited to experiment with functional minimality: does it indeed eliminate models that they would have discarded anyway, say based on theoretical background or case knowledge?
func.minimal.only in cnaControl() and csf() (default FALSE). If TRUE, only functionally minimal csf are returned.
fm_structural() and fm_empirical() check functional minimality at the user level.
fm_structural and fm_empirical, computed by detailMeasures() and requestable through the details argument; fm_empirical is a standard attribute of csf.
is.inus() gains an argument func.minim; detailMeasures() passes inus.def and inus.func.minim on to the computation.
randomCsf() builds functionally minimal csf only.
print.cna, meaning that the csf table is always printed when requested.
More details on functional minimality are documented in section 5.5 of the package vignette (cna.pdf) and in the package manual (reference manual).