It's "accurate" insofar as it correctly calculates the Consumer Price Index change over that period. However, the longer the period of time you consider, the less comparable purchasing power becomes and the more different the market basket of goods that go into the CPI become. Note also that house prices aren't included in the CPI.