Package: gpindex 0.6.1

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, ISBN:978-1-107-40496-0), von der Lippe (2001, ISBN:3-8246-0638-0), and the CPI manual (2020, ISBN:978-1-51354-298-0).

Authors:Steve Martin [aut, cre, cph]

gpindex_0.6.1.tar.gz
gpindex_0.6.1.zip(r-4.5)gpindex_0.6.1.zip(r-4.4)gpindex_0.6.1.zip(r-4.3)
gpindex_0.6.1.tgz(r-4.4-any)gpindex_0.6.1.tgz(r-4.3-any)
gpindex_0.6.1.tar.gz(r-4.5-noble)gpindex_0.6.1.tar.gz(r-4.4-noble)
gpindex_0.6.1.tgz(r-4.4-emscripten)gpindex_0.6.1.tgz(r-4.3-emscripten)
gpindex.pdf |gpindex.html
gpindex/json (API)
NEWS

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

Peer review:

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

Datasets:

On CRAN:

economicsinflationofficial-statisticsstatistics

60 exports 4 stars 2.24 score 0 dependencies 1 dependents 341 downloads

Last updated 2 months agofrom:9d26f172a37b2adc6fd940de3771e421e0921d5e

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_indexlaspeyres_indexlehmer_meanlehr_indexlm_indexlogmeanlowe_indexnested_contributionsnested_contributions2nested_meannested_transmutenested_transmute2paasche_indexquantity_indexquartile_methodresistant_fencesrobust_zscale_weightssplice_indexstuvel_indextornqvist_gekstransmute_weightstukey_algorithmupdate_weightswalsh_geksyoung_index

Dependencies:

Generalized Price and Quantity Indexes

Rendered fromgpindex.Rmdusingknitr::rmarkdownon Jun 11 2024.

Last update: 2024-01-21
Started: 2023-10-19

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 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 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