Datasets and wrapper functions for tidyverse-friendly introductory linear regression, used in "Statistical Inference via Data Science: A ModernDive into R and the Tidyverse" available at < https://moderndive.com/>.
Updated package for:
evals
and house_prices
datasets and updated get_regression_table()
and get_regression_points()
functions.Details:
get_correlation()
function to omit `$ syntax and return a data frameinfer::rep_sample_n()
instead of our own defined version, as this function is now included in infer
evals
, house_prices
, tactile_prop_red
, pennies_sample
and mythbusters_yawn
datasetsget_regression_summaries()
newdata
argument to get_regression_points()
. When:
newdata
, output it as well as residual
(See Issue 17).residual
tidyverse
from Depends, Imports, or SuggestsFixed broken url in ?bowl_samples
get_regression_*
functions meant for novice R users/regression fitters that process regression model outputspennies
: 800 pennies to be treated as a population from which to simulate sampling a numerical variable from (year
of minting)bowl
: Bowl of 2400 balls of which 900 are red to be treated as a population from which to simulate sampling a categorical variable from (color
). Also known as the urn sampling framework \url{https://en.wikipedia.org/wiki/Urn_problem}.bowl_samples
: data from tactile version of sampling from bowl
done in class: 10 groups sampled n=50 balls from and counted the number red [ADD MODERNDIVE LINK]