happytails.ai

Statistical test selection guide

Open Statistical test selection guide on Happytails.ai. This view has the same page content and links, with explicit tool capabilities. Read the processing notes before using a tool.

Tool capabilities

{
  "id": "statistical-test-selection-guide",
  "category": "calculators",
  "built": true,
  "requirements": "Runs locally in your browser; nothing is uploaded. Form answers only: question, outcome type, number of groups, pairing, the smallest group size (a whole number of at least 1), normality, equal spread and small expected counts. Downloads: a JSON report and a CSV list of candidates with their page paths.",
  "implementation": {
    "fields": [
      {
        "key": "question",
        "label": "Question",
        "value": "compare",
        "type": "select",
        "values": [
          "compare",
          "association",
          "predict",
          "agreement",
          "reliability",
          "diagnostic",
          "distribution",
          "time-series",
          "meta-analysis"
        ],
        "labels": {
          "compare": "Compare groups or conditions",
          "association": "Measure an association",
          "predict": "Predict an outcome",
          "agreement": "Check agreement between raters or methods",
          "reliability": "Check scale reliability",
          "diagnostic": "Evaluate a diagnostic or classification test",
          "distribution": "Check a distribution",
          "time-series": "Describe a time series",
          "meta-analysis": "Combine study results"
        }
      },
      {
        "key": "outcome",
        "label": "Outcome type",
        "value": "continuous",
        "type": "select",
        "values": [
          "continuous",
          "ordinal",
          "binary",
          "nominal",
          "count",
          "time-to-event"
        ],
        "labels": {
          "continuous": "Continuous measurement",
          "ordinal": "Ordered categories or ranks",
          "binary": "Yes or no",
          "nominal": "Unordered categories",
          "count": "Counts",
          "time-to-event": "Time until an event"
        }
      },
      {
        "key": "groups",
        "label": "Number of groups",
        "value": "two",
        "type": "select",
        "values": [
          "two",
          "one",
          "three-plus"
        ],
        "labels": {
          "two": "Two",
          "one": "One sample against a reference",
          "three-plus": "Three or more"
        },
        "showWhen": {
          "question": [
            "compare"
          ]
        }
      },
      {
        "key": "paired",
        "label": "Same subjects measured more than once (paired or repeated)",
        "value": false,
        "type": "checkbox"
      },
      {
        "key": "minGroupSize",
        "label": "Smallest group size",
        "value": "30",
        "type": "text",
        "maxLength": 20,
        "help": "Whole number of at least 1.",
        "showWhen": {
          "question": [
            "compare"
          ]
        }
      },
      {
        "key": "normality",
        "label": "Does the outcome look roughly normal?",
        "value": "unknown",
        "type": "select",
        "values": [
          "unknown",
          "plausible",
          "doubtful"
        ],
        "labels": {
          "unknown": "Not checked",
          "plausible": "Plausible",
          "doubtful": "Doubtful (skewed or outliers)"
        }
      },
      {
        "key": "equalVariance",
        "label": "Similar spread in every group?",
        "value": "unknown",
        "type": "select",
        "values": [
          "unknown",
          "yes",
          "no"
        ],
        "labels": {
          "unknown": "Not checked",
          "yes": "Yes",
          "no": "No"
        },
        "showWhen": {
          "question": [
            "compare"
          ]
        }
      },
      {
        "key": "smallCounts",
        "label": "Some expected counts are below 5",
        "value": false,
        "type": "checkbox"
      }
    ],
    "registrationFamily": "statistical-comparison-tests",
    "input": false,
    "note": "Runs on your device. Suggestions follow fixed rules and link to the matching Happytails.ai tool.",
    "experience": {
      "automatic": false,
      "single": false,
      "inputMaxLength": 1000000,
      "inputMode": "text",
      "label": "Study questions",
      "placeholder": "Answer the questions in the form fields",
      "help": "Choose the question and outcome first; group questions apply to comparisons. Up to 1,000,000 characters. Review the settings before running.",
      "helpParts": [
        "Choose the question and outcome first; group questions apply to comparisons.",
        "Up to 1,000,000 characters.",
        "Review the settings before running."
      ],
      "action": null
    },
    "mode": "explicit",
    "interactive": false
  },
  "execution": "Browser interface",
  "api": null,
  "browser_agent": {
    "supported": true,
    "name": "run_current_tool",
    "discovery": "WebMCP on the human page in a supporting browser",
    "verification": "See audit/API-AUDIT.md; availability is not verification"
  }
}

Page guide

Answer a few questions about your question, outcome and groups to get a ranked list of suitable methods, the assumptions each one needs, and a link to the Happytails.ai tool that runs it.

How to use Statistical test selection guide
  1. Choose what you want to find out and the type of outcome.
  2. For comparisons, give the number of groups, pairing, the smallest group size and what you know about normality and spread.
  3. Run the guide and read the recommended method and the alternatives.
  4. Open the linked tool, or download the list.

Useful next steps

How suggestions are made

Fixed rules map your answers to methods. Comparisons of continuous outcomes suggest Welch's t test or Welch's ANOVA first; small groups with doubtful normality, ordinal outcomes and counts put rank tests first. Binary and category outcomes of independent groups suggest chi-square or Fisher's exact test. Paired yes/no data get McNemar's test for two measurements and Cochran's Q, run as the Friedman test on 0 and 1 codes, for three or more; one sample of yes/no outcomes gets the exact binomial test against a reference proportion. Paired category outcomes and one sample of categories are marked not suitable, because the Stuart-Maxwell, Bowker and goodness-of-fit tests they need are not available here. Other questions lead to regression, agreement, reliability, diagnostic accuracy, distribution, time series or meta-analysis tools.

Reading the list

Each candidate is marked recommended, alternative or not suitable, with fixed sentences for assumptions you have not confirmed, such as equal variances for Student's t test. Every suggestion links to the Happytails.ai page that runs it; a method marked not suitable links back to this guide.

Limits

The rules cover the methods in this catalogue only and cannot see your data or study design. They are a starting point to check with someone who knows the study, not a statistical review.