Question:
Could you help me to find a way to store the resulting values of this 'foreach' loop in the variable SD.
Code:
clear all
use "XXXXX"
generate SD = .
foreach i in forecast_period {
tabstat point, statistics(sd) by(forecast_period)
}
Could you help me to find a way to store the resulting values of this 'foreach' loop in the variable SD.
Code:
clear all
use "XXXXX"
generate SD = .
foreach i in forecast_period {
tabstat point, statistics(sd) by(forecast_period)
}
Comment