Categories &

Functions List

Function Reference: burrpdf

statistics: y = burrpdf (x, lambda, c, k)

Burr type XII probability density function (PDF).

For each element of x, compute the probability density function (PDF) of the Burr type XII distribution with scale parameter lambda, first shape parameter c, and second shape parameter k. The size of y is the common size of x, lambda, c, and k. A scalar input functions as a constant matrix of the same size as the other inputs.

Further information about the Burr distribution can be found at https://en.wikipedia.org/wiki/Burr_distribution

Input arguments must be double or single; integer, logical, and character arrays are rejected. MATLAB accepts a character array and evaluates it at the character codes, which Octave deliberately does not, since a character array is an integer type and integers are refused too.

See also: burrcdf, burrinv, burrrnd, burrfit, burrlike, burrstat

Source Code: burrpdf

Plot various PDFs from the Burr type XII distribution

 x = 0.001:0.001:3;
 y1 = burrpdf (x, 1, 1, 1);
 y2 = burrpdf (x, 1, 1, 2);
 y3 = burrpdf (x, 1, 1, 3);
 y4 = burrpdf (x, 1, 2, 1);
 y5 = burrpdf (x, 1, 3, 1);
 y6 = burrpdf (x, 1, 0.5, 2);
 plot (x, y1, '-b', x, y2, '-g', x, y3, '-r', ...
       x, y4, '-c', x, y5, '-m', x, y6, '-k')
 grid on
 ylim ([0, 2])
 legend ({'λ = 1, c = 1, k = 1', 'λ = 1, c = 1, k = 2', ...
          'λ = 1, c = 1, k = 3', 'λ = 1, c = 2, k = 1', ...
          'λ = 1, c = 3, k = 1', 'λ = 1, c = 0.5, k = 2'}, ...
         'location', 'northeast')
 title ('Burr type XII PDF')
 xlabel ('values in x')
 ylabel ('density')
plotted figure