Math, Stats, Julia, Predictions, Linear Regression.
plot!([0,12],[alpha1, alpha1 .+ beta1*12], c=:blue,linewidth=2.8) # Plot the regresion line with parameters for i in 1:n x,y = xVals[i],yVals[i] plt = plot!([x, x], [y, alpha1 .+ beta1*x],color="red", markershape=:circle) end # Loop to apply the residuals and scatters plot!(rectangle(x, y),