This paper proposes zero-and-one inflated Poisson regression model and gives the maximum likelihood estimation of parameters.Since standard EM algorithm will make the parameter estimate converge to local maxima,to address this shortcoming,this paper introduces the traditional EM algorithm amendment proposal which is called stochastic EM algorithm.The algorithm makes it possible to find the global optimum.Finally,the corresponding simulation is given to illustrate the proposed method.