About this sample code

On this page, we provide example datasets, analysis code in SAS and R, and outputs, for the three kinds of hybrid experimental designs considered in “Design of Experiments with Sequential Randomizations at Multiple Time Scales: The Hybrid Experimental Design.”

The specific hybrids considered combine: a classic factorial experiment with a sequential multiple assignment randomized trial (SMART), a classic factorial experiment with a micro-randomized trial (MRT), a SMART with an MRT.

How can a behavioral scientist use this code?

A behavioral scientist can use this code to learn how to analyze data for three different types of Hybrid Experimental Designs (HED). They may then repurpose the code to analyze data from their own hybrid design.

Related References

Nahum-Shani, I., Dziak, J. J., Venera, H., Spring, B., & Dempsey W. (2023). Design of Experiments with Sequential Randomizations at Multiple Time Scales: The Hybrid Experimental Design. Behavior Research Methods, doi:10.3758/s13428-023-02119-z.

Join the d3center Mailing List

Keep up to date with the latest news, events, software releases, learning modules, and resources from the d3center.