Sensor Performance Analysis
It vastly depends on what kind of sensor you are using and what you are going to use your analysis for. 

Some sensors have a linear output while others do not. If you're comparing accuracy for a linear sensor with a non linear sensor you definitely cannot produce a flat accuracy answer. 

The test should reflect your end purpose and also the actual output form of the sensor. Is it a digital sensor giving you a direct output in spi/i2c? Is it giving you a voltage output and you're measuring with an ADC? This is important to quantify any source for error/discrepancy.