I am trying to calculate the time-varying EWMA correlation matrix in Stata when mean is not zero.

Can anyone please help me to figure it out?