Hi all,
i have 26 variables that i have log transformed using the code below.
Code:
foreach var of varlist age-pulse {
   gen ln`var' = log(`var')
   }
I now want to create histograms with ND line to inspect the normality. i have used the code below but it is not working. i am in the path of learning Stata so it a painful trip

Code:
local j = 1
local names
foreach var of lnage-lnpulse {
     hist  `var', normal, name(graph`j')
     local names `names' graph`j'
     local ++j
}

graph combine `names'
Stat 15.1 on Mac