Created
October 6, 2016 03:42
-
-
Save chezbgone/5a17601384900f01aaea0182dfdb0f8d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| data={1,2,2,3,3,3,3,3,4,4,4,4,5,5,5,5,5,5,5,5,5,5,6,6,6,6,6,6,6,6,6,7,7,7,7,8,8,9,10,4} | |
| Labeled[Labeled[ | |
| Show[Histogram[data, 10, PlotTheme -> "Monochrome", | |
| AspectRatio -> 1/2, Axes -> {True, False}, Frame -> False, | |
| ImageSize -> Large], | |
| ContourPlot[{0 == (x - 0.0331028 - 1/2) (x - 10.3169 - 1/2), | |
| 0 == (x - 1.03743 - 1/2) (x - 9.31257 - 1/2), | |
| 0 == (x - 3.27893 - 1/2) (x - 7.07107 - 1/2), | |
| y == | |
| 40 PDF[NormalDistribution[Mean[data], StandardDeviation[data]], | |
| x - 1/2]}, {x, 0, 11}, {y, 0, 40 0.26}, MaxRecursion -> 3], | |
| PlotRange -> All], "Number of Heads"], | |
| Text[Style["Distribution of Number of Heads", FontSize -> 18]], Top] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment