1. A system, comprising: a memory that stores computer-executable components; and a processor, operatively coupled to the memory, that executes the computer-executable components, the computer-executable components comprising: a sensing device that receives signals representative of a target and transforms the signals to sensor data indicative of states of the target, wherein the sensor data comprises first sensor data having a first value that is less than a low threshold value and indicative of the target being in a first state and second sensor data having a second value that is greater than a high threshold value and indicative of the target being in a second state, and wherein the target is a physical object; a statistics component configured to generate statistical data based on distributions of the sensor data, wherein the statistical data comprises a standard deviation of the distributions of the sensor data, a first mean average of a first distribution of the first sensor data, and a second mean average of a second distribution of the second sensor data; a margin component configured to generate sensing margins for the sensing device based on the statistical data, wherein the margin component generates a first sensing margin in response to determining that the first mean average of the first distribution differs from the high threshold value by a defined multiple of the standard deviation; and an output component that configures the sensing device according to the sensing margins.