Isaac Yeaton edited analysis functions.tex  about 10 years ago

Commit id: af00c037f19dbfee62b68fdf41f7b93158ca2212

deletions | additions      

       

Also packaged with epipy are functions to analyze the outbreak structure as understood in case tree plots. Users may generate summary statistics and histograms of case attributes, by generation. For example, figure \ref{fig:hist} figure~\ref{fig:hist}  shows the distribution of patient sex by generation for the outbreak depicted in figure \ref{fig:casetree}. figure~\ref{fig:casetree}.  Users may also calculate the reproduction number for each node in the graph, and produce summary statistics and histograms for the reproduction number of the outbreak as a whole (excluding cases that are not part of any cluster).