histogram_data_2d_sample_test


histogram_data_2d_sample_test, an Octave code which calls histogram_data_2d(), which demonstrates how to construct a Probability Density Function (PDF) from a table of sample data, and then to use that PDF to create new samples.

Licensing:

The computer code and data files described and made available on this web page are distributed under the MIT license

Related Data and Programs:

histogram_data_2d_sample, an Octave code which demonstrates how to construct a Probability Density Function (PDF) from a frequency table over a 2D domain, and then to use that PDF to create new samples.

Source Code:

TEST01 computes 1000 samples, based on a 20x20 PDF table that is heavily biased toward the northwest corner.

TEST02 computes 1000 samples, based on a 12x8 PDF table that is loosely based on the population of counties in Iowa.


Last modified on 15 June 2023.