Community연구 & 데이터 분석github.com

종단 데이터 분석 파이프라인

패널 / 반복 측정 데이터에 대한 재현 가능한 종단 통계 분석 파이프라인입니다. 기술 통계, 조작 점검, 선형 혼합 모형, 지연 매개 효과, 랜덤 효과/공분산 구조에 대한 민감도 분석 등을 수행합니다.

종단 데이터 분석 파이프라인란 무엇인가요?

이 스킬은 패널 또는 반복 측정 데이터(피험자당 하나 이상의 세션, 피험자 간 조건 포함)를 분석하기 위한 재현 가능한 다단계 파이프라인입니다. 사용자가 'LMM', '혼합 모형', '반복 측정', '종단 분석', '시간에 따른 매개', '지연 매개', '랜덤 효과 구조의 민감도 분석' 같은 키워드를 언급할 때 트리거됩니다. 이 스킬은 YAML 설정 파일을 로드하여 활성화된 단계를 확인하고, Python으로 오케스트레이션하며 R(lme4, lavaan 등)을 통계 계산에 활용합니다. R이 설치되지 않은 경우 해당 단계를 건너뛰고 감사 로그에 기록하며, Python 전용 단계(기술 통계, 조작 점검)는 정상 실행합니다. 이 스킬은 Windows, macOS, Linux에서 동작하며, 결과는 CSV 파일과 JSONL 감사 로그로 출력됩니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JiamingShi-JsPhys/agent-skills/tree/HEAD/skills/longitudinal-analysis

Installed? Explore more 연구 & 데이터 분석 skills: affaan-m/uspto-database, affaan-m/scholar-evaluation, affaan-m/literature-review · View all 6 →

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

종단 데이터 분석

재현 가능한 다단계 종단 / 패널 데이터 분석을 위한 자체 포함 스킬입니다. 각 단계는 독립적으로 활성화/감사되며, R(lme4 / lavaan)이 통계 계산을 담당하고 Python 측에서 조정하며 R이 없을 때도 적절히 처리합니다.

필수 워크플로우

의존성 부트스트랩 (최초 사용 시 실행)

최초 실행 전, 이 스킬의 런타임 의존성을 확인하세요:

  • 필수 (Python): pandas, PyYAML.
  • 선택 (Python): statsmodels, scipy (조작 점검 단계).
  • 필수 (외부): R >= 4.0과 lme4, lavaan, emmeans, jsonlite가 PATH에 있어야 함 — lmm, mediation, sensitivity 단계에 필요.

동작:

  • Python 의존성 누락 -> 사용자에게 누락된 패키지를 알리고 python -m pip install pandas pyyaml (조작 점검을 위해 statsmodels scipy 추가) 실행 여부를 묻습니다. 확인 후에만 설치하며, 프로젝트 로컬 venv를 선호합니다.
  • R 또는 R 패키지 누락 -> R 설치를 시도하지 않습니다. 정확히 누락된 R 패키지를 나열하고 R 기반 단계를 건너뛰며, 감사 로그에 이유를 기록하고 실행 가능한 Python 전용 단계를 제공합니다.
  1. YAML 설정 파일 로드 (config/examples/behavior_2x2x2.yaml 참조).
  2. data.input이 존재하고 id_column / time_column이 있는지 확인합니다.
  3. python -m src.cli run --config <경로> [--step <이름>].
  4. 단계별 상태를 보고합니다. 건너뜀 R 단계는 R이 설치되지 않았음을 의미 — 누락된 패키지를 나열하고 중단합니다 (설치 시도하지 않음).
  5. results/tables/*.csv 및 results/logs/analysis_log.jsonl을 사용자에게 안내합니다.

사용 시기

  • 사용자가 패널 / 반복 측정 데이터(피험자당 하나 이상의 세션, 피험자 간 조건 포함)를 가지고 있으며 일회성 계산이 아닌 재현 가능한 분석을 원할 때.
  • 요청에

Individual skills in this repo

This repo contains 3 individual skills — each has its own dedicated page.

JiamingShi-JsPhys/agent-skills

Cross-document conflict detector. Use when the user has two or more documents, datasets, or extracted fact tables and wants to find contradictions between them. Triggers on "detect conflicts", "find contradictions", "do these documents agree", "cross-check claims", "inconsistency check", or when comparing a claim across multiple sources. Runs three detection levels: entity (numeric / boolean mismatch on the same key), clause (categorical mismatch), and argument (free-text disagreement). Emits a machine-readable conflict report in JSON / CSV / Markdown.

JiamingShi-JsPhys/agent-skills

Document evolution tracker. Use when the user has a family of document versions (timestamped or sequentially named files) and wants to see how the document changed over time -- which paragraphs / lines / sentences were added, removed, or modified between consecutive versions, and how a set of named concepts (or auto-detected headings) evolved (introduced / retained / modified / dropped). Triggers on "track document changes", "version history", "what changed between drafts", "concept lineage", "document evolution". Emits a Markdown + JSON timeline.

JiamingShi-JsPhys/agent-skills

State manager for multi-dimensional computational experiments. Iterate a parameter grid over many rounds, snapshot declared critical files each round, audit every round (params, hashes, timestamps, status), and roll back to any round non-destructively. Use it when a workflow runs hundreds of rounds across multiple parameter dimensions and needs per-round snapshots, full audit trail, and arbitrary rollback - e.g. longitudinal studies, parameter scans, or symbolic/ numerical sweeps calling external solvers (Mathematica, GAP, SymPy, custom scripts).

관련 스킬