Skip to content

Instantly share code, notes, and snippets.

View rmariscal's full-sized avatar
💭
I may be slow to respond.

Rodrigo Mariscal rmariscal

💭
I may be slow to respond.
View GitHub Profile
@Shreyes2010
Shreyes2010 / Persistence.r
Created July 25, 2012 11:55
Persistence measure : Rolling regression
## Reading the relevent files
install.packages("zoo")
library(zoo)
ife <- read.csv("CPI_Data.csv")
ife_wpi <- read.csv("WPI_Data_1.csv")
# Function to compute Y-o-Y inflation rate