Alterlab ssci sampling gate
Gates who is sampled, how, and how many before data collection, checks that the sampling FRAME matches the target population (coverage error).
In detail
Gates who is sampled, how, and how many before data collection — checks that the sampling FRAME matches the target population (coverage error), that the METHOD is named (probability vs non-probability: simple random, stratified, cluster, systematic, quota, convenience, snowball), that sample SIZE follows the inference paradigm (an a-priori power analysis for hypothesis tests, a precision/margin-of-error target for estimation, or saturation/information power for qualitative studies — never a rule of thumb or collect-until-significant), and that the generalization claim matches the sample (statistical generalization only from probability samples). Use when asking how many participants are needed, planning recruitment, running or checking a power analysis, or judging whether a sample supports a population claim. For questionnaire items prefer alterlab-survey-design; for choosing the statistical test prefer alterlab-test-selection-guard. Part of the AlterLab Academic Skills suite.
Safety check
- Not rated by Claude yet. We only sell skills Claude has read and rated 7 out of 10 or higher, so this one is a free link to its author.
An automated scan lowers risk but cannot promise zero risk. How we check skills
Preview
The first lines of SKILL.md
---
name: alterlab-ssci-sampling-gate
description: "Gates who is sampled, how, and how many before data collection — checks that the sampling FRAME matches the target population (coverage error), that the METHOD is named (probability vs non-probability: simple random, stratified, cluster, systematic, quota, convenience, snowball), that sample SIZE follows the inference paradigm (an a-priori power analysis for hypothesis tests, a precision/margin-of-error target for estimation, or saturation/information power for qualitative studies — never a rule of thumb or collect-until-significant), and that the generalization claim matches the sample (statistical generalization only from probability samples). Use when asking how many participants are needed, planning recruitment, running or checking a power analysis, or judging whether a sample supports a population claim. For questionnaire items prefer alterlab-survey-design; for choosing the statistical test prefer alterlab-test-selection-guard. Part of the AlterLab Academic Skills suite."
license: MIT
allowed-tools: Read Bash(python:*) Bash(uv run:*)
compatibility: No API key required. A discipline-enforcing sampling-and-power skill; the optional sample-size calculator runs locally via `uv run python` (standard library only).
metadata:
skill-author: AlterLab
version: "1.0.0"
depends_on: "alterlab-survey-design (instrument), alterlab-qualitative-methods (saturation depth), alterlab-test-selection-guard, alterlab-statistical-analysis"
---
# Sampling Gate — The Sample Decides Who the Answer Is About
**Skill type: DISCIPLINE-ENFORCING.** Before a single case is collected, this gate fixes three
things — the *frame*, the *method*, and the *size logic* — and ties the generalization claim to
them. It does not run the study or pick the test; it refuses to let sizing and recruitment happen
by habit.
## The Core Rule
```
WHO YOU SAMPLE AND HOW MANY MUST FOLLOW THE INFERENCE YOU WANT —
POWER FOR TESTS, PRECISION FOR ESTIMATES, SATURATION FOR THEORY.
A BIGGER N NEVER FIXES A BROKEN FRAME.
```
Sample size is not one calculation; it is *whichever* logic matches the inference. A hypothesis
test needs an **a-priori power analysis** (effect size + alpha + power ⇒ N). An estimation goal
needs a **precision** target (a margin of error at a confidence level). A qualitative study is
governed by **saturation / information power**, not a formula. And none of these matters if the
**frame** — the list you actually draw from — omits or over-represents part of the target
population. Coverage error and self-selection are not cured by collecting more.
## When to Use This Skill
- "How many participants / interviews / respondents do I need?"
- "Is my sample big enough to detect the effect?" (← a-priori power)
- "I surveyed 300 students; can I generalize to all adults?" (← frame + method)
- "My result was not significant — should I just collect more until it is?" (← no; pre-specify)
...From AlterLab-IEU's repository, MIT licence.
Related skills
-
Only hereChecked
Exam answer coach for HSC, VCE and QCE
Coaches Australian Year 11 and 12 students (HSC, VCE, QCE, SACE, WACE) to answer exam and practice questions the way markers reward.
1 credit -
Only hereChecked
Practice answer marker for HSC, VCE and QCE
Marks an Australian senior student's practice or past paper answer (HSC, VCE, QCE, SACE, WACE) honestly.
1 credit -
Only hereChecked
Assessment task planner for Year 11 and 12
Turns an Australian Year 11 or 12 assessment task sheet.
1 credit -
Checked
Socratic tutor
Teaches a topic by asking questions, tracking your level and quizzing you with spaced review until it sticks.
8/101 credit -
Checked
Past paper marker
Marks your answer against the mark scheme you supply and shows exactly where marks were won and lost.
7/101 credit -
Checked
Patient Maths Tutor
Explains maths ideas clearly and guides you through problems so you learn to solve and check them yourself.
7/101 credit