Genetic analysis of lactation curves and application of stochastic model to gamma type function in buffaloes