Step 2 Run model:
Model> Ordinary Least Squares
Select “Salary” as Dependent variable
Select “YearsExperience” as Regressors
Click “Ok”
Note smaller the p-value the better: must be lower than 0.05 to be significant.
Note under the coefficient heading: const is the starting salary with no experience, YearsExperience is the amount added for each year(slope of the line).
Note the R-Squared value closer to 1 is better
Step 3 Graph Model:
Analysis> Forecast
Note the blue line is the models prediction for the salary
Note there is a 95% chance that the salary will be between the green lines