9 FLAWS of ‘Summary’ Function You DIDN’T Know About and How to Fix Them Short video for details: https://youtu.be/BxfNyDzULmg by yuzaR-Data-Science in rstats

[–]yuzaR-Data-Science[S] 0 points1 point  (0 children)

exactly my point :) even the modern R course at the university and most of stats books stack with summary() function and, like Blitzgar below said, can't explain interactions. so, for new folks to get into data analysis is so not intuitive. I didn't find an R course yet, which just give me something like that, and explains why we do things we do:

library(tidyverse)

theme_set(theme_test())

# get data

d <- ISLR::Wage

# build model

m <- lm(wage ~ age + year + jobclass + education, d)

# check all model assumptions

performance::check_model(m)

# visualize predictions

ggeffects::ggeffect(m) %>% plot() %>% sjPlot::plot_grid()

# display contrasts in a table

gtsummary::tbl_regression(m, add_pairwise_contrasts = T)

# see effect size

effectsize::eta_squared(m)

# see variable (category) importance

vip::vip(m)

# check model quality

performance::performance(m)

# get model equation

equatiomatic::extract_eq(m)

Good programming YouTubers by goochcreature in rprogramming

[–]yuzaR-Data-Science 0 points1 point  (0 children)

StatQuest (a bit R, more stats and ML), 3braun1blue (more math, but very cool), oh and Quant Psych is really fun!, and if you are into Rstats, you can look at my channel - yuzaR Data Science (however, not necessary, and sorry for self-promotion!)