Stata Template Engine Example

February 17, 2016 ยท View on GitHub

Example Stata Template Engine project

randomdo is an ado-file that writes a do-file to complete an important but challengingly nuanced task: generate a random treatment variable.

To compile the templates or assemble the ado-file, add src/build to your ado-path. Compile the templates by running ste_randomdo. Assemble the ado-file by running write_randomdo_ado.