Create a distribution from a histogram of some data:
Compute probabilities from the distribution:
Decrease the number of bins to decrease local sensitivity:
Increase the bin width to decrease local sensitivity:
Create distributions from histograms in higher dimensions:
Plot the univariate marginal PDFs:
Plot the bivariate marginal PDFs:
Estimate distribution functions:
Compute moments of the distribution:
Special moments:
General moments:
Quantile function:
Special quantile values:
Generate random numbers:
Compute probabilities and expectations:
Generating functions:
Estimate distribution functions for bivariate data:
Compute moments of a bivariate distribution:
Special moments:
General moments:
Generate random numbers:
Show the point distribution:
Having fewer bins yields a coarser approximation to the underlying distribution:
Generating functions:
Automatically compute the number of bins:
More data yields smaller bins:
Explicitly specify the number of bins to use:
Specify 5 and 50 bins, respectively:
Explicitly specify bin width:
Use bin widths 1. and 0.1:
Specify bin range and bin width:
Use bin widths of

and

respectively over the interval

to

:
Provide explicit bin delimiters:
Use different automatic binning methods:
Delimit bins on integer boundaries using a binning function:
Automatically compute the number of bins for bivariate data:
More data yields smaller bins:
Explicitly specify the number of bins to use:
Specify 5 and 10 bins in each dimension:
Explicitly specify bin width:
Use bin widths 1.0 or 2.0 for each dimension:
Specify bin range and bin width:
Use the range from

to

with bin widths

and

:
Explicitly give bin delimiters:
Use the bin delimiters

and

:
Use different automatic binning methods:
Use different bin specifications in each dimension:
Specify 3 bins in the row dimension and bin width 0.5 in the column dimension: