Package: gpindex 0.6.2

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.2.tar.gz
gpindex_0.6.2.zip(r-4.5)gpindex_0.6.2.zip(r-4.4)gpindex_0.6.2.zip(r-4.3)
gpindex_0.6.2.tgz(r-4.4-any)gpindex_0.6.2.tgz(r-4.3-any)
gpindex_0.6.2.tar.gz(r-4.5-noble)gpindex_0.6.2.tar.gz(r-4.4-noble)
gpindex_0.6.2.tgz(r-4.4-emscripten)gpindex_0.6.2.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 6 stars 6.64 score 0 dependencies 1 dependents 24 scripts 484 downloads

Last updated 1 months agofrom:d1a4376f39. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKOct 12 2024
R-4.5-winOKOct 12 2024
R-4.5-linuxOKOct 12 2024
R-4.4-winOKOct 12 2024
R-4.4-macOKOct 12 2024
R-4.3-winOKOct 12 2024
R-4.3-macOKOct 12 2024

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