Network Clearing Algorithms And Statistical Methods For Risk Assessment