Statistics for The Electronic Device with Resistance Switching Behavior based on Different Mechanisms