Open In App

Python | Scipy stats.hypsecant.mean() method

With the help of stats.hypsecant.mean() method, we can get the value of mean of distribution by using stats.hypsecant.mean() method.

Syntax : stats.hypsecant.mean(beta)
Return : Return the value of mean of distribution.



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




# import hypsecant
from scipy.stats import hypsecant
beta = 1
  
# Using stats.hypsecant.mean() method
gfg = hypsecant.mean(beta)
  
print(gfg)

Output :

1.0



Example #2 :




# import hypsecant
from scipy.stats import hypsecant
beta = 4
  
# Using stats.hypsecant.mean() method
gfg = hypsecant.mean(beta)
  
print(gfg)

Output :

4.0

Article Tags :