When to use it
Use this tool for rank-, count-, or distribution-based comparisons when parametric assumptions are unsuitable or variables are categorical/ordinal.
Use it only when the selected variables and study design match the method's requirements.
How to use it
- Open the tool from the Quantly Tools panel.
- Confirm the active dataset and analysis session.
- Set Categorical Variable 1 (Rows) (Required): Select the first categorical column.
- Set Categorical Variable 2 (Columns) (Required): Select the second categorical column.
- Set Stratum Variable (Optional) (Optional): If provided, and both variables are binary, performs Cochran–Mantel–Haenszel (CMH) test.
- Set Significance Level (α) (Required): Threshold for statistical significance.
- Set Generate Stratified Bar Charts (Optional): Visualize the association within each stratum using bar charts. (Used only when a stratum variable is provided).
- Set Generate Stacked Bar Chart (Pooled) (Optional): Visualize the overall relationship using a stacked bar chart. (Used only when no stratum is selected).
- Set Generate Heatmap (Pooled) (Optional): Visualize the overall contingency table as a heatmap. (Used only when no stratum is selected).
- Set Generate Mosaic Plot (Pooled) (Optional): Visualize the overall association using a mosaic plot. (Used only when no stratum is selected).
- Review optional or advanced settings and keep defaults unless your design requires a change.
- Run the tool, inspect warnings and diagnostics, then save or export the result with its assumptions.
How to interpret results
Interpret the test statistic and p-value with an effect-size measure where available. A significant result indicates evidence of a difference or association, not its practical size or causal direction.