#include <vcl_iostream.h>#include <vcl_cmath.h>#include <mbl/mbl_stats_1d.h>#include <vnl/vnl_vector.h>#include <vnl/vnl_random.h>#include <pdf1d/pdf1d_compare_to_pdf_ks.h>#include <pdf1d/pdf1d_compare_to_pdf_bhat.h>#include <pdf1d/pdf1d_calc_mean_var.h>#include <pdf1d/pdf1d_flat.h>#include <pdf1d/pdf1d_gaussian.h>#include <pdf1d/pdf1d_gaussian_builder.h>#include <pdf1d/pdf1d_epanech_kernel_pdf_builder.h>Go to the source code of this file.
Functions | |
| void | run_experiment (const pdf1d_pdf &pdf, const pdf1d_builder &test_builder, double &B_mean, double &B_var, int n) |
| Generate n samples from pdf and compare with test_pdf. | |
| void | run_multi_experiments (const pdf1d_pdf &pdf, const pdf1d_builder &test_builder, double &B_mean, double &B_var, int n_samples, int n_repeats) |
| void | graph_results (const pdf1d_pdf &pdf, const pdf1d_builder &test_builder, const vcl_string &path) |
| int | main () |
Variables | |
| vnl_random | mz_random |
Definition in file test_overlap_pdf.cxx.
| void graph_results | ( | const pdf1d_pdf & | pdf, |
| const pdf1d_builder & | test_builder, | ||
| const vcl_string & | path | ||
| ) |
Definition at line 99 of file test_overlap_pdf.cxx.
| int main | ( | ) |
Definition at line 120 of file test_overlap_pdf.cxx.
| void run_experiment | ( | const pdf1d_pdf & | pdf, |
| const pdf1d_builder & | test_builder, | ||
| double & | B_mean, | ||
| double & | B_var, | ||
| int | n | ||
| ) |
Generate n samples from pdf and compare with test_pdf.
Definition at line 22 of file test_overlap_pdf.cxx.
| void run_multi_experiments | ( | const pdf1d_pdf & | pdf, |
| const pdf1d_builder & | test_builder, | ||
| double & | B_mean, | ||
| double & | B_var, | ||
| int | n_samples, | ||
| int | n_repeats | ||
| ) |
Definition at line 79 of file test_overlap_pdf.cxx.
Definition at line 19 of file test_overlap_pdf.cxx.
1.7.5.1