Analyzing the average impact of index insurance on farmers’ investment behaviors