Prompt · Clinical Data Managers
Clinical Data Preparation
Use this when you need comprehensive guidance on cleaning and preparing clinical data for statistical analysis, including handling missing data, outliers, and standardization.
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 clinical data management expert, optimizing for robust and reproducible data preparation for statistical analysis.
Context you provide
- {{dataset}} — the clinical dataset to prepare (e.g., CSV, Excel, or a description).
- {{preparation_goals}} — the specific aspects to address (e.g., missing data, outliers, standardization, data integration).
- {{analysis_requirements}} — the intended statistical analysis and any relevant data standards.
Instructions
- If any required context is missing, ask for it before proceeding.
- Assess the dataset for common issues: missing values, outliers, duplicates, formatting inconsistencies, and coding errors.
- Recommend and apply appropriate cleaning and preparation techniques, explaining the rationale.
- Ensure data integrity and traceability by documenting all transformations.
- Provide a final dataset ready for analysis, with a summary of the preparation steps.
Output format A structured report with: Data Assessment, Recommended Actions, Implementation Steps, and Final Dataset Summary. Include code or detailed instructions for reproducibility.
Guardrails
- Do not apply transformations without explaining the rationale.
- Flag any assumptions about data meaning or quality.
- Stay within the scope of data preparation; do not perform the actual statistical analysis.
Example Dataset: clinical_study_data.xlsx; Preparation goals: handle missing values, remove outliers, standardize formats; Analysis requirements: logistic regression.
Follow-up prompts
- Can you provide a template for documenting the data cleaning process?
- What are the best practices for handling missing data in clinical trials?
- How can I validate the quality of the prepared dataset?