In: Statistics and Probability
| 
 Car Index No:  | 
 Miles (X)  | 
 Maintenance (Y)  | 
| 
 1  | 
 80,000  | 
 $1200  | 
| 
 2  | 
 29,000  | 
 $150  | 
| 
 3  | 
 53,000  | 
 $650  | 
| 
 4  | 
 13,000  | 
 $200  | 
| 
 5  | 
 45,000  | 
 $325  | 
| 
 6  | 
 50,000  | 
 ?  | 
Given: Maintenance expenses of 5 different cars for corresponding recorded miles.
Problem: If a car driven 50,000 miles, how much would be the maintenance cost?
Use Linear Regression equation to find the maintenance cost.
Ans ) $600.7683 (approx).
Explanation:
Mean = sum of all the values / total number of values

The formula for Linear Regression:



Therefore Linear Regression: 
If a car has driven 50,000 miles, how much would be the maintenance cost?
Given X = 50000
ans.
So, For 50,000 miles Maintenance cost will be =
$600.7683 (approx).