Wednesday, September 25, 2024
Google search engine
HomeLanguagesPython | Scipy stats.halfgennorm.var() method

Python | Scipy stats.halfgennorm.var() method

With the help of stats.halfgennorm.var() method, we can get the value of variance of distribution by using stats.halfgennorm.var() method.

Syntax : stats.halfgennorm.var(beta)
Return : Return the value of variance of distribution.

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




# import halfgennorm
from scipy.stats import halfgennorm
beta = 10
  
# Using stats.halfgennorm.var() method
gfg = halfgennorm.var(beta)
  
print(gfg)


Output :

0.08159018176509003

Example #2 :




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


Output :

0.09899472128703718

Dominic Rubhabha-Wardslaus
Dominic Rubhabha-Wardslaushttp://wardslaus.com
infosec,malicious & dos attacks generator, boot rom exploit philanthropist , wild hacker , game developer,
RELATED ARTICLES

Most Popular

Recent Comments