Sharing Is Caring:

R, ggplot, and Simple Linear Regression

  • Begin to use R and ggplot while learning the basics of linear regression
  • Free tutorial
  • Rating: 4.5 out of 54.5 (3,716 ratings)
  • 42,720 students
  • 2hr 14min of on-demand video
  • Created by Charles Redmond

English

What you’ll learn

  • Install R and RStudio
  • Create vectors and data frames in R
  • Plot points and lines with ggplot
  • Access vectors from data frames
  • Group with ggplot
  • Plot residual lines with ggplot
  • Fit a least squares line to a data set
  • Use a least squares line for prediction

Requirements

  • You will need to install both R and RStudio on your computer. We will, however, cover this in the first lecture.

Description

Data science skills are in much demand today, but it is not just the mathematicians, statisticians, and the computer scientists who can benefit from acquiring them. Data science skills are for everyone!

In this course, I help you to begin using R, one of the most important tools in data science, and the excellent graphics package for R, ggplot2. Along the way, I also show you the basics of simple linear regression.

There are no prerequisites. We begin with installation of R and RStudio, and I introduce R and ggplot skills as they are needed as we progress toward an understanding of linear regression.

Students should be able to complete the course within two weeks, working at an easy pace.

Read Also -->   Complete Bootstrap 4 course - build 3 projects

Linear regression is a machine learning technique. I hope to create more courses like this one in the future, teaching machine learning, R, ggplot, dplyr, and programming, all at the same time.

Who this course is for:

  • This course is for beginners interested in using R.
  • This course is for beginners interested in learning about the graphics package ggplot2.
  • This course is for beginners interested in learning some basics of linear regression.
  • This course is NOT for those with a background in statistics who use R and are familiar with ggplot2.

Show less

Course content

4 sections • 25 lectures • 2h 13m total lengthCollapse all sections

Getting Started5 lectures • 17min

  • Introduction02:19
  • Installing R and RStudio02:57
  • A Tour of RStudio02:06
  • Vectors in R06:32
  • Data Frames03:35

Working with ggplot6 lectures • 36min

  • Installing ggplot202:52
  • Plotting a point with ggplot08:31
  • Controlling axis properties09:00
  • More with color and shape04:22
  • Graphing lines with ggplot05:11
  • More with lines06:10

Sampling from populations6 lectures • 43min

  • Normal populations05:20
  • Plotting a vertical sample06:11
  • Plotting several vertical samples08:47
  • Samples along a line08:59
  • sapply03:47
  • Cloud of points10:04

Simple Linear Regression in R8 lectures • 37min

  • Father and son heights05:42
  • Equation of a line02:19
  • Residual visualization12:09
  • Sum of squared residuals04:57
  • The least squares line05:07
  • Prediction03:02
  • Reading in Excel files02:35
  • Course wrap-up01:08

👇👇👇👇 Click Below to Enroll in Free Udemy Course 👇👇👇👇

Go to Course

👇👇 See Also 👇👇

Join Us Join Us Join Us
Sharing Is Caring:

Leave a Comment

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO