Statistical Inference via Data Science: A ModernDive into R and the Tidyverse
gather()
and spread()
with tidyr
to pivot_long()
and pivot_wide()
following this tidyverse article
geom_parallel_slopes()
user-defined geom extension to ggplot2
. Thanks @echasnovski!We're only a few cosmetic edits away from v1.0.0, which will correspond to our print edition with CRC Press!
Completed major re-organization and clean-up of Chapters 9-11 using the infer
package for "tidy and transparent" statistcal inference.
promotions
example on gender discrimination in promotions at a bank. Data source: openintro::gender.discrimination
moderndive::get_regression_points()
wrapper function to broom::augment()
so that novices can do their own residual analyses.geom_histogram()
, geom_boxplot()
, and "tidy" datageom_histogram()
and geom_boxplot()
examplesjoin
.fivethirtyeight::drinks
example of "hitting the non-tidy wall", then using tidyr::gather()
tidyverse
package is.Old chapter structure:
New chapter structure:
infer
package is ready for prime-time! Thus we made a first pass at incorporating it into the book in Chapters 9 and 10 on confidence intervals and hypothesis testing!geom_jitter()
examplegeom_boxplots
fivethirtyeight::drinks
_join()
and group_by()
multiple variablesmoderndive::get_regression_table()
functionbase::summary()
with skimr::skim()
for quick numerical summariesinfer
package now being ready for prime-time, we made first pass at incorporation into book.infer
package now being ready for prime-time, we made first pass at incorporation into book.infer
packagehouse_prices
dataframe in moderndive
package.
log10
-transformationsfivethirtyeight
data and added one small example using US births datamoderndive
package on CRAN to 0.2.0. See NEWS.md
install.packages()
and library()
(akin to downloading apps onto phone)moderndive
package, which includes get_regression_table()
and get_regression_points()
wrapper functions to simplify outputing of clean regression tables and observed/fitted values + resisualsinfer
: A tidyverse-friendly R package fo statistical inference
logos
foldernycflights13
package using the console, View()
, glimpse()
etc.ggplot2
now first non-intro chapter.
geom_col()
for making barcharts when data is pre-tabulated, instead of using geom_bar(stat="identity")
tidyr
bumped back. Added sections on converting from wide to long/tidy format and importing CSV'sdplyr
broom
bumped up from end of book to here given its pedagogical importance, added notes on viewing regression in a prediction framework.broom
infer
: A tidyverse-friendly R package fo statistical inference
dplyr
cheatsheet and ggplot2
cheatsheet
purl=FALSE
to chunks that do not contain useful code to the reader