Estimating the agricultural demand for electricity in the presence of measurement error in the data