Hi! I do not fully understand the "tssmooth exponential" command. How exactly is the value calculated when just the following command is used?
Code:
 tssmooth exponential X = variable
. When using tssmooth ma X = variable one can use window(3 1) so that the moving average of the previous 3 periods and of the observation itself is calculated. Which command can I use to obtain the exponential moving average over a certain of X previous periods?

Thank you in advance!