RosettaCodeData/Task/Statistics-Basic/Stata/statistics-basic.stata

11 lines
335 B
Text
Raw Permalink Normal View History

2017-09-23 10:01:46 +02:00
. clear all
. set obs 100000
number of observations (_N) was 0, now 100,000
. gen x=runiform()
. summarize x
Variable | Obs Mean Std. Dev. Min Max
-------------+---------------------------------------------------------
x | 100,000 .4991874 .2885253 1.18e-06 .9999939
. hist x