2017 © Pedro Peláez
 

library gtp-estimator

German Tank Problem Estimator

image

ivanciric/gtp-estimator

German Tank Problem Estimator

  • Wednesday, October 12, 2016
  • by ivanciric
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

GtpEstimator

German Tank Problem estimator in PHP, (*1)

Installation

In composer.json file add the following in the require array:, (*2)

``` bash "ivanciric/gtp-estimator": "0.0.*", (*3)


## Usage See example.php file. Suppose k = 4 tanks with serial numbers 19, 40, 42 and 60 are captured. The maximal observed serial number, m = 60. The unknown total number of tanks is called N. The formula for estimating the total number of tanks suggested by the frequentist approach outlined below is N ≈ m + m/k − 1 = 74 Using GtpEstimator:

$estimate = Ivanciric\GtpEstimator\GtpEstimator::estimate(4, 60); ```, (*4)

Wikipedia: https://en.wikipedia.org/wiki/German_tank_problem, (*5)

The Versions

12/10 2016

dev-master

9999999-dev https://github.com/ivanciric/gtp-estimator

German Tank Problem Estimator

  Sources   Download

MIT

statistics germantankproblem estimation estimate

12/10 2016

0.0.2

0.0.2.0 https://github.com/ivanciric/gtp-estimator

German Tank Problem Estimator

  Sources   Download

MIT

statistics germantankproblem estimation estimate