Draw standardized residuals and least square fit on the same plot

1 view (last 30 days)
I recently encountered this plot and I want to draw like this as well, this is a displacement vs time scatter plot, a linear fit plot is made. And for each individual (displacement, time) point, a standardized residual is calculated. I am wondering how I can put these in the same plot.
Thank you!

Answers (0)

Categories

Find more on Linear and Nonlinear Regression in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!