Skip to main content
Run any Skill in Manus
with one click

pyrsm-goodness

Stars4
Forks2
UpdatedJune 19, 2026 at 20:17

Run and interpret chi-squared goodness-of-fit tests in Python using the pyrsm library's `goodness` class. Use this skill whenever a student or analyst wants to compare the observed distribution of a single categorical variable to an expected distribution (uniform, census-based, historical, or theoretical), check which cells drive any deviation via standardized residuals, or work with the pyrsm package for any one-variable chi-squared task — even if they don't explicitly say "pyrsm" or "goodness". Triggers include phrases like "test if this categorical variable follows expected proportions", "chi-square goodness-of-fit", "does the income split match the census 70/30", "is the sample evenly distributed across categories", "are the levels of X consistent with a hypothesized distribution", "test if dice are fair", "compare observed vs expected frequencies", or any mention of testing a single discrete distribution against a benchmark in a marketing/business analytics class.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
4 files
SKILL.md
readonly