Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Statistics-Basic/Hy/statistics-basic.hy
Normal file
11
Task/Statistics-Basic/Hy/statistics-basic.hy
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
(import
|
||||
[numpy.random [random]]
|
||||
[numpy [mean std]]
|
||||
[matplotlib.pyplot :as plt])
|
||||
|
||||
(for [n [100 1000 10000]]
|
||||
(setv v (random n))
|
||||
(print "Mean:" (mean v) "SD:" (std v)))
|
||||
|
||||
(plt.hist (random 1000))
|
||||
(plt.show)
|
||||
Loading…
Add table
Add a link
Reference in a new issue