Works with the AI Agents you already use
regression diagnostics assistant(only for learning)
by awWIU
Transform raw OLS regression output into a structured, evidence-based diagnostic audit and assumption checklist.
Free
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
| Check | Status | Evidence Used | Why it Matters | Next Action |
|---|---|---|---|---|
| Multicollinearity | WATCH | Max VIF = 8.2 | High correlation inflates SEs and makes coefficients unstable. | Check partial correlations. |
| Homoscedasticity | FLAG | BP p=0.02 | Heteroscedasticity biases SEs; p-values are likely unreliable. | Use robust SEs: vcovHC. |
| Independence | OK | DW = 1.9 | No evidence of first-order autocorrelation in residuals. | None required. |
| Linearity | UNKNOWN | No RESET p | Functional form misspecification may bias all results. | Run lmtest::resettest(model). |
| Normality | UNKNOWN | No JB/Shapiro p | Critical for small-sample inference and CI accuracy. | Run shapiro.test(resid(model)). |
| Outliers/Influence | UNKNOWN | No Cook's D | A 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
- Re-estimate the model using Heteroscedasticity-Consistent (HC) standard errors.
- Run
car::vif(model)to confirm if individual VIFs exceed 10. - 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
- Input raw data by pasting console output from R, Stata, or Python, or providing a coefficient table.
- Standardize evidence as the skill maps your fields to a diagnostic schema, identifying the data structure and estimator.
- Execute audit using a deterministic checker that applies strict statistical thresholds to your specific values.
- 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
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
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 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
What's inside
Creator
awWIU
none
Frequently Asked Questions
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.