Statistics/Normal distribution: Difference between revisions
+Stata
(Added Kotlin) |
(+Stata) |
||
Line 2,655:
66 ⎸
</pre>
=={{header|Stata}}==
Here, a normal density is added to the histogram for comparison. See '''[http://www.stata.com/help.cgi?histogram histogram]''' in Stata help.
<lang stata>. clear all
. set obs 100000
number of observations (_N) was 0, now 100,000
. gen x=rnormal()
. summarize x
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
x | 100,000 -.00149 .9995225 -4.24247 4.057799
. hist(x), normal</lang>
=={{header|Tcl}}==
|