I have been trying to plot in Maple a Beta Prime Distribution using the Statistics package. I have define it through its density function and its range with the command
U := Distribution(PDF = (proc (x) options operator, arrow; x^(alpha-1)*(1+x)^(-alpha-beta)/Beta(alpha, beta) end proc), Support = 0 .. infinity)
and then assigned it to a random variable Z with the command
Z := RandomVariable(U)
Now I wanted to plot the density but I receive an error when I try to do it.. That's the message
> DensityPlot(Z, range = 0 .. infinity);
Warning, unable to evaluate the function to numeric values in the region; see the plotting command's help page to ensure the calling sequence is correct
Can you help me with this?