From the course: Python in Excel: Data Outputs in Custom Data Visualizations and Algorithms
Unlock this course with a free trial
Join today to access over 25,400 courses taught by industry experts.
Determining trends for linear regression with Excel functions
From the course: Python in Excel: Data Outputs in Custom Data Visualizations and Algorithms
Determining trends for linear regression with Excel functions
- [Instructor] One way we can find trends in data is by running regression models. For example, if we have data points on a scatterplot, we can use these regression models to fit a line that best predicts future data points. Linear regression is when we run a straight line that fits these data points. The good news is that while we can calculate linear regression model coefficients in Python, we can also set them up directly in Excel. Especially from an Excel perspective, it's more efficient to use built-in Excel functions and functionalities to do this. There's also a scatterplot on the linear regression tab in Excel. This is a one-dimensional model because we're referencing the low temperature as the independent variable plus the interceptor bias as the other coefficient. Just to see how this works, let's say that we have the high temperature as this dependent Y variable and the low temperature as the independent X variable. We can calculate the intercept of a one-dimensional linear…
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.
Contents
-
-
-
-
Introducing AI and machine learning algorithms2m 32s
-
(Locked)
Determining trends for linear regression with Excel functions5m 4s
-
(Locked)
Leveraging Excel Solver for logistic regression2m 49s
-
(Locked)
Determining trends for logistic regression with Python code4m 17s
-
(Locked)
Grouping data with hierarchical clustering5m 5s
-
(Locked)
Grouping data with the K-Means algorithm2m 51s
-
(Locked)
Determining anomalies with anomaly detection algorithms6m 43s
-
(Locked)
Challenge: Running algorithms with Python in Excel1m 5s
-
(Locked)
Solution: Running algorithms with Python in Excel5m 10s
-
-
-