This is a simple Mata function written together with my PhD colleague Silvio Daidone. It perform the running product of a vector. DOWNLOAD

HTH,

Federico