スキル一覧に戻る
astoreyai

randomization

by astoreyai

Research Assistant Plugin for Claude Code - Complete research workflow automation with AI-detection

3🍴 3📅 2026年1月8日
GitHubで見るManusで実行

SKILL.md


name: randomization description: "Implement proper randomization procedures for experiments. Use when: (1) Assigning participants to conditions, (2) Ensuring unbiased allocation, (3) Meeting CONSORT standards, (4) Pre-registration." allowed-tools: Read, Write, Bash version: 1.0.0

Randomization Skill

Purpose

Implement proper random assignment to minimize selection bias.

Randomization Methods

1. Simple Randomization

  • Coin flip, random number generator
  • Best for large samples (N>200)
  • Risk of imbalance in small samples

2. Block Randomization

  • Ensures equal group sizes
  • Blocks of 4, 6, or 8
  • Example: AABB, ABAB, BABA, BBAA

3. Stratified Randomization

  • Balance prognostic factors
  • Stratify by sex, age group, severity
  • Then randomize within strata

4. Minimization

  • Dynamic allocation
  • Minimizes imbalance across factors
  • Used in small trials

Implementation

Steps:

  1. Generate random sequence (with seed)
  2. Document sequence generation
  3. Implement allocation concealment
  4. Execute randomization
  5. Document actual allocation

Example (Python):

import random
random.seed(12345)  # Document seed
sequence = ['A', 'B'] * 50  # 100 participants
random.shuffle(sequence)

Version: 1.0.0

スコア

総合スコア

60/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です