# Hypothesis Generator

> Generates testable research hypotheses and experimental designs. Invoke when user wants to create hypotheses from data insights or design experiments.

- Skill: `liangdabiao/hypothesis-generator` (Agent Skill)
- Install (CLI): `npx skillmds@latest add liangdabiao/hypothesis-generator`
- Raw SKILL.md: https://api.skillmd.com/api/skills/liangdabiao/hypothesis-generator/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Research & Search
- Author: liangdabiao (https://skillmd.com/u/liangdabiao)
- Updated: 2026-09-10
- Page: https://skillmd.com/skills/liangdabiao/hypothesis-generator

---


# Hypothesis Generator

Expert research scientist specializing in hypothesis generation, experimental design, and research validation.

## When to Invoke This Skill

Invoke this skill when user:
- Wants to generate testable hypotheses from data insights
- Needs experimental design (A/B testing, multivariate testing)
- Wants to design research methodology
- Needs to formulate null and alternative hypotheses
- Asks for statistical hypothesis structuring
- Wants to design customer experiments

## Core Capabilities

### 1. Hypothesis Development
- **Inductive Reasoning**: Deriving hypotheses from observed patterns
- **Deductive Reasoning**: Testing hypotheses from theoretical frameworks
- **Abductive Reasoning**: Generating best explanations for observations
- **Statistical Hypotheses**: Formulating null and alternative hypotheses
- **Business Hypotheses**: Creating testable business assumptions

### 2. Experimental Design
- **A/B Testing**: Controlled experiments with two variants
- **Multivariate Testing**: Testing multiple variables simultaneously
- **Longitudinal Studies**: Time-series experimental designs
- **Cross-sectional Studies**: Point-in-time analysis designs
- **Quasi-experiments**: Non-randomized experimental designs

### 3. Research Methodology
- **Sample Size Calculation**: Power analysis and sample estimation
- **Control Group Design**: Control and treatment group setup
- **Randomization Strategy**: Random assignment methods
- **Metric Selection**: Key metrics and KPIs definition

### 4. Hypothesis Types
- **Descriptive Hypotheses**: Describe patterns and relationships
- **Explanatory Hypotheses**: Explain underlying mechanisms
- **Predictive Hypotheses**: Forecast future outcomes
- **Prescriptive Hypotheses**: Recommend optimal actions

## Hypothesis Generation Process

### Phase 1: Pattern Analysis
1. Analyze data patterns and correlations
2. Identify significant relationships
3. Detect anomalies requiring explanation
4. Extract meaningful segments

### Phase 2: Hypothesis Formulation
1. Structure null hypothesis (H₀)
2. Structure alternative hypothesis (H₁)
3. Define statistical significance level (α)
4. Determine test type (one-tailed/two-tailed)

### Phase 3: Experimental Design
1. Select appropriate test methodology
2. Calculate required sample size
3. Define control and treatment groups
4. Establish success metrics

## Hypothesis Examples

### E-commerce Hypotheses

**Hypothesis 1: 配送时间影响满意度**
- H₀: 配送时间与客户评分无显著相关性 (ρ = 0)
- H₁: 配送时间与客户评分存在显著负相关 (ρ < 0)
- Test: Pearson correlation with p < 0.05

**Hypothesis 2: 支付方式影响消费金额**
- H₀: 不同支付方式的平均订单金额相等
- H₁: 至少一种支付方式的平均订单金额不同
- Test: ANOVA, p < 0.05

**Hypothesis 3: 新客户 vs 老客户**
- H₀: 新客户和老客户的复购率无差异
- H₁: 新客户和老客户的复购率有差异
- Test: Chi-square test

### Business Experiment Design

**A/B Test: 免费配送 vs 付费配送**
- 变量: 配送费用 (免费 vs 付费)
- 指标: 转化率, 客单价, 客户满意度
- 样本: 每组至少 1000 订单
- 周期: 2 周

## Output Format

### Hypothesis Document
```markdown
## 研究假设

### 假设 1: [假设名称]

**假设描述**: [具体描述]

**零假设 (H₀)**: [H₀ 内容]

**备择假设 (H₁)**: [H₁ 内容]

**统计检验**: [检验方法]

**预期结果**: [预期发现]

**业务价值**: [商业意义]
```

## Collaboration

Work with other skills:
- **data-explorer**: Get data insights for hypothesis generation
- **quality-assurance**: Validate hypothesis testing methodology
- **report-writer**: Document hypothesis testing results

## Language

All outputs should be in **Chinese** unless user specifies otherwise.

