If the mean and variance are exactly the same, the program will not work. Use the Poisson instead.
A windows version of the negative binomial procedure is available here
This version of the negative binomial distribution is a generalization of the Poisson as used to study the distribution of accidents and events at the individual level. For the Poisson it is assumed that the chance of having an accident or a disease is randomly distributed: all individuals have an equal chance, of having one, two or more accidents. However, this assumption may be incorrect; you may observe that relatively more people have a higher number of accidents than the Poisson predicts. Mathematically the correctness of the assumption can be checked by seeing if in the Poisson the variance and the mean are equal. If the variance is larger than the mean, the assumption is incorrect.
One of the problems with the negative binomial distribution is that there does not seem to be a clear meaning which can be easily given to the variance (Arbous AG, Kerrich JE, 1951). Thus, after fitting the empirical distribution to the Negative Binomial distribution, and estimating the variance, as a measure of accident or disease proneness in the population, you are confronted with the question of what this measure means for individuals or groups in the population, or the development of policy or decisions.
Input is the same as for the Poisson, only the variance of the distribution is added in the middle, blue cell. One would normally expect the variance to be larger than the mean. If this is not the case use the Poisson (and if the variance and mean are the same the two distributions produce the same results). The variance and mean are imported parameters, you have to calculate or estimate them yourself from the distribution you study, using either a dedicated computer packages or a hand held calculator (which is absolutely fine for the purpose). For the variance one squares the sample standard deviation, on the calculator it is the one with the "s" symbol, not the one with the funny little "sigma" symbol. The DOS-version of this SISA program has an option which does all the calculations for you.