Download presentation
Presentation is loading. Please wait.
1
Advertisement: Possible independent work or project " An Agent-Based Model of a Minimal Economy," Chris K. Chan and Ken Steiglitz, Working Paper, Department of Computer Science, Princeton University, Princeton, NJ, May 5, 2008. This and the next paper are Chris's reports of his independent work, 2007-8. This work is continuing with Professor Leigh Tesfatsion (Iowa State University) and Mike Honig (Northwestern University). An Agent-Based Model of a Minimal EconomyProfessor Leigh Tesfatsion " An Agent-Based Model of a Minimal Economy," Chris K. Chan and Ken Steiglitz, Working Paper, Department of Computer Science, Princeton University, Princeton, NJ, January 7, 2008. An Agent-Based Model of a Minimal Economy
2
Simulation Generally speaking, this means there is one program variable for each element in the system being simulated, … as opposed to analytical solution formulation of algebraic or differential eqs.
3
Example: Epidemics [Dur95] R. Durrett, "Spatial Epidemic Models," in Epidemic Models: Their Structure and Relation to Data, D. Mollison (ed.), Cambridge University Press, Cambridge, U.K., 1995. Discrete-time, discrete-space, discrete- state
4
Durrett’s epidemic model Time, t = 0, 1, 2, … Space: orthogonal (square) grid State: {susceptible, infected, removed} Rules tell us how to get from t to t+1 for each spatial location Each site has 4 neighbors, contains 0 or 1 individual
5
Durrett’s Rules (“SIR” Model) Susceptible individuals become infected at rate proportional to the number of infected neighbors Infected individuals become healthy (removed) at a fixed rate δ Removed individuals become susceptible at a fixed rate α
6
Time, t = 0, 1, 2, … Space: orthogonal (square) grid State: {susceptible, infected, removed}
7
Simulation results α = 0 : No return from removed; immunity is permanent. If δ, recovery rate, is large, epidemic dies out. If δ is less than some critical number, the epidemic spreads linearly and approaches a fixed shape. Can be formulated and proven as a theorem! α > 0 : behavior is more complicated
8
Empirical verification measles in Glasgow, 1929: 440 ft/week Muskrats escape in Bohemia, 1905: square-root of area grows linearly Other models: ODEs, PDEs with spatial diffusion. For example, rabies: NSF Mathematical Sciences Institutes SARS: http://www.scielosp.org/img/revistas/bwho/v 84n12/a12fig01.jpg http://www.scielosp.org/img/revistas/bwho/v 84n12/a12fig01.jpg
9
Some questions: How do you choose the language? Can you parallelize? How do you display? Why are random numbers needed? How do you debug with random numbers when every run is different? How do you test?
10
Simulating population genetics (assignment 1) review of very basic genetics genes alleles If there are two possible alleles at one site, say A and a, there are in a diploid organism three possible genotypes: AA, aa, Aa, the first two homozygotes, the last heterozygote Question: How are these distributed in a population as functions of time?
11
Why study this? Understanding history of evolution, human migration, human diversity Understanding relationship between species Understanding propagation of genetic diseases Agriculture
12
Approaches, pros and cons Field experiment + realistic - hard work for one particular situation Mathematical model + can yields lots of insight, intuition - usually uses very simplified models - not always tractable Simulation + very flexible + works when math doesn’t - not easy to make predictions
13
19th Century: Darwin et al. didn’t know about genes, etc., and used the idea of blended inheritance But this requires an unreasonably large mutation rate to explain variation, evolution Enter Mendel…
14
Gregor Mendel (1822 - 1884)
15
http://bio.winona.edu/berg/241f00/Lec-note/Mendel.htmhttp://bio.winona.edu/berg/241f00/Lec-note/Mendel.htm, Steven Berg, Winona State
16
Simplest model A little history, Mendelian laws Hardy-Weinberg equilibrium A little probability/statistics Wahlund effect in segregated population Example: Da Cunha’s data on Drosophila polymorpha; abdomen color [Smi89] Assignment 1: goal, limitations of theoretical model
17
www.nd.edu/~hholloch/pi.htmlwww.nd.edu/~hholloch/pi.html, Hope Holloche, U. Chicago
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.