Generate a set of pseudorandom numbers that are beta prime distributed:
Compare its histogram to the PDF:
Distribution parameters estimation:
Estimate the distribution parameters from sample data:
Compare the density histogram of the sample with the PDF of the estimated distribution:
Skewness:
For a generalized beta distribution of the second kind, skewness does not depend on

:
Kurtosis:
For a generalized beta distribution of the second kind, kurtosis does not depend on

:
Different moments with closed forms as functions of parameters:
Closed form for symbolic order:
Different moments for a generalized beta distribution of the second kind:
Closed form for symbolic order:
Hazard function for a beta prime distribution:
Generalized beta prime distribution:
Generalized beta distribution of the second kind:
Quantile function of a beta prime distribution:
Generalized beta prime distribution:
Generalized beta distribution of the second kind: