June 2018 Update
This commit is contained in:
parent
ba8067c3b7
commit
22f33d4004
5278 changed files with 84726 additions and 14379 deletions
9
Task/Statistics-Basic/Klong/statistics-basic.klong
Normal file
9
Task/Statistics-Basic/Klong/statistics-basic.klong
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
.l("nstat.kg")
|
||||
bar::{x{x;.d("*")}:*0;.p("")}
|
||||
hist10::{[s];#'=s@<s::_x*10}
|
||||
plot::{[s];.p("");.p("n = ",$x);
|
||||
(!10){.d(x%10);.d(" ");bar(y)}'_(100%x)*(hist10(s::{x;.rn()}'!x));
|
||||
.p("mean = ",$mu(s));.p("sd = ",$sd(s))}
|
||||
plot(100)
|
||||
plot(1000)
|
||||
plot(10000)
|
||||
Loading…
Add table
Add a link
Reference in a new issue