From LibreTexts, under CC BY-NC-SA 4.0, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.
7.4: Measures of Inflation
Opening the book…
Since inflation is simply the change in the price level of a good or service (usually expressed as a percentage), it is measured in many economic sectors.
price changes in consumer goods and services. Unlike the CPI, which is a fixed grouping of goods, this indicator allows households to substitute alternative goods that are lower priced.
price changes across all sectors of the economy, taking into account changes in prices for goods and services in the consumer, business, government, and trade markets. This is the broadest measure of inflation.
Choosing among the many inflation measures can be difficult, and no single measure can be considered the U.S. "inflation" rate. While the CPI is undoubtedly the best known and most widely used inflation estimate, this statistic does not include capital goods or other items purchased by businesses. (We'll examine the CPI later in this chapter.) Such items are part of the PPI, but this price index does not include services, a major segment of the CPI. An even broader index, the GDP price deflator, covers virtually all goods and services sold in the economy, including those purchased by the government and foreigners, but it is published only four times a year and is frequently revised.
Deciding on the appropriate measure of inflation depends on many factors, such as
market (Do you want to measure inflation for consumers, businesses, labor?)
frequency (When and how often do you need this information?)
coverage (Consumer goods only or the entire market?)
time (Do you want to compare prices from a month-to-month or decade-to-decade basis?)