Works with the AI Agents you already use

    regression diagnostics assistant(only for learning)

    by awWIU

    1

    Transform raw OLS regression output into a structured, evidence-based diagnostic audit and assumption checklist.

    Free

    Security scanned
    regression diagnostics assistant(only for learning)

    regression diagnostics assistant(only for learning)

    Example session with this skill installed

    I ran a regression in R: lm(price ~ sqft + rooms). n=150, R2=0.45. Max VIF is 8.2. Breusch-Pagan p=0.02. Durbin-Watson is 1.9. Is this model okay to report?

    • Read your context and instructions
    • Compiled the regression diagnostics assistant

    The regression model for price (OLS) with 150 observations and 2 predictors has been analyzed based on the provided R output and statistics.

    Verdict: USABLE ONLY WITH CAVEATS (1 FLAG, 1 WATCH, 4 UNKNOWN across 6 checks)

    Diagnostic Audit Report

    CheckStatusEvidence UsedWhy it MattersNext Action
    MulticollinearityWATCHMax VIF = 8.2High correlation inflates SEs and makes coefficients unstable.Check partial correlations.
    HomoscedasticityFLAGBP p=0.02Heteroscedasticity biases SEs; p-values are likely unreliable.Use robust SEs: vcovHC.
    IndependenceOKDW = 1.9No evidence of first-order autocorrelation in residuals.None required.
    LinearityUNKNOWNNo RESET pFunctional form misspecification may bias all results.Run lmtest::resettest(model).
    NormalityUNKNOWNNo JB/Shapiro pCritical for small-sample inference and CI accuracy.Run shapiro.test(resid(model)).
    Outliers/InfluenceUNKNOWNNo Cook's DA few extreme points might be driving the entire result.Run max(cooks.distance(model)).

    Interpretation Boundary
    The violation of the homoscedasticity assumption means your current standard errors and p-values cannot be trusted for hypothesis testing. The high VIF suggests that while the model predicts price, the individual contributions of 'sqft' and 'rooms' are difficult to isolate. This report represents association only; it does not support causal claims or policy interventions.

    What this report cannot tell you

    • Whether you have omitted important variables.
    • If 'sqft' actually causes 'price' (endogeneity).
    • If the linear functional form is the best fit for this data.

    Next steps

    1. Re-estimate the model using Heteroscedasticity-Consistent (HC) standard errors.
    2. Run car::vif(model) to confirm if individual VIFs exceed 10.
    3. Execute lmtest::resettest(model) to verify the linear specification.

    Next steps

    • Re-run the regression using robust standard errors to correct the flagged BP test result.
    • Check Cook's Distance to ensure the VIF isn't being spiked by a single influential outlier.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Most developers trust OLS regression results far too much without verifying the underlying assumptions. This skill converts raw regression output or coefficient tables into a structured diagnostic audit, identifying exactly where a model violates statistical requirements.

    What it does

    • Assumption validation evaluates OLS requirements like homoscedasticity, linearity, and independence using your provided statistics.
    • Evidence-based status tracking assigns specific labels (OK, WATCH, FLAG, UNKNOWN) to every check based on actual evidence, never guesses.
    • Error consequence analysis explains exactly how specific failures impact your coefficients, standard errors, or p-values.
    • Diagnostic gap identification lists missing statistics and provides the exact code commands needed to generate them.
    • Interpretation scoping defines the strict limits of the result, separating association from causation and flagging specification risks.

    How it works

    1. Input raw data by pasting console output from R, Stata, or Python, or providing a coefficient table.
    2. Standardize evidence as the skill maps your fields to a diagnostic schema, identifying the data structure and estimator.
    3. Execute audit using a deterministic checker that applies strict statistical thresholds to your specific values.
    4. Review report which includes a diagnostic table, a formal verdict, and a list of required next steps.

    Frameworks & tools

    The skill is designed for OLS linear models. It supports output parsing from R, Stata, and Python (Statsmodels/Scikit-learn).

    Why this beats prompting it yourself

    Generic prompts often hallucinate statistical interpretations or miss subtle interactions between sample size and test power. This skill uses a deterministic logic gate to ensure every status is grounded in your specific R², VIF, or p-value results.

    Use cases

    • Auditing a thesis or research paper's regression table for red flags.
    • Checking if a model is "report-ready" before submission.
    • Troubleshooting unexpected p-values or signs in a linear model.
    • Generating a standard diagnostic checklist for a project's documentation.

    Known limitations

    Only supports linear OLS models. Does not support logistic, probit, panel, or multilevel models, and cannot fix endogeneity or select variables.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 10 days ago

    • Free with an Agensi account

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listed10 days ago

    What's inside

    Creator

    A

    awWIU

    none

    Frequently Asked Questions

    This skill automates the tedious process of validating OLS assumptions by auditing your raw regression output for issues like multicollinearity and heteroscedasticity. It prevents you from reporting biased coefficients or misleading p-values by identifying exactly where your model fails statistical requirements.

    The assistant supports raw console output or coefficient tables from R (lm), Stata (regress), and Python (Statsmodels and Scikit-learn). It is designed to parse standard summary formats and mapping statistics like R-squared, VIF, and p-values directly into its diagnostic schema.

    No, this skill is specifically engineered for linear OLS models to ensure high-fidelity diagnostic accuracy. It does not currently support non-linear models such as logistic, probit, or multilevel regressions, which require different underlying assumptions and test statistics.

    Unlike generic prompts that might 'hallucinate' a model's validity, this skill uses a deterministic logic gate to check your statistics against strict thresholds. If a required statistic is missing, it will flag it as 'UNKNOWN' and provide the code to generate it rather than guessing the status.

    You receive the full skill package for your AI agent, a guide on formatting your regression inputs for the best results, and a library of code snippets to help you generate missing diagnostic tests. Future updates to the diagnostic logic and support for additional output formats are included with your purchase.

    The skill will explicitly list the missing diagnostics (such as Breusch-Pagan or Durbin-Watson) and provide the exact code commands needed to generate them in your language of choice. This ensures you can fill the gaps and reach a 'Report-Ready' status for your research.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    Free