Skip to main content

Regression

Polynomial regression is a basic form of data analysis that creates a line or curve between points in the dataset. The curve can then be extrapolated to predict future values.

Dataset

Under the module Forecasts create a new dataset. Enter the name of the topic that you want to predict, such as covid.infections. Enter a start time and end time for analyzing the dataset and select the mode Regression. Click on Train to see the curve or line.

The actual data is displayed in blue and a curve that fits the dataset is displayed in red. The accuracy display on the screen is the percentage difference between the actual and predicted values.

Click on Forecast to extrapolate the curve to the period defined under 'end'. Regression is a fast and easy form of data analysis. It can be used to predict moving averages but is not well suited to predict data with more complex patterns.