From the course: Business Analytics: Forecasting with Trended Baseline Smoothing
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Run and interpret the analysis in R
From the course: Business Analytics: Forecasting with Trended Baseline Smoothing
Run and interpret the analysis in R
- [Instructor] Let's continue from the prior video by comparing the results we get from R's Holt function with the results we got from Excel. Here I am in R. If you need the file on my screen, go ahead and open up 03_01 Workspace from the exercise files. We've entered the Holt function already, putting our results in an object named fit1. Once you execute the Holt function, you can view the analysis using this command. Summary, open paren, fit1, close paren, where fit1 is the name of the object that you assigned the results of the Holt function to. Here's what R shows you. I have copied the results from the R console into an Excel worksheet, so that it's easier to compare using color coding the Excel results with R's. The first few lines of the results simply provide you confirmation that you're using Holt's method to model the data and to forecast values. Then you get what the Holt function terms smoothing parameters, which are the smoothing constants for level and trend. They're…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.