This repository contains experiments from our paper S. Janson and V. Kurauskas, A note on estimating global subgraph counts by sampling (arXiv preprint).
The included script calculates the minimum sample size run_all
.
To choose
Thus, for the first experiment (contact count surveys) we make an assumption about
As can be seen in the output in the results/
directory (see the end of each file), for each degree distribution in our first experiment we got
To download all the data from other authors' repositories and regenerate the same output as in the results/
directory simply call
./run_all
in Linux.
The python script estimate_N.py
can be called with any csv files
containing degree distributions and with different parameters.