← Back to list

epidemiological-analysis
by bquilty25
⭐ 0🍴 0📅 Jan 23, 2026
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
- Reproducibility: All analyses must be fully reproducible. Use relative paths and explicit package versions where possible.
- Epistemic Awareness: Uncertainty must be quantified and communicated at every step (parameter, model, and data uncertainty).
- Epiverse-First: Prioritise validated Epiverse-TRACE packages over ad-hoc code.
- Provenance: All parameters and data must have explicit citations.
2. Analysis Workflow
Phase 1: Task Decomposition & Tool Discovery
Protocol:
- 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
- Example: "Estimate Rt from incidence" ->
- Package Verification: If a package is unknown to the Analyst, use
list_epiverse_packages()to verify availability andingest_git_repo()(if necessary and authorised) to understand its API.
Phase 2: Data Acquisition & Parameterisation
Protocol:
- 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.
- Citation: Record the citation/DOI for every parameter used.
Phase 3: Analytical Execution
Protocol:
- Environment: All code must be valid R code, compatible with the user's environment.
- Coding Standards:
- Style: Using
tidyversestyle for data manipulation (readability). - Vectorisation: Use vectorised functions over loops for performance.
- Piping: Use the base pipe
|>or magrittr%>%consistently.
- Style: Using
- Handling Uncertainty:
- Distributions: Pass
epiparameterdistribution 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).
- Distributions: Pass
Phase 4: Reporting & Output
Protocol:
- Format: The final output MUST be a Quarto (
.qmd) document. - 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).
- Use inline R code (
- 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.
Score
Total Score
50/100
Based on repository quality metrics
✓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
Reviews
💬
Reviews coming soon