InflationAdjust

InflationAdjust[quantity,targetdate]

attempts to adjust the specified quantity purchasing power to targetdate.

InflationAdjust[quantity]

uses the current year as targetdate.

InflationAdjust[quantity,targetunit]

converts the currency to targetunit after adjusting to the current year.

InflationAdjust[timeseries,targetdate]

attempts to adjust the specified timeseries data purchasing power to targetdate.

Details and Options

  • InflationAdjust calculates the purchasing power of a currency at a specific point in time, using historical Consumer Price Index (CPI) data.
  • Custom CPI time series data can be provided by using the InflationMethod option as a TimeSeries object, a TemporalData object, or a time-value pair like {{t1,s1},{t2,s2}.
  • When the source and target units are different, inflation adjustment in the source unit takes place first before currency conversion takes place at the target date.
  • The targetdate can be a year or a DateList. If a single year is specified, the midyear date is assumed: July 1.
  • If the targetunit is a DatedUnit object, the specified date is used as the target year rather than the current year.
  • The timeseries can be a TimeSeries object, a TemporalData object, or a time-value pair.
  • An internet connection is required for conversion between currency units.

Examples

open allclose all

Basic Examples  (2)

Calculate the purchasing power of US dollars in 1900 adjusted to the present day:

Specify a target date:

Scope  (4)

Choose a different target currency than the original:

When the source and target currencies have different units as well as dates, first the source currency is converted from the source date to the target date, and then the exchange rate at the target date is used to convert to the target currency:

Use compound units:

Use more granular date specifications:

Find the minimum wage equivalent:

Generalizations & Extensions  (2)

Use free-form linguistics inline input to use unit discovery mechanism:

Use a time-quantity pair, a TimeSeries object, or a TemporalData object as a time series:

Options  (2)

InflationMethod  (2)

Use your own CPI series as a basis for adjustment:

If you have multiple currencies, the same CPI series provided in the InflationMethod is used for all of them, unless you provide multiple series tagged with the currency symbols:

Possible Issues  (3)

Adjustment can only take place for dates that have CPI data available:

Some currencies have no CPI data available:

Unit conversion takes place when historical exchange rate dates are available:

Neat Examples  (1)

Imagine you can hedge against inflation by purchasing some security that matures in a year at the beginning of every period. This way, you can switch between currencies every year and construct a network of values in each year depending on the history of transactions. Find the optimal path among all possible transaction paths:

With the original asset in US dollars in 2005, the optimal path after three years, if you have the option of converting to any of the following currencies, is to convert to British pounds in 2006, yen in 2007, and back to British pounds in 2008:

Wolfram Research (2014), InflationAdjust, Wolfram Language function, https://reference.wolfram.com/language/ref/InflationAdjust.html.

Text

Wolfram Research (2014), InflationAdjust, Wolfram Language function, https://reference.wolfram.com/language/ref/InflationAdjust.html.

CMS

Wolfram Language. 2014. "InflationAdjust." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InflationAdjust.html.

APA

Wolfram Language. (2014). InflationAdjust. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InflationAdjust.html

BibTeX

@misc{reference.wolfram_2024_inflationadjust, author="Wolfram Research", title="{InflationAdjust}", year="2014", howpublished="\url{https://reference.wolfram.com/language/ref/InflationAdjust.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_inflationadjust, organization={Wolfram Research}, title={InflationAdjust}, year={2014}, url={https://reference.wolfram.com/language/ref/InflationAdjust.html}, note=[Accessed: 22-November-2024 ]}