Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Tutorial Proposal: Stochastic Simulations in NumPy #184

Open
Labels
questionFurther information is requested
@weisscharlesj

Description

@weisscharlesj

I would like to propose a stochastic simulation tutorial that teaches using random variables generated from NumPy to simulate various situations and solve problems. The general outline for this tutorial is below.

  1. Primer on generating random variables in NumPy
  2. Birthday problem (https://en.wikipedia.org/wiki/Birthday_problem) – determine the probability of two students in an elementary class of 20 having the same birthday by repeatedly generating random collections of 20 birthdays and seeing how often there is a match
  3. Calculate a value for pi using random numbers
  4. Simulate pathogen infections using a simple SIR epidemiology model (https://en.wikipedia.org/wiki/Compartmental_models_in_epidemiology)
  5. Simulate radioactive decay to determine the amount of radioactive materials left after a given amount of time

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp