Part 1

Take Aways from Data 604 - Simulations and Modeling Techniques

I truly enjoyed this course very much. I would recommend this class to anyone pursuing a MSDS at CUNY. This Master’s Program is definitely “R-centric”, so whenever a course is in another programming language but it is not only a nice change of pace, but it is extremely rewarding as well. The textbooks and the lab exercises that followed, I found to be a great read for all skill levels. I must note that I wish this was a 15 week course. Great class everyone, thanks for everything everyone !

Part 2

Code from the Lab Assignment

I thought the exercise to add a Quarantine Factor into the Simulation was very fitting to what is going on in the world right now. Especially, as a Westchester, NY County Resident who spend some time in non-infectious LockDown.


def quarantine_time(system, f):
    
    h = 4 # number of days for a student that is infectious but did not quarantined
    l = 1  # number of days a student is infectious if quarantined
    tr = h - f * (h-l) # quarentine recovery rate 
    
    system.gamma = 1 / tr