pests occurred or not by certain weather conditions – in addition to spoiling crops, pests can add significantly to the costs of producing a crop. Controlling them may require measures such as fencing, chemical or biological treatments, companion planting or crop rotation, all of which change the ratio of inputs to outputs