Polynomial Regression, R, and ggplot

Learn how to write and graph functions in R and how to fit polynomials to data sets.

4.60 (1273 reviews)
Udemy
platform
English
language
Data Science
category
instructor
Polynomial Regression, R, and ggplot
27,121
students
1 hour
content
May 2015
last update
FREE
regular price

What you will learn

Write functions in R.

Graph functions with ggplot.

Fit polynomials to data sets.

Fit smoothing splines to data sets.

Why take this course?

This course is a sequel to my course "R, ggplot, and Simple Linear Regression". Here we take on polynomial regression and learn how to fit polynomials to data sets. Along the way, we will learn how to write our own functions in R and how to graph them with ggplot. At the conclusion of the course, we will learn how to fit a smoothing spline to data sets.

At a relaxed pace, it should take about a week to complete the course. You will need to have R and RStudio installed, and it would be best if you have a background in R and ggplot equivalent to what you would get if you viewed my first course mentioned above.

Content

Functions in R

Introduction
A Review of Functions
Creating Functions in R
Plotting Functions with ggplot
Polynomials

Polynomial Regression

Reading in Our Data
Fitting a Line
Plotting Points along the Least-Squares Line
Visualizing the Residuals
Best Fitting Polynomial of Degree 2
Best Fitting Polynomial of Degree 3
Smoothing Splines
Course wrap-up

Screenshots

Polynomial Regression, R, and ggplot - Screenshot_01Polynomial Regression, R, and ggplot - Screenshot_02Polynomial Regression, R, and ggplot - Screenshot_03Polynomial Regression, R, and ggplot - Screenshot_04

Reviews

Sam
August 22, 2022
Dr. Redmond was very thorough in the approach and taught the course very well. I enjoyed exploring how to code past what is typically used (overfitting a curve vs. parsimony).
Chong
August 18, 2021
Well taught. Easy to follow. Provides actionable takeaways. I would have liked to see a bit more theoretical depth in this course, especially for the part on smoothing splines.
Neha
May 24, 2021
This course is so good. the explanation, details provided, the data is also provided so that learners could perform along with the tutor. exceptionally good. Highly highly reccomend this.
Sergei
October 29, 2020
One of the best I ever had as a beginner. The basics are extremely important to understand and this course give! Feel excited and motivated to continue!
Massimo
February 28, 2018
This is my second course with Prof. Redmond, and I already wish that there were many more than just seven. The way he explains things is, as always, extremely clear and direct to the point.
Nakul
January 23, 2018
Thats what experience is all about !! Share your knowledge. It’s a way to achieve immortality. Dalai Lama (1357 – 1419, high lama of Tibetan Buddhism) This proverb says it all . Keep on sharing .Thanks .
Nathan
September 20, 2017
I appreciate the pace of learning and content is taught in a way that is easy to understand both practically and conceptually. Wish each course were longer and covered more material.
Alberto
September 20, 2017
Excellent material put together in a brilliant way. If you´re looking for courses that go straight to the point, this is exactly what you should try out.
Ralf
September 12, 2017
Durch die direkte praktische Umsetzung der eingeführten Konzepte an der R-Konsole und vor allem die dabei erstellten Visualisierungen vermittelt der Kurs statt lediglich abstrakter Ableitungen ein solides intuitives Verständnis der diskutierten Konzepte und zugleich das zu ihrer Anwendung in konkreten Analysen benötigte Handwerkszeug. Dem Dozenten gelingt es, miit wenigen kurzen Videos Theorie und Praxis einer komplexe Analysetechnik gut verständlich, so zu vermitteln, dass sie unmittelbar auf reale Datensätze angewendet werden kann. Der Kurs könnte m.E. davon profitieren, wenn dieser letzte Schritt, nämlich die Anwendung des Gelehrten auf einen realen, einen interessanten Sachverhalt abbildendes Datensatz noch in ein- bis zwei weiteren Videosequenzen vollzogen und so die Brücke zwischen Methode und Inhalt schlagen würde. Allerdings sollte jeder, der diesen wirklich sehr instruktiven Kurs absolviert hat, diesen letzten Schritt in dem ihm relevanten Sachgebiet auch selbst vollziehen können.
Liam
September 3, 2017
Free course and lecturer is very clear, taught at a good level for someone with a very basic grasp of R, someone with little knowledge of R would still find useful.
Alva
August 20, 2017
Another great (free) course from Charles Redmond! He has clearly brought his expertise from many years of teaching, as well as an excellent design of the coursework, to his Udemy courses.
Steven
July 25, 2017
The instructor was very clear and easy to follow. This is the second course in the series and as a total beginner to R I would not have been able to follow along had I not taken his first course beforehand.
Luis
June 28, 2017
Good class to understand how to use ggplot2 in conjunction with regression lines. As usual professor Redmond delivers the class in a clear and detailed manner to learn how to use R.
Dmitry
May 29, 2017
Teacher did not show how to save your own project,I was forced to recall all I do previous before start new lecture after some breake.
Ot
May 17, 2017
After having completed the Linear Regression course, i found this course to be an excellent extention to the first course. Looking forward to his next course.

Charts

Price

Polynomial Regression, R, and ggplot - Price chart

Rating

Polynomial Regression, R, and ggplot - Ratings chart

Enrollment distribution

Polynomial Regression, R, and ggplot - Distribution chart

Related Topics

499086
udemy ID
5/11/2015
course created date
11/2/2019
course indexed date
Bot
course submited by