import delimited C:\mm.csv generate time=_n tsset time generate y=(a-L.a)/L.a*100 generate x=(topix-L.topix)/L.topix*100 regress y x twoway (lfitci y x) (scatter y x)