Skip to content

Instantly share code, notes, and snippets.

@mick001
Created August 28, 2015 19:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mick001/d5b8c9a5a3a9263f35df to your computer and use it in GitHub Desktop.
Save mick001/d5b8c9a5a3a9263f35df to your computer and use it in GitHub Desktop.
How to make a rough check to see if your data is normally distributed part 1 (R). Full article at: http://www.firsttimeprogrammer.blogspot.com/2015/07/how-to-make-rough-check-to-see-if-your.html
# Simulated data (normal and beta distributions)
set.seed(70)
data_norm <- rnorm(100,0,1)
data_beta <- rbeta(1000,2,30)*10
# Compare the boxplots
boxplot(data_norm,data_beta,col='cyan')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment