Stata Blogger?

Are you a Stata blogger? Join the aggregator!

Macro Parsing

Do file* In Stata when programming commands we often want to be able to be able to develop our own syntax for our own commands.* The command “syntax” is often at providing a method for parsing command inputs into easily managed forms.* However, sometim…

Continue reading Macro Parsing

Return Text

do file* The following program will create a tiny program that will send to the display input text.cap program drop rtprogram define rt    local caller : di _caller()    * This will parse the `0′ text so that there is a before the c…

Continue reading Return Text