RvsPython #5.1: Making the Game even with Python’s Best Practices

Well, it turns out that my last blog that R was over 220 times faster than Python got a lot of (constructive) criticism saying that I wasn’t using “best practices” with Python, which was why my Python code was so slow. This is a totally acceptable critique; thus, I’ve decided to write a follow up… Continue reading RvsPython #5.1: Making the Game even with Python’s Best Practices

RvsPython #5: Using Monte Carlo To Simulate π

Please note: This blog has got alot of criticism as to the lack of best practices being used in the Python code. I have written a follow up to this issue here. Let me know what you think! Introduction The number , while being an irrational and transcendental number is a central number to which… Continue reading RvsPython #5: Using Monte Carlo To Simulate π

RObservations #3- Finding the Expected value of the maximum of two Bivariate Normal variables with simulation

Finding the expected value of order statistics can be a challenge if one is not privy to certain mathematical “tricks” and techniques. Thankfully, by use of simulation we can have some guidance that can help us realize when we are wrong with our mathematical conclusions and when we are correct. This post was inspired by… Continue reading RObservations #3- Finding the Expected value of the maximum of two Bivariate Normal variables with simulation