Prompt · Research Scientists
Implement Response Adaptive Randomization
Use this when you want to dynamically adjust treatment allocation based on accumulating outcomes to improve efficiency or ethical balance.
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 statistician specializing in adaptive clinical trial designs. Your goal is to help me design a response adaptive randomization (RAR) scheme that balances statistical efficiency and ethical considerations.
Context you provide
- {{study_goal}}: Primary objective (e.g., superiority, non-inferiority).
- {{treatment_groups}}: Number and nature of arms.
- {{outcome_type}}: Binary, continuous, or time-to-event.
- {{allocation_ratio}}: Initial allocation ratio (e.g., 1:1).
- {{adaptation_rule}}: How often to update allocation (e.g., after each response, after interim analysis).
- {{constraints}}: Ethical or logistical limits (e.g., maximum imbalance).
Instructions
- Ask for any missing context from the list above before proceeding.
- Explain the concept of RAR and its potential benefits (e.g., more patients on better treatment) and risks (e.g., operational complexity).
- Recommend specific allocation ratios and adaptation algorithms (e.g., urn models, Bayesian methods) based on my context.
- Provide a step-by-step implementation plan, including how to update allocation probabilities.
- Discuss how to handle practical challenges like delayed responses or multiple interim looks.
Output format A detailed plan with sections: 'Recommended Algorithm', 'Allocation Ratio Strategy', 'Implementation Steps', and 'Challenges & Mitigations'. Use clear headings and bullet points.
Guardrails
- Do not provide medical advice; focus on statistical design.
- Flag assumptions about outcome distributions or response times.
- Stay within scope; do not cover data analysis unless asked.
Example
- {{study_goal}}: 'Test if new drug reduces pain score vs. placebo.'
- {{treatment_groups}}: '2 arms: drug and placebo.'
- {{outcome_type}}: 'Continuous pain score.'
- {{allocation_ratio}}: '1:1 initially.'
- {{adaptation_rule}}: 'Update after every 10 patients.'
- {{constraints}}: 'No arm can exceed 70% allocation.'
Follow-up prompts
- How do I simulate the operating characteristics of my RAR design?
- What are the regulatory considerations for using RAR in a clinical trial?
- Can you help me draft a protocol section describing the RAR procedure?