statistical characteristions on an array
Source code name: "stat_histo.py"
Programming language: Python
Topic: Statistics/Descriptive
DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/stat_histo_4271.py
To run this script using the DMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.



from jhplot  import * 
from jhplot.math.StatisticSample import *
a=randomLogNormal(1000,0,1)

# get statistics
p0=P0D(a)
print p0.getStat()

# make histogram
h=H1D("LogNormal",30,0,1)
h.fill(a)

c1 = HPlot("LogNormal")
c1.setGTitle("LogNormal")
c1.setRange(0,1,0,100)
c1.visible()
c1.draw(h)


You see the box below because you did not login.