Package: gpindex 0.6.3.9004

gpindex: Generalized Price and Quantity Indexes

Tools to build and work with bilateral generalized-mean price indexes (and by extension quantity indexes), and indexes composed of generalized-mean indexes (e.g., superlative quadratic-mean indexes, GEKS). Covers the core mathematical machinery for making bilateral price indexes, computing price relatives, detecting outliers, and decomposing indexes, with wrappers for all common (and many uncommon) index-number formulas. Implements and extends many of the methods in 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>).

Authors:Steve Martin [aut, cre, cph]

gpindex_0.6.3.9004.tar.gz
gpindex_0.6.3.9004.zip(r-4.7)gpindex_0.6.3.9004.zip(r-4.6)gpindex_0.6.3.9004.zip(r-4.5)
gpindex_0.6.3.9004.tgz(r-4.6-any)gpindex_0.6.3.9004.tgz(r-4.5-any)
gpindex_0.6.3.9004.tar.gz(r-4.7-any)gpindex_0.6.3.9004.tar.gz(r-4.6-any)
gpindex_0.6.3.9004.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
gpindex/json (API)
NEWS

# Install 'gpindex' in R:
install.packages('gpindex', repos = c('https://marberts.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/marberts/gpindex/issues

Pkgdown/docs site:https://marberts.github.io

Datasets:

On CRAN:

Conda:

economicsinflationofficial-statisticsstatisticsquarto

6.54 score 8 stars 1 packages 29 scripts 354 downloads 63 exports 0 dependencies

Last updated from:f236588e6b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK150
source / vignettesOK169
linux-release-x86_64OK117
macos-release-arm64OK191
macos-oldrel-arm64OK132
windows-develOK102
windows-releaseOK116
windows-oldrelOK104
wasm-releaseOK93

Exports:arithmetic_agmean_indexarithmetic_contributionsarithmetic_indexarithmetic_meanback_periodbalancedbase_periodbw_indexcontraharmonic_meancontributionscswd_indexcswdb_indexextended_meanfactor_weightsfisher_contributionsfisher_contributions2fisher_geksfisher_indexfisher_meanfixed_cutoffgeksgeneralized_logmeangeneralized_meangeometric_agmean_indexgeometric_contributionsgeometric_indexgeometric_meangroupedharmonic_contributionsharmonic_indexharmonic_meanhb_transformhlp_indexindex_weightsjevons_indexkimber_methodlaspeyres_indexlehmer_meanlehr_indexlm_indexlogmeanlowe_indexmartini_indexnested_contributionsnested_contributions2nested_meannested_transmutenested_transmute2outlierspaasche_indexquantity_indexquartile_methodresistant_fencesrobust_zscale_weightssplice_indexstuvel_indextornqvist_gekstransmute_weightstukey_algorithmupdate_weightswalsh_geksyoung_index

Dependencies:

Decomposing price indexes

Rendered fromdecomposing-indexes.qmdusingquarto::htmlon May 13 2026.

Last update: 2026-01-24
Started: 2025-05-28

Generalized Price and Quantity Indexes

Rendered fromgpindex.qmdusingquarto::htmlon May 13 2026.

Last update: 2025-10-13
Started: 2025-05-29

Readme and manuals

Help Manual

Help pageTopics
Offset a vector prices or quantitiesback_period base_period
Balanced operatorbalanced
Percent-change contributionsarithmetic_contributions contributions fisher_contributions fisher_contributions2 geometric_contributions harmonic_contributions nested_contributions nested_contributions2
Extended meanextended_mean generalized_logmean logmean
Factor weightsfactor_weights update_weights
GEKS indexfisher_geks geks tornqvist_geks walsh_geks
Generalized meanarithmetic_mean generalized_mean geometric_mean harmonic_mean
Grouped operatorgrouped
Index weightsindex_weights
Lehmer meancontraharmonic_mean lehmer_mean
Nested generalized meanfisher_mean nested_mean
Outlier detection for price relativesfixed_cutoff hb_transform kimber_method outliers quartile_method resistant_fences robust_z tukey_algorithm
Sample price/quantity dataprice6 price_data quantity6
Price indexesarithmetic_agmean_index arithmetic_index bw_index cswdb_index cswd_index fisher_index geometric_agmean_index geometric_index harmonic_index hlp_index jevons_index laspeyres_index lehr_index lm_index lowe_index martini_index paasche_index price_indexes stuvel_index young_index
Quantity index operatorquantity_index
Scale weightsscale_weights
Splice an index seriessplice_index
Transmute weightsnested_transmute nested_transmute2 transmute_weights