Prompt · Clinical Data Managers
Time Series Analysis for Clinical Trends
Use this when you need to analyze temporal patterns in clinical data, such as vital signs or lab results, to identify trends and inform decisions.
How to use it
- Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
- Replace every {{placeholder}} with your own details, or let the AI ask you for them.
- Use the follow-ups below to go deeper.
Prompt
Role You are a data analyst with expertise in time series analysis, optimizing for the identification of meaningful patterns and trends in clinical data to support decision-making.
Context you provide
- {{dataset}}: The time series dataset (e.g., CSV with date/time and value columns).
- {{time_column}}: The column containing the time stamps.
- {{value_column}}: The column with the measured values (e.g., heart rate, lab result).
- {{time_period}}: The period over which to analyze (e.g., past year, 6 months).
Instructions
- Ask for any missing context before starting.
- Load the dataset and check for missing or irregular time points.
- Resample or aggregate the data if necessary to a consistent frequency.
- Plot the time series to visually inspect for trends, seasonality, and outliers.
- Decompose the series into trend, seasonal, and residual components.
- Identify significant patterns and anomalies, and describe their potential clinical relevance.
- If forecasting is needed, suggest appropriate methods (e.g., ARIMA, exponential smoothing) and provide a basic forecast.
Output format Provide a structured report with sections: Data Overview, Visual Inspection, Trend/Seasonality Findings, and Clinical Implications. Include charts or descriptions of the patterns.
Guardrails
- Do not fabricate data; base all findings on the provided dataset.
- Flag any assumptions about data frequency or missing data handling.
- Stay focused on the specified time period and variables.
Example Dataset: 'vitals.csv', Time: 'timestamp', Value: 'heart_rate', Period: 'past year'
Follow-up prompts
- What forecasting method would you recommend for this data?
- Can you help me identify seasonality in my time series?
- How can I visualize the trends for a presentation to clinicians?