Skip to content

Instantly share code, notes, and snippets.

@mick001
Created August 28, 2015 19:42
Show Gist options
  • Save mick001/2ab6b290e79d47961b53 to your computer and use it in GitHub Desktop.
Save mick001/2ab6b290e79d47961b53 to your computer and use it in GitHub Desktop.
How to make a rough check to see if your data is normally distributed part 4 (R). Full article at: http://www.firsttimeprogrammer.blogspot.com/2015/07/how-to-make-rough-check-to-see-if-your.html
kurtosis(data_norm)-3
kurtosis(data_beta)-3
# <0 data is platycurtic
# = 0 data is normal
# >0 data is leptocurtic
##########################################################
# Results
# > kurtosis(data_norm)-3
# [1] 0.2875478
# > kurtosis(data_beta)-3
# [1] 1.390812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment