Skip to content

watson-e-and/math-modeling-comps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

math-modeling-comps

A repository to store smaller bits of code created in preparation for the MCM

Stochastic squirrels

The notebook stochastic-squirrels.ipynb runs a simple simulation of a squirrel population in decline.

Code features

  • NumPy random number generators
  • Using pandas dataframes to run many simulations simultaneously (vectorized)
  • Nice plots with overlapping data

Math features

  • Squirrel population declines using a binomial distribution (rate = 0.5, n = current squirrels)
  • More trials means more consistent behavior

About

A repository to store smaller bits of code created in preparation for the MCM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published