The estimation of parameters from population data on the general stochastic epidemic