{"title":"Take a moderndive into introductory linear regression with R","authors":"Albert Y. Kim, Chester Ismay, M. Kuhn","doi":"10.21105/JOSE.00115","DOIUrl":null,"url":null,"abstract":"We present the moderndive R package of datasets and functions for tidyverse-friendly introductory linear regression (Wickham, Averick, et al., 2019). These tools leverage the well-developed tidyverse and broom packages to facilitate 1) working with regression tables that include confidence intervals, 2) accessing regression outputs on an observation level (e.g. fitted/predicted values and residuals), 3) inspecting scalar summaries of regression fit (e.g. R, R adj , and mean squared error), and 4) visualizing parallel slopes regression models using ggplot2-like syntax (Robinson & Hayes, 2019; Wickham, Chang, et al., 2019). This R package is designed to supplement the book “Statistical Inference via Data Science: A ModernDive into R and the Tidyverse” (Ismay & Kim, 2019). Note that the book is also available online at https://moderndive.com and is referred to as “ModernDive” for short.","PeriodicalId":75094,"journal":{"name":"The Journal of open source education","volume":" ","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2021-07-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"2","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"The Journal of open source education","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.21105/JOSE.00115","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 2
Abstract
We present the moderndive R package of datasets and functions for tidyverse-friendly introductory linear regression (Wickham, Averick, et al., 2019). These tools leverage the well-developed tidyverse and broom packages to facilitate 1) working with regression tables that include confidence intervals, 2) accessing regression outputs on an observation level (e.g. fitted/predicted values and residuals), 3) inspecting scalar summaries of regression fit (e.g. R, R adj , and mean squared error), and 4) visualizing parallel slopes regression models using ggplot2-like syntax (Robinson & Hayes, 2019; Wickham, Chang, et al., 2019). This R package is designed to supplement the book “Statistical Inference via Data Science: A ModernDive into R and the Tidyverse” (Ismay & Kim, 2019). Note that the book is also available online at https://moderndive.com and is referred to as “ModernDive” for short.