pierre-lebodic / bnb-mip-estimates

Allows
MIT License
2 stars 0 forks source link

Calculate confidence interval #1

Closed JanMerlinV closed 6 years ago

JanMerlinV commented 6 years ago

Calculate and plot a confidence interval around the respective estimates.

The interval is calculated by taking the weighted standard deviation between all known leaves' treesize estimations and scaling it by one minus the sum of the weights. The result is then plugged into Chebyshev's inequality to get the confidence interval.

New Parameters: --confidence_level: between 0 and 1 --confidence_noplot: don't plot confidence interval --stds_not_weighted: don't weigh the standard deviations by one minus the sum of the weights