Frequency distribution function of solid ammonia