The following steps are based on the workflow, which is the most common scenario for chi‑square tests in biomedical research.