본문으로 건너뛰기
Skillpedia
에이전트51k · #3458

experimental-design

하는 일

이 도구는 과학 실험이나 연구를 계획하도록 돕습니다. 참가자나 시료를 여러 집단으로 나누는 방법, 무작위성을 적용하는 방법, 비슷한 단위를 묶는 방법을 정해 결과가 명확하고 신뢰할 수 있도록 합니다.

사용하는 경우

  • ✓연구를 계획하며 참가자를 어떻게 나눌지 정할 때.
  • ✓흔한 오류를 피하며 결과의 신뢰성을 확보하고 싶을 때.
  • ✓여러 조건이나 처치를 시험할 계획을 세워야 할 때.

스킬 링크

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/experimental-design/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/experimental-design/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“두 약물을 비교하려고 합니다. 비교가 공정하도록 환자 100명을 두 집단으로 어떻게 나누면 좋을까요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

이 도구는 편향을 피하기 위한 무작위 배정, 변동성을 추정하기 위한 반복, 결과에 영향을 줄 수 있는 요인을 통제하기 위한 블록화 같은 원칙을 사용합니다. 데이터를 수집하기 전에 가장 좋은 계획을 고르도록 돕습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Experimental Design

Overview

The design of a study — how units are assigned to conditions, what is held constant, what is varied, and in what structure — determines what questions the data can answer. No analysis can rescue a confounded or pseudoreplicated design after the fact. This skill is about the decisions made before data collection: picking a design that isolates the effect of interest, randomizing to license causal claims, blocking to remove known nuisance variation, and structuring multi-factor experiments so effects are estimable rather than tangled together.

The three ideas behind almost every good design (Fisher's principles):

  • Randomization — assign treatments at random so that confounders, known and unknown, are balanced in expectation. This is what turns a comparison into a causal claim.
  • Replication — independent repetition at the right level, so you can estimate variability and your effects aren't artifacts of a single unit. The most common fatal error is pseudoreplication: counting repeated measurements on the same unit as independent replicates.
  • Blocking / local control — group similar units (by batch, day, site, litter) and randomize within blocks, removing that nuisance variation from the error term instead of letting it inflate noise.

This skill helps you choose among design types, generate the actual randomization or DOE layout (with reproducible scripts), and avoid the structural mistakes that make data uninterpretable.

When to Use This Skill

  • Planning any comparative experiment or trial and deciding how to assign units
  • Randomizing subjects/samples to arms (simple, blocked, stratified, or cluster)
  • Removing nuisance variation by blocking or stratification
  • Designing multi-factor experiments: full or fractional factorial, screening designs
  • Optimizing a response over continuous factors (response-surface designs)
  • Within-subject / repeated-measures, crossover, split-plot, or Latin-square designs
  • Cluster- or group-randomized designs (sites, clinics, classrooms, litters)
  • Deciding the number and level of replicates and avoiding pseudoreplication
  • Sequential, group-sequential, or adaptive designs with interim analyses
  • Laying out plates/batches and randomizing run order to defeat drift

Installation

uv venv --python 3.13 .venv-design
uv pip install --python .venv-design/bin/python "numpy==2.5.3" "pandas==3.0.6" "pydoe==1.5.0"

pyDOE3 was archived in May 2026; active development returned to pydoe. The bundled wrappers target pydoe==1.5.0, imported as lowercase pydoe, and return designs in real factor units. All seven DOE wrappers and both script demos were executed with Python 3.13, NumPy 2.5.3, pandas 3.0.6, and SciPy 1.18.1. On Windows, the environment interpreter is .venv-design/Scripts/python.exe. Archive the environment versions and exported schedules: a seed alone does not promise identical output across package or script upgrades.


Choosing a design

Start from the question and the structure of your units, not from a favorite design.

What are you trying to learn?
│
├─ Compare a few predefined conditions (A vs B vs C)?
│   ├─ Units independent, possibly with a known nuisance factor (day, batch, site)?
│   │     → Completely randomized (no nuisance) or RANDOMIZED BLOCK design.
│   ├─ Each unit can receive every condition in sequence (washout possible)?
│   │     → CROSSOVER / repeated-measures design (watch carry-over and correlation).
│   └─ You can only randomize groups, not individuals (schools, clinics)?
│         → CLUSTER-randomized design (account for clustering; see pseudoreplication).
│
├─ Screen MANY factors (5+) to find the few that matter?
│     → FRACTIONAL FACTORIAL or PLACKETT-BURMAN screening design.
│
├─ Quantify main effects AND interactions among a handful of factors?
│     → FULL 2^k FACTORIAL design.
│
├─ Find the settings that OPTIMIZE a response (curvature matters)?
│     → RESPONSE-SURFACE design: central composite or Box-Behnken.
│
└─ Explore a simulation/computer model over a continuous space?
      → SPACE-FILLING design: Latin hypercube.

Detailed guidance per branch:

  • Randomization, blocking, stratification, controls → references/randomization_and_blocking.md
  • Factorial, fractional-factorial, screening, response-surface, DOE concepts (aliasing, resolution) → references/factorial_and_doe.md

…

자주 묻는 질문

실험에서 무작위 배정이란 무엇인가요?

동전을 던지듯 처치나 집단을 무작위로 배정하는 것입니다. 알려지지 않은 요인이 결과에 영향을 주지 않도록 하여 원인과 결과에 대한 결론을 내릴 수 있게 합니다.

반복(replication)이란 무엇이며 왜 중요한가요?

독립적인 단위에서 실험이나 측정을 반복하는 것입니다. 데이터의 자연스러운 변동성을 추정하고, 관찰된 효과가 우연이 아님을 확인하는 데 필수적입니다.

블록화(blocking)란 무엇인가요?

비슷한 단위(예: 같은 병원의 환자나 같은 배치의 시료)를 묶은 다음, 그 묶음 안에서 무작위 배정하는 것입니다. 이렇게 하면 원치 않는 변동을 제거해 주요 효과가 더 분명해집니다.

상세 정보

작성자의 원본 설명

Designs experiments and studies BEFORE data is collected — choosing a design, randomizing, blocking, and laying out treatment combinations so results are interpretable. Use whenever someone is planning a study, asks how to assign subjects/samples to groups, mentions randomization, blocking, stratification, controls, factorial or fractional-factorial designs, design of experiments (DOE), screening

repo: K-Dense-AI/scientific-agent-skills

인기도

GitHub 스타
51k
순위
#3458
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬