In most countries, inflation is measured through the consumer price index (CPI). The CPI is a weighted average of prices of a basket of consumer goods and services. These consumer goods and services normally include but are not limited to housing, food, transportation, recreation, education, and medical care. A central bank controls inflation in three ways: