Hypothesis Testing (Non-Parametric) · TOOL GUIDE

Two-Sample KS-Test

Open Quantly ↗

Understand the method. Use it with confidence.

Test if two samples come from the same distribution. Quantly runs the method against your active analysis context and returns structured results for review and interpretation.

01

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.

02

How to use it

  1. Open the tool from the Quantly Tools panel.
  2. Confirm the active dataset and analysis session.
  3. Set Numeric Variable (Required): Select the numeric variable whose distributions you want to compare.
  4. Set Grouping Variable (Required): Select the categorical variable with exactly two groups.
  5. Set Alternative Hypothesis (Required): Defines the alternative hypothesis for the test.
  6. Set Significance Level (α) (Required): The threshold for statistical significance.
  7. Set Generate Side-by-side Box Plots (Optional): Set generate side-by-side box plots.
  8. Set Generate Violin Plots (Optional): Set generate violin plots.
  9. Set Generate Back-to-back Histograms (Optional): Set generate back-to-back histograms.
  10. Review optional or advanced settings and keep defaults unless your design requires a change.
  11. Run the tool, inspect warnings and diagnostics, then save or export the result with its assumptions.
03

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.