• STATISTIC
  • VERDICT
  • DATA
  • HUMAN

How to validate regression residuals with your AI

Connect the Normality Test Engine to your AI client to run deterministic statistical checks on your model outputs.

Ask AI about this page

Short answer

How can I check if my regression residuals are normal?

Your AI uses the Jarque-Bera test to check if your residuals follow a normal distribution. This confirms your model meets the necessary statistical assumptions. You'll get the test results and a clear verdict on whether to proceed.

The test results.

What you get from the check.

The AI processes the data and hands you these specific outcomes.

STATISTIC

Jarque-Bera score

The AI calculates the exact test statistic. You get the numerical value needed to evaluate the distribution.

VERDICT

Normality status

The AI interprets the p-value for you. It tells you if the residuals meet the requirements or fail the test.

DATA

Distribution shape

The AI checks skewness and kurtosis. This shows you how the residuals deviate from a perfect normal curve.

HUMAN

Model decisions

The AI flags the failure, but you decide how to fix it. You choose whether to transform variables or change your model.

The workflow

What your AI does when the residuals arrive.

The AI handles the math so you don't have to manually run statistical tests.

  1. Data ingestion

    Your AI pulls the residual values from your provided dataset.

    test_normality
  2. Statistical computation

    The AI runs the Jarque-Bera calculation on the residual data.

    test_normality
  3. Distribution analysis

    The AI evaluates skewness and kurtosis to check for non-normality.

    test_normality
  4. Result reporting

    The AI delivers the test statistic and the final normality verdict.

    test_normality

Try it

Copy these to start.

Use these prompts to trigger the normality test immediately.

Starting points

Swap the bracketed text for your actual file names or data sources.

Normality Test Engine Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_WUlfcwTW8ijdRBrYjBDTpDiFw1dcKsTz5HdufzbG/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Normality Test Engine capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "normality-test-engine-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_WUlfcwTW8ijdRBrYjBDTpDiFw1dcKsTz5HdufzbG/mcp"
    }
  }
}
Copy into chat04
  • Run a Jarque-Bera test on the residuals in my 'model_output.csv' file.

  • Check if the residuals from my current regression meet normality requirements.

  • Analyze the distribution of the residuals in the 'residuals_data' sheet.

  • Perform a normality test on these residual values: [paste values here].

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Normality Test Engine once, then ask.

One connection gives your AI client access to these statistical tools. Your credentials stay encrypted on our side.

Connect Normality Test Engine to your AI

FAQ

How the normality test behaves

  • 01

    Can the AI fix my model if the residuals aren't normal?

    No. The AI identifies the issue and provides the test results, but you must decide how to adjust your model.

  • 02

    Does the AI change my original dataset?

    No. The AI only reads the data to perform the calculation; it never modifies your source files.

  • 03

    What specific test does the AI perform?

    The AI performs a deterministic Jarque-Bera test.

  • 04

    Can I use this with any regression model?

    Yes, as long as you can provide the residual values to your AI client.

  • 05

    Will the AI generate plots of the distribution?

    No. The AI provides the statistical values and the normality verdict in text format.

  • More questions about Normality Test Engine? The Connector page answers them. See everything the Normality Test Engine Connector can do

Connect Normality Test Engine to Claude, Cursor, ChatGPT & more