1. A method for determining switching characteristics in an electrical device comprising: applying a series of electrical pulses of different magnitude and measuring a value of an electrical parameter for each applied electrical pulse; identifying a first candidate switching pulse from the measured value of the electrical parameter for each applied electrical pulse; placing the measured value of the electrical parameter for each applied electrical pulse into one of two groups, wherein parameter values for electrical pulses having a magnitude less than the first candidate switching pulse are placed in a first group and parameter values for electrical pulses having a magnitude greater than the first candidate switching pulse are placed in a second group; calculating a first extrapolated parameter value corresponding to the first group for the first candidate switching pulse and a confidence interval for the first extrapolated parameter value; calculating a second extrapolated parameter value corresponding to the second group for the first candidate switching pulse and a confidence interval for second extrapolated parameter value; and comparing the measured parameter value at the candidate switching pulse to the first and second extrapolated parameter values to determine a relative probability that the first candidate switching pulse caused the switching event.