Changelog
Source:NEWS.md
TidyDensity 1.5.0
CRAN release: 2024-05-28
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
- Fix #468 - Update
util_negative_binomial_param_estimate()
to add the use ofoptim()
for parameter estimation. - Fix #465 - Add names to columns when
.return_tibble = TRUE
forquantile_normalize()
TidyDensity 1.4.0
CRAN release: 2024-04-26
New Features
- Fix #405 - Add function
quantile_normalize()
to normalize data using quantiles. - Fix #409 - Add function
check_duplicate_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
CRAN release: 2024-01-09
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
CRAN release: 2023-10-30
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
CRAN release: 2023-05-19
New Features
- Fix #333 - Add function
util_burr_param_estimate()
Minor Fixes and Improvements
- Fix #335 - Update function
tidy_distribution_comparison()
to add a parameter of.round_to_place
which allows a user to round the parameter estimates passed to their corresponding distribution parameters. - Fix #336 - Update logo name to logo.png
TidyDensity 1.2.4
CRAN release: 2022-11-16
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 is
dist_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
CRAN release: 2022-10-04
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
- Fix #242 - Fix
prop
check intidy_bootstrap()
- Fix #247 - Add attributes to
bootstrap_density_augment()
output.
TidyDensity 1.2.2
CRAN release: 2022-08-10
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.
TidyDensity 1.2.1
CRAN release: 2022-07-19
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
CRAN release: 2022-06-08
New Features
- Fix #181 - Add functions
color_blind()
td_scale_fill_colorblind()
andtd_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
fortidy_geometric()
TidyDensity 1.1.0
CRAN release: 2022-05-06
New Features
- Fix #119 - Add function
tidy_four_autoplot()
- This will auto plot the density, qq, quantile and probability plots to a single graph. - Fix #125 - Add function
util_weibull_param_estimate()
- Fix #126 - Add function
util_uniform_param_estimate()
- Fix #127 - Add function
util_cauchy_param_estimate()
- Fix #130 - Add function
tidy_t()
- Also add to plotting functions. - Fix #151 - Add function
tidy_mixture_density()
- Fix #150 - Add function
util_geometric_stats_tbl()
- Fix #149 - Add function
util_hypergeometric_stats_tbl()
- Fix #148 - Add function
util_logistic_stats_tbl()
- Fix #147 - Add function
util_lognormal_stats_tbl()
- Fix #146 - Add function
util_negative_binomial_stats_tbl()
- Fix #145 - Add function
util_normal_stats_tbl()
- Fix #144 - Add function
util_pareto_stats_tbl()
- Fix #143 - Add function
util_poisson_stats_tbl()
- Fix #142 - Add function
util_uniform_stats_tbl()
- Fix #141 - Add function
util_cauchy_stats_tbl()
- Fix #140 - Add function
util_t_stats_tbl()
- Fix #139 - Add function
util_f_stats_tbl()
- Fix #138 - Add function
util_chisquare_stats_tbl()
- Fix #137 - Add function
util_weibull_stats_tbl()
- Fix #136 - Add function
util_gamma_stats_tbl()
- Fix #135 - Add function
util_exponential_stats_tbl()
- Fix #134 - Add function
util_binomial_stats_tbl()
- Fix #133 - Add function
util_beta_stats_tbl()
Minor Fixes and Improvements
- Fix #110 - Bug fix, correct the
p
calculation intidy_poisson()
that will now produce the correct probability chart from the auto plot functions. - Fix #112 - Bug fix, correct the
p
calculation intidy_hypergeometric()
that will no produce the correct probability chart from the auto plot functions. - Fix #115 - Fix spelling in Quantile chart.
- Fix #117 - Fix probability plot x axis label.
- Fix #118 - Fix fill color on combined auto plot
- Fix #122 - The
tidy_distribution_summary_tbl()
function did not take the output oftidy_multi_single_dist()
- Fix #166 - Change in all plotting functions
ggplot2::xlim(0, max_dy)
toggplot2::ylim(0, max_dy)
- Fix #169 - Fix the computation of the
q
column - Fix #170 - Fix the graphing of the quantile chart due to #169
TidyDensity 1.0.1
CRAN release: 2022-03-27
Breaking Changes
- Fix #91 - Bug fix, change
tidy_gamma()
parameter of.rate
to.scale Fix
tidy_autoplot_functions to incorporate this change. Fix
util_gamma_param_estimate()to say
scaleinstead of
rate` in the returned estimated parameters.
Minor Fixes and Improvements
- Fix #90 - Make sure when
.geom_smooth
is set to TRUE thatggplot2::xlim(0, max_dy)
is set. - Fix #100 -
tidy_multi_single_dist()
failed on distribution with single parameter liketidy_poisson()
- Fix #96 - Enhance all
tidy_
distribution functions to add an attribute of either discrete or continuous that helps in the autoplot process. - Fix #97 - Enhance
tidy_autoplot()
to use histogram or lines for density plot depending on if the distribution is discrete or continuous. - Fix #99 - Enhance
tidy_multi_dist_autoplot()
to use histogram or lines for density plot depending on if the distribution is discrete or continuous.
TidyDensity 1.0.0
CRAN release: 2022-03-08
New Features
- Fix #27 - Add function
tidy_binomial()
- Fix #32 - Add function
tidy_geometric()
- Fix #33 - Add function
tidy_negative_binomial()
- Fix #34 - Add function
tidy_zero_truncated_poisson()
- Fix #35 - Add function
tidy_zero_truncated_geometric()
- Fix #36 - Add function
tidy_zero_truncated_binomial()
- Fix #37 - Add function
tidy_zero_truncated_negative_binomial()
- Fix #41 - Add function
tidy_pareto1()
- Fix #42 - Add function
tidy_pareto()
- Fix #43 - Add function
tidy_inverse_pareto()
- Fix #58 - Add function
tidy_random_walk()
- Fix #60 - Add function
tidy_random_walk_autoplot()
- Fix #47 - Add function
tidy_generalized_pareto()
- Fix #44 - Add function
tidy_paralogistic()
- Fix #38 - Add function
tidy_inverse_exponential()
- Fix #45 - Add function
tidy_inverse_gamma()
- Fix #46 - Add function
tidy_inverse_weibull()
- Fix #48 - Add function
tidy_burr()
- Fix #49 - Add function
tidy_inverse_burr()
- Fix #50 - Add function
tidy_inverse_normal()
- Fix #51 - Add function
tidy_generalized_beta()
- Fix #26 - Add function
tidy_multi_single_dist()
- Fix #62 - Add function
tidy_multi_dist_autoplot()
- Fix #66 - Add function
tidy_combine_distributions()
- Fix #69 - Add functions
tidy_kurtosis_vec()
,tidy_skewness_vec()
, andtidy_range_statistic()
- Fix #75 - Add function
util_beta_param_estimate()
- Fix #76 - Add function
util_binomial_param_estimate()
- Fix #77 - Add function
util_exponential_param_estimate()
- Fix #78 - Add function
util_gamma_param_estimate()
- Fix #79 - Add function
util_geometric_param_estimate()
- Fix #80 - Add function
util_hypergeometric_param_estimate()
- Fix #81 - Add function
util_lognormal_param_estimate()
- Fix #89 - Add function
tidy_scale_zero_one_vec()
- Fix #87 - Add function
tidy_combined_autoplot()
- Fix #82 - Add function
util_logistic_param_estimate()
- Fix #83 - Add function
util_negative_binomial_param_estimate()
- Fix #84 - Add function
util_normal_param_estimate()
- Fix #85 - Add function
util_pareto_param_estimate()
- Fix #86 - Add function
util_poisson_param_estimate()
Fixes and Minor Improvements
- Fix #30 - Move
crayon
,rstudioapi
, andcli
from Suggests to Imports due topillar
no longer importing. - Fix #52 - Add parameter
.geom_rug
totidy_autoplot()
function - Fix #54 - Add parameter
.geom_point
totidy_autoplot()
function - Fix #53 - Add parameter
.geom_smooth
totidy_autoplot()
function - Fix #55 - Add parameter
.geom_jitter
totidy_autoplot()
function - Fix #57 - Fix
tidy_autoplot()
for when the distribution istidy_empirical()
the legend argument would fail. - Fix #56 - Add attributes of .n and .num_sims (1L for now) to
tidy_empirical()
- Fix #61 - Update
_pkgdown.yml
file to update site. - Fix #67 - Add
param_grid
,param_grid_txt
, anddist_with_params
to the attributes of alltidy_
distribution functions. - Fix #70 - Add
...
as a grouping parameter totidy_distribution_summary_tbl()
- Fix #88 - Make the column
dist_type
a factor fortidy_combine_distributions()
TidyDensity 0.0.1
CRAN release: 2022-01-21
New Features
- Fix #1 - Add function
tidy_normal()
- Fix #4 - Add function
tidy_gamma()
- Fix #5 - Add function
tidy_beta()
- Fix #6 - Add function
tidy_poisson()
- Fix #2 - Add function
tidy_autoplot()
- Fix #11 - Add function
tidy_distribution_summary_tbl()
- Fix #10 - Add function
tidy_empirical()
- Fix #13 - Add function
tidy_uniform()
- Fix #14 - Add function
tidy_exponential()
- Fix #15 - Add function
tidy_logistic()
- Fix #16 - Add function
tidy_lognormal()
- Fix #17 - Add function
tidy_weibull()
- Fix #18 - Add function
tidy_chisquare()
- Fix #19 - Add function
tidy_cauchy()
- Fix #20 - Add function
tidy_hypergeometric()
- Fix #21 - Add function
tidy_f()