Statistics for Global stability results for switched systems based on weak Lyapunov functions