Skip to content

change p-val computation; add visualization layers

Compare
Choose a tag to compare
@andrewpbray andrewpbray released this 16 Nov 19:57
db509aa

infer 0.4.0

Breaking changes

  • Changed method of computing two-sided p-value to a more conventional one. It also makes get_pvalue() and visualize() more aligned (#205).

Deprecation changes

  • Deprecated p_value() (use get_p_value() instead) (#180).
  • Deprecated conf_int() (use get_confidence_interval() instead) (#180).
  • Deprecated (via warnings) plotting p-value and confidence interval in visualize() (use new functions shade_p_value() and shade_confidence_interval() instead) (#178).

New functions

  • shade_p_value() - {ggplot2}-like layer function to add information about p-value region to visualize() output. Has alias shade_pvalue().
  • shade_confidence_interval() - {ggplot2}-like layer function to add information about confidence interval region to visualize() output. Has alias shade_ci().

Other

  • Account for NULL value in left hand side of formula in specify() (#156) and type in generate() (#157).
  • Update documentation code to follow tidyverse style guide (#159).
  • Remove help page for internal set_params() (#165).
  • Fully use {tibble} (#166).
  • Fix calculate() to not depend on order of p for type = "simulate" (#122).
  • Reduce code duplication (#173).
  • Make transparancy in visualize() to not depend on method and data volume.
  • Make visualize() work for "One sample t" theoretical type with method = "both".
  • Add stat = "sum" and stat = "count" options to calculate() (#50).