Averages/Arithmetic mean: Difference between revisions
Content added Content deleted
m (→{{header|dc}}) |
|||
Line 767: | Line 767: | ||
<lang dc>[[Nada Mean: ]Ppq]sq |
<lang dc>[[Nada Mean: ]Ppq]sq |
||
zd0=qsn [stack length = n]sz |
zd0=qsn [stack length = n]sz |
||
1k [precision can be altered]sz [+z1<+]ds+x |
1k [precision can be altered]sz [+z1<+]ds+x[Sum: ]Pp |
||
ln/ |
ln/[Mean: ]Pp [Sample size: ]Plnp</lang> |
||
By saving the sample set "1 2 3 5 7" in a file (sample.dc), the routine, listing summary information, could be called in a command line: |
By saving the sample set "1 2 3 5 7" in a file (sample.dc), the routine, listing summary information, could be called in a command line: |