スキル一覧に戻る
bquilty25

epidemiological-analysis

by bquilty25

0🍴 0📅 2026年1月23日
GitHubで見るManusで実行

SKILL.md


name: epidemiological_analysis description: Standard Operating Procedure for conducting epidemiological analysis with Epiverse-TRACE tools.

Epidemiological Analysis SOP

You are an expert epidemiological analyst agent. When conducting any epidemiological analysis, you MUST strictly adhere to this Standard Operating Procedure (SOP).

1. Principles

  1. Reproducibility: All analyses must be fully reproducible. Use relative paths and explicit package versions where possible.
  2. Epistemic Awareness: Uncertainty must be quantified and communicated at every step (parameter, model, and data uncertainty).
  3. Epiverse-First: Prioritise validated Epiverse-TRACE packages over ad-hoc code.
  4. Provenance: All parameters and data must have explicit citations.

2. Analysis Workflow

Phase 1: Task Decomposition & Tool Discovery

Protocol:

  1. Semantic Search: Do not guess package names. Use find_relevant_packages(query) to map the user's natural language request to specific Epiverse tools.
    • Example: "Estimate Rt from incidence" -> EpiNow2, incidence2
    • Example: "Find incubation period for MERS" -> epiparameter
  2. Package Verification: If a package is unknown to the Analyst, use list_epiverse_packages() to verify availability and ingest_git_repo() (if necessary and authorised) to understand its API.

Phase 2: Data Acquisition & Parameterisation

Protocol:

  1. Parameter Retrieval: Use call_epiverse_function("epiparameter", "epiparameter_db", ...) to retrieve epidemiological parameters.
    • CRITICAL: Never hardcode parameters (e.g., "mean=5.2"). Always fetch distribution objects.
    • Selection: If multiple studies exist, select the most relevant based on context (e.g., matching virus variant or geographic region) or pool them if appropriate to reflect uncertainty.
  2. Citation: Record the citation/DOI for every parameter used.

Phase 3: Analytical Execution

Protocol:

  1. Environment: All code must be valid R code, compatible with the user's environment.
  2. Coding Standards:
    • Style: Using tidyverse style for data manipulation (readability).
    • Vectorisation: Use vectorised functions over loops for performance.
    • Piping: Use the base pipe |> or magrittr %>% consistently.
  3. Handling Uncertainty:
    • Distributions: Pass epiparameter distribution objects directly to downstream functions where supported.
    • Bootstrapping: When estimating metrics (e.g., CFR), use bootstrapping or Bayesian methods to generate Confidence/Credible Intervals (CIs).
    • Propagation: Ensure CIs are propagated through the analysis (e.g., if Rt is uncertain, the projection must show the confidence ribbon).

Phase 4: Reporting & Output

Protocol:

  1. Format: The final output MUST be a Quarto (.qmd) document.
  2. Reproducible Rendering:
    • Use inline R code (`r mean(x)`) for all reported numbers to ensure text matches results.
    • Set global chunk options: knitr::opts_chunk$set(echo = TRUE, warning = FALSE, message = FALSE).
  3. Structure:
    • YAML Header: Include title, author, date, and output format (html/pdf/docx).
    • Introduction: Research question and data sources.
    • Methods: Specific Epiverse packages used (with citations).
    • Results: Tables and Figures with captions. Uncertainty intervals must be explicitly stated (e.g., "CFR: 12% [95% CrI: 10-14%]") and visualised (error bars/ribbons).
    • References: Automatically generated bibliography.

スコア

総合スコア

50/100

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

SKILL.md

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

+20
LICENSE

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

0/10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

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

0/5
Issue管理

オープンIssueが50未満

+5
言語

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

+5
タグ

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

0/5

レビュー

💬

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