Multiple Linear Regressions in R (Bonus: Summary Table)

preview_player
Показать описание
Group Split & Map are SECRET TOOLS in my #dplyr & #tidyverse ARSENAL. Combining them will help us scale up to 15 #LinearRegression Summaries to assess relationship strength & combine in a GT table. Here are the links to get set up 👇

Once you take these actions, you'll be set up to receive R-Tips with Code every week. 👍

THE R-TRACK PROGRAM
==============================
Learning R is tough, takes a long time, is advanced, is...

What am I say?! Learning R for business can be fast & fun. Here's how.

I have a complete system designed to teach you R, Data Science, Advanced Machine Learning, Web App Development, Time Series, & more - all for business. It's insanely powerful. Over 6+ months, learn everything needed to become an R Rockstar for Your Organization.

Рекомендации по теме
Комментарии
Автор

Thank you Matt. This is awesome.

For people who like to take shortcuts:
hwy_vs_city_tbl <- mpg %>%
group_by(manufacturer) %>%
summarise(glance(lm(hwy ~ cty)))

or:
hwy_vs_city_tbl <- mpg %>%
group_by(manufacturer) %>%
do(glance(lm(hwy ~ cty, data = .)))

but note:
mpg %>%
group_by(manufacturer) %>%
summarise(glance(lm(hwy ~ cty, data = .)))
is not correct

grazynaydzinska
Автор

Great job Matt. Following the same example, how could you integrate the "predict" function and extract the predicted data? Greetings

pedroloyola
Автор

Trying to use this method for my analysis and getting the following error - Error in map(.f = function(df) { :
argument ".x" is missing, with no default. Any idea how could this be resolved?

Aditya
Автор

Awesome video Matt. One doubt, what is the difference between group_split and nest_by, in terms of modeling trougth different groups? Regards.

emmanuelherrera
Автор

I'm browsing through forums to see why when I use the exact same code as you my glance output doesn't include nobs. Someone mentioned this back a couple years ago and it looked like the resulting fix is why I should expect it to have a nobs column today, but for whatever reason it doesn't. Any thoughts? Love your shiny developer with AWS course btw!! Best money I've ever invested in my future.

jamescutler
Автор

Apparently I have some setting that is creating an issue when trying to clone the repository as it says SSL certificate problem: unable to get local issuer certificate. How can I get the mpg dataframe?

jeff
Автор

I liked the music! You should most definitely connect with Katishan! His stuff really reminds me of Travis Scott mixed with Niska! He is the most lit music artist on YouTube and he basically does vibey stuff on YouTube.

You should totally see his channel out and give the artist a subscribe! 👉 #NewMusicKatishan

jorgeparrales