Simulating and analyzing data from a Hybrid Experimental Design (HED)

The code simulates and analyzes data from a hypothetical hybrid trial combining SMART and MRT features, in association with the manuscript "Hybrid Experimental Designs for Intervention Development: What, Why and How" by Nahum-Shani et al (2022).