Created
September 16, 2013 21:52
-
-
Save tbates/6587094 to your computer and use it in GitHub Desktop.
relevant for facebook conversation here: https://www.facebook.com/groups/bganet/621698404541007/?comment_id=621710734539774
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mixture distribution.. | |
n = 100000; | |
distOne = rnorm(n, 50, 10) | |
distTwo = rnorm(n, 120, 15) | |
x = c(distOne,distTwo) | |
hist(x) | |
psych::kurtosi(x);psych::skew(x); | |
# DV <- sum of unobserved IVs | |
x = distOne + distTwo | |
hist(x) | |
psych::kurtosi(x);psych::skew(x); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment