~/talk

Solving the model representation problem with broom

Talkat rstudio::conf 2019 · 2019-01-15..01-18· [data-science]
links:none on file
slides:none on file

Broom standardizes messy R model objects by exposing three consistent generics tidy, glance, augment that always return tidy tibbles, so coefficients, one-row fit summaries, and per-observation predictions are easy to access. It pairs with list-columns and purrr::map to fit and summarize many models at once, demonstrated with bootstrap workflows (example uses 100 resamples), nls fits, and ggplot visualizations of coefficient and prediction uncertainty. Broom 0.5 ships these conventions and works reliably to cut cognitive load when comparing or reporting models.

AI-written summary · about

  1. 0:00Intro
  2. 0:40These slides are available online!
  3. 1:38How does R represent models, estimators and fits?
  4. 2:44The model representation problem
  5. 2:54broon provides a standard way to represent fits
  6. 4:38The normal model: an example
  7. 5:01What is normal_fit?
  8. 5:30What is the tidy representation of normal_fit?
  9. 6:28Another example: the linear model
  10. 6:59The tidy representation of ln objects
  11. 9:04Report model coefficients with tidy
  12. 9:29Comparing models by goodness of fit measures
  13. 10:23Inspecting residuals from multiple linear regression
  14. 11:08Bootstrapping
  15. 16:25Thank you! Questions?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.