Qualitative Comparative Analysis (QCA) requires researchers to choose calibration and dichotomization thresholds, and these choices can substantially affect truth tables, minimization, and resulting solution formulas. Despite this dependency, threshold sensitivity is often examined only in an ad hoc manner because repeated analyses are time-intensive and error-prone. We present TSQCA, an R package that automates threshold-sweep analyses by treating thresholds as explicit analytical variables. It provides four sweep functions (otSweep, ctSweepS, ctSweepM, dtSweep) to explore outcome thresholds, single-condition thresholds, multi-condition threshold grids, and joint outcome-condition threshold spaces, respectively. TSQCA integrates with the established CRAN package QCA for truth table construction and Boolean minimization, while returning structured S3 objects with consistent print/summary methods and optional detailed results. The package also supports automated Markdown report generation and configuration-chart output to facilitate reproducible documentation of cross-threshold results.
翻译:定性比较分析(QCA)要求研究者选择校准与二分化的阈值,这些选择会显著影响真值表、最小化过程以及最终的解公式。尽管存在这种依赖性,阈值敏感性通常仅以临时方式被检验,因为重复分析既耗时又易出错。本文提出TSQCA,这是一个R语言软件包,通过将阈值作为显式分析变量来自动化阈值扫描分析。它提供四种扫描函数(otSweep、ctSweepS、ctSweepM、dtSweep),分别用于探索结果阈值、单条件阈值、多条件阈值网格以及联合结果-条件阈值空间。TSQCA与成熟的CRAN包QCA集成,用于真值表构建和布尔最小化,同时返回结构化的S3对象,这些对象具有一致的打印/摘要方法及可选的详细结果。该软件包还支持自动生成Markdown报告和配置图输出,以促进跨阈值结果的可复现文档记录。