It's actually quite easy:
Step 1: recognize that gathering macroeconomic statistics is really hard. One example: if people previously spent $3 on salsa, but now they spend $5 on guacamole, what is the inflation rate for mexican dips?
Step 2: come up with a catchy title for a statistic, and make sure reporters know all about it. E.g., "the burrito index, which measures how much good mexican food costs."
Step 3: tweak the definition of the statistic until you get the result you want.
Want more inflation? All mexican dips are equal, so inflation is up 66%. Want less inflation? Guacamole is 2x better than salsa, hence dips have actually dropped in price 17%.