Let's say in linear regression, I got a fit and I can plot residuals to see whether there is any systematic trend in such a plot. How to quantitatively determine whether the residues are really random? Is Durbin-Watson test used for this purpose? How to interpret such test if so?
Please provide an example, preferably in R.