Hello Community!
Happy International Women's Day!
I was wondering if anyone has any idea on how I can troubleshoot this issue. I tried to run the command below on a mac but it did not work:
local counter=0
foreach var of varlist x1ses x1mthid x1mthuti x1mtheff x1mthint ///
x1tmeff x1tmexp s1hrtv x1hhnumber {
corr x1txmtscor `var'
return list
local ++counter
putexcel J`counter'=matrix(r(rho)) I`counter'="`var'"
}
BUT the command works perfectly on a Windows. The error message I get on the Mac is "x1ses": expression must be enclosed in ()
Any help is very much appreciated!
Thank you always.
Happy International Women's Day!
I was wondering if anyone has any idea on how I can troubleshoot this issue. I tried to run the command below on a mac but it did not work:
local counter=0
foreach var of varlist x1ses x1mthid x1mthuti x1mtheff x1mthint ///
x1tmeff x1tmexp s1hrtv x1hhnumber {
corr x1txmtscor `var'
return list
local ++counter
putexcel J`counter'=matrix(r(rho)) I`counter'="`var'"
}
BUT the command works perfectly on a Windows. The error message I get on the Mac is "x1ses": expression must be enclosed in ()
Any help is very much appreciated!
Thank you always.
Comment