Skip to content

Instantly share code, notes, and snippets.

@codyhan94
Created March 10, 2014 04:12
Show Gist options
  • Save codyhan94/9459366 to your computer and use it in GitHub Desktop.
Save codyhan94/9459366 to your computer and use it in GitHub Desktop.
a=read.table("Anscombe3", header=TRUE)
model=lm(formula=y~x, data=a)
e=residuals(model)
ks.test(e, pnorm)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment