piar0.8.2 package

Price Index Aggregation

aggregate.piar_index

Aggregate elemental price indexes

aggregation_structure

Make a price index aggregation structure

as_aggregation_structure

Coerce to an aggregation structure

as_index

Coerce to a price index

as.data.frame.piar_index

Coerce an index into a tabular form

as.matrix.piar_aggregation_structure

Coerce an aggregation structure into a tabular form

as.ts.piar_index

Coerce an index into a time series

chain

Chain and rebase a price index

contrib

Extract percent-change contributions

cut.piar_aggregation_structure

Cut an aggregation structure

elemental_index

Make elemental/elementary price indexes

expand_classification

Expand a hierarchical classification

head.piar_index

Return the first/last parts of an index

impute_prices

Impute missing prices

is_aggregation_structure

Test if an object is an aggregation structure

is_index

Test if an object is a price index

is.na.piar_index

Missing values in a price index

levels.piar_aggregation_structure

Get the levels for an aggregation structure

levels.piar_index

Get the levels for a price index

mean.piar_index

Aggregate a price index over subperiods

merge.piar_index

Merge price indexes

piar_index

Price index objects

piar-package

piar: Price Index Aggregation

price_data

Price data

price_relative

Calculate period-over-period price relatives

split_classification

Split a hierarchical classification

split.piar_index

Split an index into groups

stack.piar_index

Stack price indexes

sub-.piar_index

Extract and replace index values

time.piar_index

Get the time periods for a price index

update.piar_aggregation_structure

Update an aggregation structure

weights.piar_aggregation_structure

Get the weights for an aggregation structure

window.piar_index

Index window

Most price indexes are made with a two-step procedure, where period-over-period elemental indexes are first calculated for a collection of elemental aggregates at each point in time, and then aggregated according to a price index aggregation structure. These indexes can then be chained together to form a time series that gives the evolution of prices with respect to a fixed base period. This package contains a collection of functions that revolve around this work flow, making it easy to build standard price indexes, and implement the methods described by Balk (2008, <doi:10.1017/CBO9780511720758>), von der Lippe (2007, <doi:10.3726/978-3-653-01120-3>), and the CPI manual (2020, <doi:10.5089/9781484354841.069>) for bilateral price indexes.

  • Maintainer: Steve Martin
  • License: MIT + file LICENSE
  • Last published: 2025-03-19