Statistical Analysis and Modeling in R: Performing Regression Analysis

R Programming 4.0+    |    Expert
  • 9 videos | 1h 23s
  • Includes Assessment
  • Earns a Badge
Rating 4.9 of 15 users Rating 4.9 of 15 users (15)
Regression models are used to predict continuous values and are some of the most commonly used machine learning models. Use this course to grasp what exactly machine learning (ML) algorithms are and how you can use ML models to predict outcomes based on input data. Learn how regression models work, train them, and evaluate regression results using metrics such as R2 and RMSE. Perform regression analysis in R using the ordinary least squares regression. Build models using simple and multiple regression and train a regression model using cross-validation. Upon completing this course, you'll be able to perform regression to predict continuous values and evaluate these models using metrics such as the R2 and adjusted R2.

WHAT YOU WILL LEARN

  • Discover the key concepts covered in this course
    Recall the basic characteristics of machine learning models
    Examine how to fit a straight line on data to build a regression model and evaluate the model
    Identify and visualize the relationships in data
    Perform simple linear regression with a single predictor
  • Perform multiple regression using multiple predictors
    Apply the regression model to get predictions for test data
    Build a regression model using cross-validation
    Summarize the key concepts covered in this course

IN THIS COURSE

  • 2m 1s
    In this video, you’ll learn more about your instructor and this course. You’ll learn about machine learning algorithms and how machine learning models are used to predict outcomes based on input data once they've been trained. You’ll also learn how regression models work, train regression models, and evaluate the results of a regression using metrics such as the R square and the root mean square error. You’ll also perform regression analysis in R. FREE ACCESS
  • 9m 11s
    In this video, you’ll learn more about machine learning. Machine learning is when algorithms learn from your data, allowing those algorithms to make predictions. Machine learning algorithms are algorithms that automatically improve through experience without explicitly being programmed. These algorithms learn from data. You’ll feed in data to the algorithm, and the algorithm will use this data to learn and improve. Once your algorithm learns from data, this is a machine learning model. FREE ACCESS
  • Locked
    3.  Building and Evaluating Regression Models Using R
    10m 42s
    In this video, you’ll learn more about regression. Regression algorithms allow you to predict a continuous outcome variable or target based on the value of predictor variables. Your x variables or features are the predictors. These variables or targets in regression analysis are continuous values. With regression analysis, you have a cause that’s an independent variable. You’ll look at example scenarios here. FREE ACCESS
  • Locked
    4.  Visualizing Data Relationships Using R
    10m 1s
    In this video, you’ll watch a demo. In this demo, you’ll learn how to perform linear regression on your data. You'll fit a regression model using ordinary least squares regression. First, you’ll view the data you’ll be working with. You’ll open up the Files pane and scroll to find the data that says kc_house_data.csv, right click, and View File. You’ll see the data you’ll use to train a regression model and use it for prediction. FREE ACCESS
  • Locked
    5.  Performing Simple Linear Regression in R
    8m 43s
    In this video, you’ll watch a demo. In this demo, you’ll fit a regression model. First, you’ll need to split the data into training data and test data. You’ll do that using a function available in the caTools package. You’ll run the command install.packages caTools. Then, you’ll use the library function to include the caTools package in your current program. Next, you’ll use the sample.split function in this package. FREE ACCESS
  • Locked
    6.  Performing Multiple Regression in R
    10m 7s
    In this video, you’ll watch a demo. In this demo, you’ll see how to use the lm function to perform multiple regression. Multiple regression is when you have multiple predictors to predict the target variable. You can perform multiple regression using the lm function once again, the only thing that changes is the formula. You’ll see the first input argument, price ~ bedrooms + view. FREE ACCESS
  • Locked
    7.  Deriving Predictions Using Regression Models in R
    3m 12s
    In this video, you’ll watch a demo. In this demo, you’ll use your fully trained regression model for prediction on the test data. You’ll perform this prediction by invoking the predict function. First, in R, you’ll pass in the model you’re using for prediction. That’s your linear model. You’ll pass in the data you want the prediction to be performed on, which is your test.data. FREE ACCESS
  • Locked
    8.  Building Regression Models Using Cross-validation
    4m 22s
    In this video, you’ll watch a demo. In this demo, you'll see how to use cross-validation to train and evaluate your linear regression model. You’ll see cross-validation is a technique where you train your model on a subset of data, and then evaluate using a complementary subset. You’ll do this multiple times until you get the best possible model. Cross-validation is a technique you can use to mitigate overfitting your model on the training data. FREE ACCESS
  • Locked
    9.  Course Summary
    2m 5s
    In this video, you’ll summarize what you’ve learned in the course. You learned the basics of linear regression and how to perform regression and interpret the results of regression. You learned machine learning algorithms are algorithms that learn from the data used to train them. You saw that machine learning helps us build predictive models that understand patterns in the training data, and then use these patterns to make predictions on unseen instances. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Rating 3.0 of 1 users Rating 3.0 of 1 users (1)
Rating 4.7 of 3 users Rating 4.7 of 3 users (3)

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE

Rating 4.4 of 11 users Rating 4.4 of 11 users (11)
Rating 4.4 of 90 users Rating 4.4 of 90 users (90)
Rating 4.6 of 34 users Rating 4.6 of 34 users (34)