gpindex 0.6.3
CRAN release: 2025-06-07
Bumped minimum version of R to >= 4.1.
geks()is now faster and uses less memory to makes the GEKS index.Time periods with entirely missing data no longer return an index value with
geks(), fixing #8.Added a new vignette to better explain decomposing an index.
Added
martini_index()to compute the family of Martini indexes.Added
kimber_method()for outlier detection.Outlier detection functions are now stricter about their inputs.
Functions for transmuting weights now get a
tolargument to control the tolerance in the extended mean.
gpindex 0.6.2
CRAN release: 2024-08-16
splice_index()now keeps names.Fixed a bug with
transmute_weights()where the weights could be negative.Price-index functions have better argument checking.
gpindex 0.6.1
CRAN release: 2024-04-12
Updated maintainer email.
Added a parameter to generalize
geks()by controlling how indexes are averaged over the rolling window.Fixed a bug where
transmute_weights()andfactor_weights()could return a result with a different length thanw.Added a new function
splice_index()for splicing indexes calculated over a rolling window (this was previously sketched in an example).transmute_weights()is now faster.
gpindex 0.6.0
CRAN release: 2023-11-15
Bumped minimum version of R to at least 4.0.
The use of
...ingrouped()andbalanced()is deprecated, and will be removed in a future version. The same behavior can be had by using an anonymous function.Added the
walsh_geks()function.back_period()andbase_period()gain a new argumentmatch_firstto control whether products in the first period match to themselves or returnNA.Updated documentation.
Added a brief vignette.
gpindex 0.5.0
CRAN release: 2023-08-08
back_price()andbase_price()have been removed.Functions for transforming weights only keep the attributes of the weights (if any), as documented.
grouped()no longer mangles names.
gpindex 0.4.3
CRAN release: 2022-05-01
back_price()andbase_price()are deprecated in favor of the more generalback_period()andbase_period()functions. They will be removed in a future version.The algorithm for making GEKS indexes is now much faster with a rolling window.
gpindex 0.4.2
CRAN release: 2022-01-26
The functions and overall structure of the package should be fairly stable from now on.
Added
nested_transmute()andnested_transmute2()for transmuting the weights for nested generalized means. To be consistent with argument names, the first two arguments fornested_mean()andnested_contributions*()are nowr1andr2.Added the geometric Theil and Rao indexes.
gpindex 0.3.9
CRAN release: 2021-11-26
Added
back_period()andbase_period(), which are more general thanback_price()andbase_price().Added
lehr_index().Fixed a rare warning about
sqrt()making NaNs ingeneralized_logmean(-1)when some inputs were close but not equal, despite noNaNs showing in the result.The
lm_index()and*_agmean_index()functions are now function factories.
gpindex 0.3.6
CRAN release: 2021-10-02
Added the
balanced()operator to make it easier to remove NAs with price index functions.Added the
geks()function for using price-index function (e.g.,fisher_index()) to makes a GEKS index.
gpindex 0.3.4
CRAN release: 2021-08-04
Added French translations.
Made a number of optimizations to make the results of
generalized_mean(),extended_mean(),lehmer_mean(),transmute_weights(), andfactor_weights()faster in common cases.Added the
grouped()operator to make all functions work with grouped data.
gpindex 0.3.1
CRAN release: 2021-07-07
Most function names have changed to be less awkward; e.g.,
mean_generalized()is nowgeneralized_mean(), andcontributions_geometric()is nowgeometric_contributions(). This is unfortunately not backwards compatible, but needed to be done.Added the
nested_mean()function to calculate nested generalized means for, e.g., the Fisher index.The interface for
nested_contributions()is now much simpler, and the function is focused on making contributions for Fisher indexes. Added thenested_contributions2()function that implements a different algorithm.Added the
arithmetic_agmean_index()andgeometric_agmean_index()functions to calculate the AG mean index.Added some functions for standard outlier-detection methods for price relatives.
Dropped the
scaleargument forgeneralized_mean(), as it really wasn’t needed and had the potential to make more problems than it solved.
