Plots a histogram based on a user specified origin and bandwidth.
Plots a histogram, a jagged density estimator, of a given sample with a user specified origin and bandwidth, after checking if the sample is valid.
sample: data desired to create a histogram for, entered as a one-dimensional numpy array
origin: any real number bandwidth: any number greater than 0
Plots a kernel density estimator, kde, based on a user specified kernel and bandwidth.
Plots a kde, a denisty estimator smoothed with the use of a kernel, of a given sample with a user specified kernel and bandwidth, after checking if the sample is valid.
Plots a nearest-neighbor density estimator, nnde, based on a user specified k.
Plots a nnde, a density estimator smoothed by averaging distances away from k, of a given sample with a user specified k, after checking if the sample is valid.