Complete AI Training
Sign inGet my AI kit

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI agent for epidemiologists

Outbreak Exposure Questionnaire Analysis Agent

A current ranked list of likely exposures, rerun with each batch and checked for stability.

Outbreak Exposure Questionnaire Analysis Agent: what goes in, what the agent does and what you get

What it does

During an outbreak, questionnaires arrive in batches and the analysis waits until someone has time to clean and code the answers. This agent cleans the exposure questionnaire responses, standardizes foods and events, and calculates attack rates for each exposure among exposed and unexposed people. It ranks likely exposures by relative risk and flags questions with too many gaps. As new cases arrive, it reruns the analysis and tests whether the leading exposure is stable. It lists the data quality issues behind each result. You approve findings for the report. Edge case: a food eaten by almost everyone is shown as not informative rather than as low risk.

How it works

Follow the arrows from top to bottom. The orange dashed arrow is the loop: when a check fails, the agent goes back and tries again.

Start and resultWhat it doesA check on its own workWaits for your OKGoes back and retries
Yes, continueYes, continueApprovedNoNo 1 STARTS WHEN New questionnaire batch entered 2 USES A TOOL Load and clean responses, standardize exposure names 3 DOES Classify respondents as cases or non-cases using thecase definition 4 CHECKS THE RESULT Do exposure questions have enough complete answers? If not: list questions with gaps and ask theinterviewers to follow up. Back to step 2. 5 DOES Calculate attack rates and relative risk for eachexposure 6 DOES Rank exposures with confidence intervals 7 CHECKS THE RESULT Is the leading exposure stable when incompleteresponses are excluded? If not: rerun with alternative handling of missing dataand compare. Back to step 4. 8 DOES Write the findings table and data quality notes 9 YOU APPROVE Epidemiologist approves the findings for the report 10 RESULT Ranked exposure table
Read the steps as a list
  1. New questionnaire batch entered
  2. Load and clean responses, standardize exposure names
  3. Classify respondents as cases or non-cases using the case definition
  4. Do exposure questions have enough complete answers?If not: list questions with gaps and ask the interviewers to follow up. Back to step 2.
  5. Calculate attack rates and relative risk for each exposure
  6. Rank exposures with confidence intervals
  7. Is the leading exposure stable when incomplete responses are excluded?If not: rerun with alternative handling of missing data and compare. Back to step 4.
  8. Write the findings table and data quality notes
  9. Epidemiologist approves the findings for the reportThe agent waits here for your OK.
  10. Ranked exposure table

How it decides

It ranks exposures by relative risk and attack rate difference with confidence intervals. An exposure is a leading candidate only if it holds when data quality issues are handled.

  • Exposure eaten by over 95 percent of respondents: not informative
  • Question with over 20 percent missing: flag and ask for follow-up
  • Relative risk above 2 with a confidence interval above 1: candidate exposure
  • Leading exposure changes after a new batch: flag as unstable

Make it yours

Every agent is a starting point. You choose these settings for your own situation.

  • Case definition
  • Missing data limit (default 20 percent)
  • Statistics used
  • Exposure categories
  • Report template

What keeps you in control

It always asks you first

  • Findings used in the report or public communication

Hard limits

  • Never publish or share results
  • Never drop respondents without noting it

It stops when

  • Done: stable ranked list approved
  • Stop: too few respondents for analysis

Set it up

We guide you through the set-up, step by step

Members get the full set-up guide for this agent. No technical skills needed: you copy, paste and upload.

10 minto set it up in your AI
5 AIsChatGPT, Claude, Copilot, Gemini, Grok
  • One set of instructions to paste into your AI, with the clicks for ChatGPT, Claude, Microsoft 365 Copilot, Gemini and Grok
  • The agent then walks you through connecting your own data, one source at a time
  • A downloadable copy with the flow chart, the rules and the full guide
Get access to this agent

An example run

What happensAfter a wedding meal with 96 respondents and 31 cases, the agent found chicken salad with a relative risk of 3.4. Rice showed 1.1 because 97 percent ate it. Salad had 24 percent missing answers, so the check failed. The agent asked interviewers to follow up and reran. With 11 more responses, the relative risk stayed at 3.1. The epidemiologist approved it.

More agents for epidemiologists