📄 ---russianmorbidity.nlogo
字号:
time01SLIDER704262877295Probability_Death_NormalProbability_Death_Normal0251.30.11NILSLIDER703297878330Probability_Death_UnhealthyProbability_Death_Unhealthy0501.60.11NILSLIDER6122151155MovementMovement0100211NILSLIDER5169152202repro_raterepro_rate01004511NILSLIDER5217153250def_life_expdef_life_exp01005011NILTEXTBOX157179247197Births per 1000TEXTBOX157219247249Default expected lifespanTEXTBOX158124248154Prct. of Pop. that moves each turnTEXTBOX15681259126Prct. of patches that start with an agentSLIDER525997292N-RegionsN-Regions14411NILBUTTON699343754383Shock allset shock_all? trueNIL1TOBSERVERTNILBUTTON815332870365shock 1set Shock_1? true\nNIL1TOBSERVERTNILBUTTON756332811365shock 2set shock_2? trueNIL1TOBSERVERTNILBUTTON757369812402shock 3set shock_3? trueNIL1TOBSERVERTNILBUTTON816369871402shock 4set shock_4? trueNIL1TOBSERVERTNILSLIDER705441819474shock_sizeshock_size05001511NILSLIDER7061285545a_healthya_healthy01000011NILSLIDER705119838152b_healthyb_healthy01005011NILSLIDER7044985682a_normala_normal0100022611NILSLIDER705156840189b_normalb_normal01004011NILSLIDER70587856120a_unhealthya_unhealthy0100041611NILSLIDER706193841226b_unhealthyb_unhealthy01003011NILPLOT17478430620Mean Lifespan and Expected LifespanNILNIL0.0400.045.070.0falsetruePENS"Mean Lifespan" 1.0 0 -16777216 true"Expected Lifespan" 1.0 0 -65536 trueTEXTBOX121264221282Number of RegionsSWITCH704403829436timedshock1timedshock101-1000SLIDER0421172454Probability_Death_KidProbability_Death_Kid050.20.11NILSLIDER4348176381raterate0.0110.030.011NILSWITCH4305131338Discounting?Discounting?01-1000TEXTBOX7391157409Discount rate used by agents\nPLOT439479864619UnhealthyNILNIL0.010.00.010.0truetruePENS"Unhealthy 1" 1.0 0 -65536 true"Unhealthy 2" 1.0 0 -16711681 true"Unhealthy 3" 1.0 0 -16776961 true"Unhealthy 4" 1.0 0 -8716033 trueSWITCH699673821706Healthy_OptionHealthy_Option01-1000@#$#@#$#@RUSSIAN MORBIDITY MODELTHE STORYWithin the world constructed the observer (you) has the ability to create a population of agents that will be born, grow up, choose a lifestyle, reproduce, and eventually die. The major areas of concern are the expected and experienced mortality rates, the population breakdown of lifestyles chosen, and the growth/decay rate of the population in large. GETTING STARTEDStarting in the upper left-hand corner of the interface, you are presented with a the option to SETUP and GO/PAUSE. When you are ready to begin, you simply hit SETUP to populate the board and GO/PAUSE to initiate the simulation. The simulation may be paused (and subsequently restarted) at anytime by hitting GO/PAUSE.Before you populate the board there are a series of sliders which are in fact parameters thate dictate setup and control the underlying reality of the model. All sliders are in turquoise.The upper left sliders are all setup related (and are labelled accordingly). In the upper right are the sliders which control the coefficents of the agent objective function, and below them the sliders which control the probabilities that govern life and death in the model. Adjacent the the PROBABILITY_DEATH_HEALTHY slider is a switch which allows the user to control whether agents can choose a healthy lifestyle.HOW THE SIMULATION IS PLAYED OUTAgents are born and up until age 16 they simply move around. At age 16 they choose their lifestyle based on an expected utility comparison.E(U) = a + b(expected_lifespan)The keys to the equations are the user assigned coefficients for each lifestyle choice and the age at which he expects to die. These expectations are determined by the 8 neighboring patches that surround him. Each patch keeps a record of the average age of death of past occupants. In sum, the agent's neighborhood is his source of information in forming his expectations. This is the primary means by which agent rationality is bounded, coupled with agents' ingnorance of the underlying probablities. When an agent is born he lives on the same patch as his parent agent. When the "kid" turns 16 he chooses a lifestyle and then tries to move to a neighboring patch. If all of the neighboring patches are full he then moves to a random available patch.Agents may also move in their adult years, randomly chosen at a rate determined by the MOVEMENT slider.ADDITIONAL INFORMATIONN-REGIONS allows the user to break the board into 2, 3, or 4 sections. No matter the number of regions each agent carries a region_id tag that identifies where in the standard cartestian plane he exists at any moment. For example, even if there are only two regions, an agent in the lower left corner would have a region_id = 3. SHOCKS are critical to running experiments on the model. Regional shocks and total poplation shocks can be applied, where the SHOCK_SIZE slider will control the absolute number of agents who will die, chosen randome within the region indicated. Region numbers are assigned counter clockwise starting from the upper right. For example, if N-REGIONS = 3, then the large region on top is 1, the lower left is 2, and the lower right is region 3.There exists along the bottom a variety of graphs and monitors that are self-explanatory. CONCLUSIONYou have been fully indoctrinated. Now go experiment with the model and write a bunch of papers. @#$#@#$#@defaulttrue0Polygon -7566196 true true 150 5 40 250 150 205 260 250med_circletrue0Circle -7566196 true true 41 37 220triangletrue0Polygon -7566196 true true 46 235 150 43 251 234@#$#@#$#@NetLogo 2.1.0@#$#@#$#@@#$#@#$#@@#$#@#$#@
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -