Statistics for A Novel Multi-Layer Framework for Dynamic Operation of Prosumers in Peer-to-Peer (P2P) Energy Markets