Skip to content
Related Articles

Related Articles

Python | Scipy stats.halfgennorm.std() method
  • Last Updated : 06 Feb, 2020

With the help of stats.halfgennorm.std() method, we can get the value of standard deviation of distribution by using stats.halfgennorm.std() method.

Syntax : stats.halfgennorm.std(beta)
Return : Return the value of standard deviation of distribution.

Example #1 :
In this example we can see that by using stats.halfgennorm.std() method, we are able to get the value of standard deviation of distribution by using this method.




# import halfgennorm
from scipy.stats import halfgennorm
beta = 7
  
# Using stats.halfgennorm.std() method
gfg = halfgennorm.std(beta)
  
print(gfg)

Output :

0.29061475578761414



Example #2 :




# import halfgennorm
from scipy.stats import halfgennorm
beta = 4
  
# Using stats.halfgennorm.std() method
gfg = halfgennorm.std(beta)
  
print(gfg)

Output :

0.31463426591367505

 Attention geek! Strengthen your foundations with the Python Programming Foundation Course and learn the basics.  

To begin with, your interview preparations Enhance your Data Structures concepts with the Python DS Course. And to begin with your Machine Learning Journey, join the Machine Learning – Basic Level Course

My Personal Notes arrow_drop_up
Recommended Articles
Page :