sample-size-basic
Basic sample size calculator for clinical research planning with common statistical scenarios
npx skills add majiayu000/claude-skill-registry --skill sample-size-basic --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# Sample Size (Basic) Basic sample size estimation for clinical research planning. ## Use Cases - Quick sample size estimates for grant proposals - Preliminary study design calculations - Educational purposes for statistics training ## Parameters - `test_type`: Type of test (t_test, chi_square, proportion) - `alpha`: Significance level (default 0.05) - `power`: Statistical power (default 0.80) - `effect_size`: Expected effect size - `baseline_rate`: Baseline proportion (for proportion tests) ## Returns - Required sample size per group - Total sample size - Statistical assumptions summary ## Example Input: Two-sample t-test, alpha=0.05, power=0.80, effect_size=0.5 Output: n=64 per group, total=128 subjects ## Risk Assessment | Risk Indicator | Assessment | Level | |----------------|------------|-------| | Code Execution | Python/R scripts executed locally | Medium | | Network Access | No external API calls | Low | | File System Access | Read input files, write output files | Medium | | Instruction Tampering | Standard prompt guidelines | Low | | Data Exposure | Output files saved to workspace | Low | ## Security Checklist - [ ] No hardcoded credentials or API keys - [ ] No unauthori
- Use Cases
- Parameters
- Returns
- Example
- Risk Assessment
- Security Checklist
- Prerequisites
- Evaluation Criteria
- Success Metrics
- Test Cases
- Lifecycle Status
Python dependencies pip install -r requirements.txt
What does the sample-size-basic skill do?
Basic sample size calculator for clinical research planning with common statistical scenarios
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill sample-size-basic --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
