liveBook · Manning

Tidy() function

As explained in Statistics Slam Dunk

The tidy() function from broom converts a statistical model object into a row-per-term tabular summary containing estimates and related statistics.

The broom tidy() function converts a fitted statistical model into a row-per-term tibble, making coefficient estimates, standard errors, test statistics, and p-values easy to inspect. section 5.7.3

Predicting NBA wins

A regression of wins on hustle statistics returns estimates such as 1.04 for screen-assist points, 2.23 for deflections, and 5.38 for loose balls. Substituting Miami's statistics into the resulting equation predicts 39 wins. section 5.7.3

How Statistics Slam Dunk covers it

How deep it goes
Shows the returned tibble and interprets coefficients and significance, while deferring broader model diagnostics to glance().
Examples
Uses a hustle-statistics regression and Miami Heat data to demonstrate coefficient interpretation and predicted wins.
What it assumes
Assumes a fitted regression object and familiarity with predictors, coefficients, p-values, and predicted values.
What you can do after
Apply it via broom to inspect fitted-model terms and use returned estimates in a linear prediction equation.
How it connects
Connects statistical models with coefficient estimates, p-values, linear regression, and model prediction.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Statistics Slam Dunk. The section links point to the parts of the book it draws on.