Agricultural productivity is measured as the ratio of agricultural outputs to inputs. While individual products are usually measured by weight, which is known as crop yield, varying products make measuring overall agricultural output difficult. Therefore, agricultural productivity is usually measured as the market value of the final output. This productivity can be compared to many different types of inputs such as labour or land. Such comparisons are called partial measures of productivity. Agricultural productivity may also be measured by what is termed total factor productivity (TFP). This method of calculating agricultural productivity compares an index of agricultural inputs to an index of outputs. This measure of agricultural productivity was established to remedy the shortcomings of the partial measures of productivity; notably that it is often hard to identify the factors cause them to change. Changes in TFP are usually attributed to technological improvements. Agricultural productivity is an important component of food security. Increasing agricultural productivity through sustainable practices can be an important way to decrease the amount of land needed for farming and slow environmental degradation and climate change through processes like deforestation.