Transmission Rate in Partial Differential Equation in Epidemic Models