As shown below, the citation of "`psm1'" is wrong, how to cite the tempfile correctly?
Code:
cap forvalues i =1/`r(max)' {
tempfile psm`i'
save psm`i',replace
}
use `psm1',clear
forvalues i = 2/`r(max)'{
append using `psm`i''
}

Comment