Releases: spsanderson/TidyDensity
Releases · spsanderson/TidyDensity
TidyDensity 1.5.0
Breaking Changes
None
New Features
- Fix #468 - Add function
util_negative_binomial_aic()
to calculate the AIC for the negative binomial distribution. - Fix #470 - Add function
util_zero_truncated_negative_binomial_param_estimate()
to
estimate the parameters of the zero-truncated negative binomial distribution.
Add functionutil_zero_truncated_negative_binomial_aic()
to calculate the AIC for the zero-truncated negative binomial distribution.
Add functionutil_zero_truncated_negative_binomial_stats_tbl()
to create a summary table of the zero-truncated negative binomial distribution. - Fix #471 - Add function
util_zero_truncated_poisson_param_estimate()
to estimate
the parameters of the zero-truncated Poisson distribution.
Add functionutil_zero_truncated_poisson_aic()
to calculate the AIC for the zero-truncated Poisson distribution.
Add functionutil_zero_truncated_poisson_stats_tbl()
to create a summary table of the zero-truncated Poisson distribution. - Fix #472 - Add function
util_f_param_estimate()
andutil_f_aic()
to estimate the parameters and calculate the AIC for the F distribution. - Fix #482 - Add function
util_zero_truncated_geometric_param_estimate()
to estimate the parameters of the zero-truncated geometric distribution.
Add functionutil_zero_truncated_geometric_aic()
to calculate the AIC for the zero-truncated geometric distribution.
Add functionutil_zero_truncated_geometric_stats_tbl()
to create a summary table of the zero-truncated geometric distribution. - Fix #481 - Add function
util_triangular_aic()
to calculate the AIC for the triangular distribution. - Fix #480 - Add function
util_t_param_estimate()
to estimate the parameters of the
T distribution.
Add functionutil_t_aic()
to calculate the AIC for the T distribution. - Fix #479 - Add function
util_pareto1_param_estimate()
to estimate the parameters of the Pareto Type I distribution.
Add functionutil_pareto1_aic()
to calculate the AIC for the Pareto Type I distribution.
Add functionutil_pareto1_stats_tbl()
to create a summary table of the Pareto Type I distribution. - Fix #478 - Add function
util_paralogistic_param_estimate()
to estimate the parameters of the paralogistic distribution.
Add functionutil_paralogistic_aic()
to calculate the AIC for the paralogistic distribution.
Add fnctionutil_paralogistic_stats_tbl()
to create a summary table of the paralogistic distribution. - Fix #477 - Add function
util_inverse_weibull_param_estimate()
to estimate the parameters of the Inverse Weibull distribution.
Add functionutil_inverse_weibull_aic()
to calculate the AIC for the Inverse Weibull distribution.
Add functionutil_inverse_weibull_stats_tbl()
to create a summary table of the Inverse Weibull distribution. - Fix #476 - Add function
util_inverse_pareto_param_estimate()
to estimate the parameters of the Inverse Pareto distribution.
Add functionutil_inverse_pareto_aic()
to calculate the AIC for the Inverse Pareto distribution.
Add Functionutil_inverse_pareto_stats_tbl()
to create a summary table of the Inverse Pareto distribution. - Fix #475 - Add function
util_inverse_burr_param_estimate()
to estimate the parameters of the Inverse Gamma distribution.
Add functionutil_inverse_burr_aic()
to calculate the AIC for the Inverse Gamma distribution.
Add functionutil_inverse_burr_stats_tbl()
to create a summary table of the Inverse Gamma distribution. - Fix #474 - Add function
util_generalized_pareto_param_estimate()
to estimate the parameters of the Generalized Pareto distribution.
Add functionutil_generalized_pareto_aic()
to calculate the AIC for the Generalized Pareto distribution.
Add functionutil_generalized_pareto_stats_tbl()
to create a summary table of the Generalized Pareto distribution. - Fix #473 - Add function
util_generalized_beta_param_estimate()
to estimate the parameters of the Generalized Gamma distribution.
Add functionutil_generalized_beta_aic()
to calculate the AIC for the Generalized Gamma distribution.
Add functionutil_generalized_beta_stats_tbl()
to create a summary table of the Generalized Gamma distribution. - Fix #469 - Add function
util_zero_truncated_binomial_stats_tbl()
to create a summary table of the Zero Truncated binomial distribution.
Add functionutil_zero_truncated_binomial_param_estimate()
to estimate the parameters of the Zero Truncated binomial distribution.
Add functionutil_zero_truncated_binomial_aic()
to calculate the AIC for the Zero Truncated binomial distribution.
Minor Improvements and Fixes
TidyDensity 1.4.0
Breaking Changes
None
New Features
- Fix #405 - Add function
quantile_normalization()
to normalize data using quantiles. - Fix #409 - Add function
check_duplilcate_rows()
to check for duplicate rows in a data frame. - Fix #414 - Add function
util_chisquare_param_estimate()
to estimate the parameters of the chi-square distribution. - Fix #417 - Add function
tidy_mcmc_sampling()
to sample from a distribution using MCMC.
This outputs the function sampled data and a diagnostic plot. - Fix #421 - Add functions
util_dist_aic()
functions to calculate the AIC for a distribution.
Minor Fixes and Improvements
- Fix #401 - Update
tidy_multi_single_dist()
to respect the.return_tibble
parameter - Fix #406 - Update
tidy_multi_single_dist()
to exclude the.return_tibble
parameter
from returning in the distribution parameters. - Fix #413 - Update documentation to include
mcmc
where applicable. - Fix #240 - Update
tidy_distribution_comparison()
to include the new AIC calculations
from the dedicatedutil_dist_aic()
functions.
TidyDensity 1.3.0
Breaking Changes
- Fix #350 - This has caused the function
tidy_multi_single_dist()
to be modified
in that it now requires the user to pass the parameter of.return_tibbl
with either
TRUE or FALSE as it was introduced into thetidy_
distribution functions which now
usedata.table
under the hood to generate data. - Fix #371 - Modify code to use the native
|>
pipe instead of the%>%
which
has caused a need to update the minimum R version to 4.1.0
New Features
- Fix #360 - Add function
tidy_triangular()
- Fix #361 - Add function
util_triangular_param_estimate()
- Fix #362 - Add function
util_triangular_stats_tbl()
- Fix #364 - Add function
triangle_plot()
- Fix #363 - Add triangular to
tidy_autoplot()
Minor Fixes and Improvements
- Fix #372 and #373 - Update
cvar()
andcsd()
to a vectorized approach from @kokbent
which speeds these up by over 100x - Fix #350 - Update all
tidy_
distribution functions to generate data usingdata.table
this in many instances has resulted in a speed up of 30% or more. - Fix #379 - Replace the use of
dplyr::cur_data()
as it was deprecated in
dplyr in favor of usingdplyr::pick()
- Fix #381 - Add
tidy_triangular()
to all autoplot functions. - Fix #385 - For
tidy_multi_dist_autoplot()
the.plot_type = "quantile"
did
not work. - Fix #383 - Update all autoplot functions to use linewidth instead of size.
- Fix #375 - Update
cskewness()
to take advantage of vectorization with a speedup
of 124x faster. - Fix #393 - Update
ckurtosis()
with vectorization to improve speed by 121x per
benchmark testing.
TidyDensity 1.2.6
Breaking Changes
None
New Features
- Fix #351 - Add function
convert_to_ts()
which will convert atidy_
distribution
into a time series in eitherts
format ortibble
you can also have it set to
wide or long by using.pivot_longer
set to TRUE and.ret_ts
set to FALSE - Fix #348 - Add function
util_burr_stats_tbl()
Minor Fixes and Improvements
- Fix #344 - Fix
util_burr_param_estimate()
TidyDensity 1.2.5
Breaking Changes
None
New Features
- Fix #333 - Add function
util_burr_param_estimate()
Minor Fixes and Improvements
TidyDensity 1.2.4
Breaking Changes
None
New Features
- Fix #302 - Add function
tidy_bernoulli()
- Fix #304 - Add function
util_bernoulli_param_estimate()
- Fix #305 - Add function
util_bernoulli_stats_tbl()
Minor Fixes and Improvements
- Fix #291 - Update
tidy_stat_tbl()
to fixtibble
output so it no longer ignores
passed arguments and fixdata.table
to directly pass ... arguments. - Fix #295 - Drop warning message of not passing arguments when .use_data_table = TRUE
- Fix #303 - Add
tidy_bernoulli()
to autoplot. - Fix #299 - Update
tidy_stat_tbl()
- Fix #309 - Add function for internal use to drop dependency of stringr. Function
isdist_type_extractor()
which is used for several functions in the library. - Fix #310 - Update combine-multi-dist to use
dist_type_extractor()
- Fix #311 - Update all
util_dist_stats_tbl()
functions to usedist_type_extractor()
- Fix #316 - Update all
autoplot
functions fortidy_bernoulli()
- Fix #312 - Update random walk function to use
dist_type_extractor()
- Fix #314 - Update
tidy_stat_tbl()
to usedist_type_extractor()
- Fix #301 - Fix
p
andq
calculations.
TidyDensity 1.2.3
Breaking Changes
None
New Features
- Fix #237 - Add function
bootstrap_density_augment()
- Fix #238 - Add functions
bootstrap_p_vec()
andbootstrap_p_augment()
- Fix #239 - Add functions
bootstrap_q_vec()
andbootstrap_q_augment()
- Fix #256 #257 #258 #260 #265 #266 #267 #268 - Add functions
cmean()
chmean()
cgmean()
cmedian()
csd()
ckurtosis()
cskewness()
cvar()
- Fix #250 - Add function
bootstrap_stat_plot()
- Fix #276 - Add function
tidy_stat_tbl()
Fix #281 adds the parameter of
.user_data_table
which is set toFALSE
by default. If set toTRUE
will use
[data.table::melt()]
for the underlying work speeding up the output from a
benchmark test of regulartibble
at 72 seconds todata.table.
at 15 seconds.
Minor Fixes and Improvements
TidyDensity 1.2.2
Breaking Changes
None
New Features
- Fix #229 - Add
tidy_normal()
to list of tested distributions. AddAIC
from
a linear model for metric, and addstats::ks.test()
as a metric.
Minor Fixes and Improvements
TidyDensity 1.2.1
Breaking Changes
None
New Features
None
Minor Fixes and Improvments
- Fix #210 - Fix param_grid order on internal which affected attributes and thus
the display of the order of the parameters. - Fix #211 - Add High and Low CI to
tidy_distribution_summary_tbl()
- Fix #213 - Use
purrr::compact()
on the list of distributions passed in order
to prevent the issue occurring in #212 - Fix #212 - Make
tidy_distribution_comparison()
more robust in terms of handling
bad or erroneous data. - Fix #216 - Add an attribute of "tibble_type" to
tidy_multi_single_dist()
which
helps it to work with other functions liketidy_random_walk()
TidyDensity 1.2.0
Breaking Changes
None
New Features
- Fix #181 - Add functions
color_blind()
td_scale_fill_colorblind()
and
td_scale_color_colorblind()
- Fix #187 - Add functions
ci_lo()
andci_hi()
- Fix #189 - Add function
tidy_bootstrap()
- Fix #190 - Add function
bootstrap_unnest_tbl()
- Fix #202 - Add function
tidy_distribution_comparison()
Minor Fixes and Improvements
- Fix #176 - Update
_autoplot
functions to include cumulative mean MCMC chart
by taking advantage of the.num_sims
parameter oftidy_
distribution
functions. - Fix #184 - Update
tidy_empirical()
to add a parameter of.distribution_type
- Fix #183 -
tidy_empirical()
is now again plotted by_autoplot
functions. - Fix #188 - Add the
.num_sims
parameter totidy_empirical()
- Fix #196 - Add
ci_lo()
andci_hi()
to all stats tbl functions. - Fix #201 - Correct attribute of
distribution_family_type
todiscrete
for
tidy_geometric()