Analyze Quantitative Data · Neuman Ch 12 Workflow
This skill guides users through systematic quantitative data analysis based on
W. Lawrence Neuman, Social Research Methods: Qualitative and Quantitative Approaches, 7e, Chapter 12 (p.393-430).
The chapter's procedure is decomposed into 7 sequential steps, each with a
dedicated prompt template that enforces methodological rigor.
When to invoke
Invoke this skill when the user:
- Has a survey, experiment, or numerical dataset to analyze
- Asks "how do I analyze X?" with quantitative data
- Wants to run a regression, t-test, ANOVA, chi-square
- Needs to interpret statistical output
- Is preparing a Methods or Results section for a quantitative paper
Do not invoke for:
- Pure data engineering / ETL (no analysis intent)
- Machine learning prediction (different methodology)
- Qualitative analysis (use
analyze-qualitative-data instead)
The 7-step procedure (Neuman Ch 12)
| # |
Step |
Prompt file |
Neuman pages |
| 1 |
Build codebook |
prompts/01-codebook.md |
393-394 |
| 2 |
Clean data (wild code + contingency) |
prompts/02-clean-data.md |
397 |
| 3 |
Univariate analysis (frequency, central tendency, variation) |
prompts/03-univariate.md |
397-403 |
| 4 |
Bivariate analysis (scattergram, percentaged tables, association measures) |
prompts/04-bivariate.md |
403-416 |
| 5 |
Multivariate elaboration (5 patterns) |
prompts/05-multivariate-elaboration.md |
417-420 |
| 6 |
Multiple regression |
prompts/06-multivariate-regression.md |
420-422 |
| 7 |
Inferential statistics |
prompts/07-inferential.md |
422-426 |
How to use
Sequential mode (full study, beginner)
Walk through 1 → 2 → 3 → 4 → 6 → 7 in order. Step 5 (elaboration) only if user
wants to test for spurious relationships before regression.
Targeted mode (specific question)
Jump directly to the relevant step. Common patterns:
- "I need to interpret a regression" → step 6 → 7
- "Is my X-Y relationship spurious?" → step 5
- "Just describe my variables" → step 3
Audit mode (review existing analysis)
Run user's analysis through steps 2 → 3 → 4 to check for missed cleaning, lurking
distributional issues, or wrong-level association measures.
Cross-cutting principles (apply at every step)
Don't assume — ask back. If variable types or research question are
unclear, request clarification before generating code.
Measurement level determines tool. Wrong level (e.g., Pearson r on ordinal
data) is the most common silent error. Reject and re-prompt.
Report sample size N at every output. Listwise deletion shrinks N silently;
always disclose.
Effect size before p-value. Statistical significance can be trivial in
large samples; substantive significance is the user's judgment.
Surface uncertainty. When AI is unsure (e.g., whether a missing pattern is
random), say so explicitly and propose ways for user to verify.
What this skill does NOT do
- Decide research questions or hypotheses — that's research design (Neuman Ch 6)
- Choose methodology — handled in earlier course content
- Verify causal identification — Mill's methods or experimental design needed
- Replace methodological consultation — for complex designs (mediation, SEM,
multilevel models, IV/DID/RDD), recommend the user find a domain expert after
steps 1-5 to verify key judgments
Required outputs at each step
Every step's prompt enforces:
- Sample size N (with listwise deletion accounting)
- Variable measurement levels (validated against statistical choice)
- Suspect patterns flagged (collinearity, outliers, severe skew, near-zero
variance, etc.)
- Code reproducible by the user (no placeholders, runnable)
- Plain-language interpretation alongside numerical output
Companion skill
For mixed-methods projects, see analyze-qualitative-data (Neuman Ch 14).
1---2name: analyze-quantitative-data3description: Use when analyzing quantitative social science data following Neuman's Social Research Methods Ch 12 — codebook creation, data cleaning, univariate descriptive statistics, bivariate association, multivariate analysis (elaboration paradigm + multiple regression), and inferential statistics (significance testing, Type I/II errors). Trigger on requests like "analyze this survey data", "run regression on X", "check bivariate relationship between A and B", "what does this codebook need", "interpret these statistics", "我要做定量分析", "帮我跑回归", "分析这份调查数据".4---56# Analyze Quantitative Data · Neuman Ch 12 Workflow78This skill guides users through systematic quantitative data analysis based on9**W. Lawrence Neuman, *Social Research Methods: Qualitative and Quantitative Approaches*, 7e, Chapter 12** (p.393-430).1011The chapter's procedure is decomposed into 7 sequential steps, each with a12dedicated prompt template that enforces methodological rigor.1314## When to invoke1516Invoke this skill when the user:17- Has a survey, experiment, or numerical dataset to analyze18- Asks "how do I analyze X?" with quantitative data19- Wants to run a regression, t-test, ANOVA, chi-square20- Needs to interpret statistical output21- Is preparing a Methods or Results section for a quantitative paper2223Do **not** invoke for:24- Pure data engineering / ETL (no analysis intent)25- Machine learning prediction (different methodology)26- Qualitative analysis (use `analyze-qualitative-data` instead)2728## The 7-step procedure (Neuman Ch 12)2930| # | Step | Prompt file | Neuman pages |31|---|------|-------------|--------------|32| 1 | **Build codebook** | `prompts/01-codebook.md` | 393-394 |33| 2 | **Clean data** (wild code + contingency) | `prompts/02-clean-data.md` | 397 |34| 3 | **Univariate analysis** (frequency, central tendency, variation) | `prompts/03-univariate.md` | 397-403 |35| 4 | **Bivariate analysis** (scattergram, percentaged tables, association measures) | `prompts/04-bivariate.md` | 403-416 |36| 5 | **Multivariate elaboration** (5 patterns) | `prompts/05-multivariate-elaboration.md` | 417-420 |37| 6 | **Multiple regression** | `prompts/06-multivariate-regression.md` | 420-422 |38| 7 | **Inferential statistics** | `prompts/07-inferential.md` | 422-426 |3940## How to use4142### Sequential mode (full study, beginner)43Walk through 1 → 2 → 3 → 4 → 6 → 7 in order. Step 5 (elaboration) only if user44wants to test for spurious relationships before regression.4546### Targeted mode (specific question)47Jump directly to the relevant step. Common patterns:48- "I need to interpret a regression" → step 6 → 749- "Is my X-Y relationship spurious?" → step 550- "Just describe my variables" → step 35152### Audit mode (review existing analysis)53Run user's analysis through steps 2 → 3 → 4 to check for missed cleaning, lurking54distributional issues, or wrong-level association measures.5556## Cross-cutting principles (apply at every step)57581. **Don't assume — ask back.** If variable types or research question are59 unclear, request clarification before generating code.60612. **Measurement level determines tool.** Wrong level (e.g., Pearson r on ordinal62 data) is the most common silent error. Reject and re-prompt.63643. **Report sample size N at every output.** Listwise deletion shrinks N silently;65 always disclose.66674. **Effect size before p-value.** Statistical significance can be trivial in68 large samples; substantive significance is the user's judgment.69705. **Surface uncertainty.** When AI is unsure (e.g., whether a missing pattern is71 random), say so explicitly and propose ways for user to verify.7273## What this skill does NOT do7475- **Decide research questions or hypotheses** — that's research design (Neuman Ch 6)76- **Choose methodology** — handled in earlier course content77- **Verify causal identification** — Mill's methods or experimental design needed78- **Replace methodological consultation** — for complex designs (mediation, SEM,79 multilevel models, IV/DID/RDD), recommend the user find a domain expert after80 steps 1-5 to verify key judgments8182## Required outputs at each step8384Every step's prompt enforces:85- **Sample size N** (with listwise deletion accounting)86- **Variable measurement levels** (validated against statistical choice)87- **Suspect patterns flagged** (collinearity, outliers, severe skew, near-zero88 variance, etc.)89- **Code reproducible by the user** (no placeholders, runnable)90- **Plain-language interpretation** alongside numerical output9192## Companion skill9394For mixed-methods projects, see `analyze-qualitative-data` (Neuman Ch 14).