Polynomial Regression, R, and ggplot

Learn how to write and graph functions in R and how to fit polynomials to data sets.
Rating: 4.9 out of 5 (1,190 ratings)
25,100 students
English
English [Auto]
Write functions in R.
Graph functions with ggplot.
Fit polynomials to data sets.
Fit smoothing splines to data sets.

Requirements

  • Students will need to have R and RStudio installed on their own computers.
  • It will be best if students have the background one would get by viewing my course "R, ggplot, and Simple Linear Regression".

Description

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.

Who this course is for:

  • This course is for those looking to learn more about R.
  • This course is for those looking to learn more about ggplot.
  • This course is for those looking to understand polynomial regression.

Course content

2 sections13 lectures1h 5m total length
  • Introduction
    01:43
  • A Review of Functions
    02:30
  • Creating Functions in R
    03:54
  • Plotting Functions with ggplot
    07:53
  • Polynomials
    02:17

Instructor

Professor at Mercyhurst University
Charles Redmond
  • 4.7 Instructor Rating
  • 6,174 Reviews
  • 76,179 Students
  • 7 Courses

Dr. Charles Redmond is a professor in the Tom Ridge School of Intelligence Studies and Information Science at Mercyhurst University. He has been a member of the Department of Mathematics and Computer Systems at Mercyhurst for 21 years and has recently completed a term as chair of the department. Dr. Redmond received his PhD in mathematics from Lehigh University in 1993 and has published in the Annals of Applied Probability, the Journal of Stochastic Processes and Their Applications, Mathematics Magazine, the College Mathematics Journal, and Mathematics Teacher. In his spare time he enjoys making music and computer generated art, reading, and owning a Clumber Spaniel.