Using local macros in a foreach loop

Опубликовано: 30 Сентябрь 2024
на канале: Alan Neustadtl
24,850
296

One of the great features of Stata is the local macro construct that allows macro substitution or expansion. This video walks through an example of using local macros in the context of foreach loops in a regression model.

My thanks to Arvind Sharma for pointing out an error at around 5:50 in the video. I have added an annotation at that point with the correction.