scipy stats.betaprime() | Python
scipy.stats.betaprime() is an beta prime continuous random variable that is defined with a standard format and some shape parameters to complete its specification. Parameters : q : lower and upper tail probability a, b : shape parameters x : quantiles loc : [optional]location parameter. Default = 0