cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
msilva92
Level I

Residuals analysis

Hi, 

 

I'm performing regression analysis of data and determining the residuals. When inserting the data by order of analysis and by random order, I get different residuals values. I checked if the data is correct and it is. Does the order of data affects the residuals calculations? And if does, why? 

 

Many thanks!

2 REPLIES 2
Ressel
Level VI

Re: Residuals analysis

Could you share an example table with the analyses stored as table scripts?

Re: Residuals analysis

No, the order of the rows (observations) does not determine any of the regression results. Can you reproduce this result? Have you started over and made sure that the only change is the order of the rows? You did not exclude rows in one case but not the other?

 

Example: Big Class data table, Bivariate platform, regress :weight by :height with simple linear regression, plot residuals.

original order.JPG

Original row order.

Reordered.JPG

Randomly re-ordered rows.