Here is the design of a clinical trial:

Official Title: Telerehabilitation With Aims to Improve Lower Extremity Recovery Post-Stroke (TRAIL-RCT): A Randomized Controlled Trial

Included conditions:
- Stroke
- Stroke, Ischemic
- Stroke Hemorrhagic
- Cerebral Injury
- Cerebral Infarction
- Brain Diseases
- Central Nervous System Diseases
- Cerebral Vascular Accident
- Cerebral Vascular Disorder
- Brain Ischemia
- Brain Infarction
- Cardiovascular Diseases
- Infarction

Study Armgroups:
- {'label': 'TRAIL', 'type': 'EXPERIMENTAL', 'description': 'TRAIL is a 4-week progressive exercise and self-management intervention for lower extremity recovery delivered by a trained registered physical therapist, in a 2:1 participant-to-therapist ratio. Each participant grouping will receive two telerehabilitation sessions (60-90 minutes) each week for 4 weeks (total 8-12 hours).', 'interventionNames': ['Other: TRAIL']}
- {'label': 'EDUCATION', 'type': 'ACTIVE_COMPARATOR', 'description': 'The EDUCATION control arm is a 4-week education program focusing on stroke knowledge and risk factors. It will be delivered by health professionals who have experience working with individuals with stroke, knowledge of chronic disease self-management (e.g. physical or occupational therapists, nurses, kinesiologists), and who have completed study-specific training on the EDUCATION program\n\nParticipants will receive video conferencing sessions with the same schedule and 2:1 participant-to-coach ratio as TRAIL. Each participant grouping will receive two educational telerehabilitation sessions (60-90 minutes) each week for 4 weeks (total 8-12 hours).', 'interventionNames': ['Other: EDUCATION']}

Interventions:
- {'type': 'OTHER', 'name': 'TRAIL', 'description': 'Each week has a specific focus for lower extremity rehabilitation:\n\nWeek 1) Building a base: 8 exercises, 10-15 repetitions x 2-3 sets\n\nWeek 2) Increasing repetitions: 8 exercises, 15-20 repetitions x 3 sets\n\nWeek 3) Building exercise tolerance:10 exercises, 15-20 repetitions x 3 sets\n\nWeek 4) Maximizing repetitions: 10 exercises, 30 seconds as many reps as possible x 2 sets\n\nAt the end of the second exercise session each week, the therapist and participants work collaboratively to develop an independent exercise action plan to be completed before the first session of the next week. The self-managed plans includes exercises selected from TRAIL, agreed upon by the participant and therapist, that are safe to perform without therapist oversight. The aims of the exercise action plan are to: i) Add exercise volume without using program resources (e.g., therapist time); and ii) Build capacity for self-management for long-term health and well-being after TRAIL has ended.', 'armGroupLabels': ['TRAIL']}
- {'type': 'OTHER', 'name': 'EDUCATION', 'description': 'EDUCATION has a specific focus on:\n\nWeek 1) What is stroke (e.g., gaining an understanding of the function of the brain, types of stroke and how stroke affects physical function) and introduction to self-management;\n\nWeek 2) What is self-management;\n\nWeek 3) Self-management for post-stroke complications (e.g., activities of daily living);\n\nWeek 4) Self-management for secondary prevention (e.g., blood pressure, diet, medication, stress management).\n\nEducation therapists will be provided with lesson plans and manuals to be circulated with the participants, and will facilitate the educational session through interactive Powerpoint presentations. In addition, participants will be asked to complete 30-60 minutes of educational homework, which will be discussed at the commencement of the following session.', 'armGroupLabels': ['EDUCATION']}

Primary Outcomes:
- {'measure': 'Change from baseline Timed Up and Go (TUG) at 4 weeks', 'description': 'Performance walking test to assess functional mobility', 'timeFrame': 'Baseline, Post-Intervention (immediately following 4 weeks of intervention), 3-months, 6-months'}

Please estimate the sample size based on the assumption: 
Significance level of 0.05 (two-sided), 80% power, and 20% attrition rate.
Sample size estimate
        Based on our feasibility study with an SD of 9.6âs of the virtual/online TUG as our primary clinical outcome, we require a sample size of 74 participants to detect a clinically important difference of 5 s37 between groups, at a level of significance of 0.05 (two-sided), with 80% power (G*Power, V.3.1.9.7, DÃ¼sseldorf GER). To account for 20% attrition, we will recruit 93 participants, plus another 3 participants to ensure the 2:1 participant-to-therapist ratio for each of the TRAIL and EDUCATION groups, for a total of 96 participants (48 per study arm). Our previous work has found very low ICCs (<0.01) for walking and mobility outcomes across six Canadian stroke rehabilitation centres.38 Thus, clustering by site was not considered in the sample size calculation.