Probability and Statistics related R-codes (written for EE598 course at USC - Probabilistic Simulation Methods)