Hi fellow Stata users,
Is there a shortcut to close all curly brackets within a dofile? I use lots of curly brackets to organize my code, but I have to manually close them all every time I reopen the dofile. See below for an example:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Summary Stats
// ---->
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
foreach var of varlist ln_tbq post_treated post treated{
drop if missing(`var')
}
eststo clear
eststo: quietly estpost summarize ln_tbq post_treated post treated , detail
}
Is there a shortcut to close all curly brackets within a dofile? I use lots of curly brackets to organize my code, but I have to manually close them all every time I reopen the dofile. See below for an example:
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Summary Stats
// ---->
//
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////
{
foreach var of varlist ln_tbq post_treated post treated{
drop if missing(`var')
}
eststo clear
eststo: quietly estpost summarize ln_tbq post_treated post treated , detail
}
Comment