Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Data Science for Decision Makers

You're reading from   Data Science for Decision Makers Enhance your leadership skills with data science and AI expertise

Arrow left icon
Product type Paperback
Published in Jul 2024
Publisher Packt
ISBN-13 9781837637294
Length 270 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Jon Howells Jon Howells
Author Profile Icon Jon Howells
Jon Howells
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part 1: Understanding Data Science and Its Foundations
2. Chapter 1: Introducing Data Science FREE CHAPTER 3. Chapter 2: Characterizing and Collecting Data 4. Chapter 3: Exploratory Data Analysis 5. Chapter 4: The Significance of Significance 6. Chapter 5: Understanding Regression 7. Part 2: Machine Learning – Concepts, Applications, and Pitfalls
8. Chapter 6: Introducing Machine Learning 9. Chapter 7: Supervised Machine Learning 10. Chapter 8: Unsupervised Machine Learning 11. Chapter 9: Interpreting and Evaluating Machine Learning Models 12. Chapter 10: Common Pitfalls in Machine Learning 13. Part 3: Leading Successful Data Science Projects and Teams
14. Chapter 11: The Structure of a Data Science Project 15. Chapter 12: The Data Science Team 16. Chapter 13: Managing the Data Science Team 17. Chapter 14: Continuing Your Journey as a Data Science Leader 18. Index 19. Other Books You May Enjoy

Estimating the line of best fit

In this section, we’ll dive deeper into the least squares method, the gold standard for estimating the line of best fit. We’ll explore the intuition behind this technique and walk through various examples to illustrate its power in uncovering patterns in data.

To better understand the least squares method, let’s walk through a couple of examples:

  • Example 1: A school principal wants to understand the relationship between students’ study hours and their test scores. The principal plots the data on a graph, with study hours on the horizontal axis and test scores on the vertical axis. Each data point represents a student’s study hours and the corresponding test score.

    Applying the least squares method, the principal aims to find the line that minimizes the sum of the squared residuals – the squared vertical distances between the actual test scores and the predicted scores generated by the line. Once the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime