Calculate the standard deviation of a normal distribution
Source code name: "stat_sdeviation.py"
Programming language: Python
Topic: Statistics/Descriptive
DMelt Version 1. Last modified: 12/11/2015. License: Pro
https://datamelt.org/code/cache/stat_sdeviation_5774.py
To run this script using the DataMelt IDE, copy the above URL link to the menu [File]→[Read script from URL] of the DMelt IDE.




"""

Normal distribution

Normal distribution: Normal_distribution
Look at the Standard deviation definition """ # Method I from javanpst.distributions.common.continuous import NormalDistribution p=NormalDistribution() print "1 sigma=",p.computeCumulativeProbability(1) print "2 sigma=",p.computeCumulativeProbability(2) print "\n Inverse 0.95 sigma. Method 1=",p.inverseNormalDistribution(0.95) # Method II from org.apache.commons.math3.distribution import NormalDistribution p=NormalDistribution() print "Inverse 0.95 sigma. Method 2=",p.inverseCumulativeProbability(0.95)

Ads help maintain this website.