Population Model Worksheet 6: Generating Random Population Numbers, Assignments of Mathematics

Instructions for generating random population numbers using a math 464 population model. Students are required to generate two columns of random numbers, use one column for births and the other for deaths, and compute the population numbers for each day of a year. The goal is to observe the population numbers hovering around the expected value of 250.

Typology: Assignments

Pre 2010

Uploaded on 08/19/2009

koofers-user-va0
koofers-user-va0 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Math 464, Worksheet 6
This exercise uses the population model from Worksheet 2, in which birth rate and death rate are
pb= 0.05 and pd=N
5000
and expected population is governed by the difference equation
N=1
5000(250NN2)
The goal is a “one click” model of a full year of population numbers using random data on every
day of the year. Here’s how you get there:
1. Generate two independent columns of normally distributed random numbers. Each column
needs at least 365 numbers.
2. Use one of these columns to generate actual numbers of births each day. These should be
approximately binomial with mean and standard deviation
µ=pbNand σ=pNpb(1 pb)
[Hint: pbis always 0.05]
3. Use the other column to generate actual numbers of deaths each day. These should be ap-
proximately binomial with mean and standard deviation
µ=pdNand σ=pNpd(1 pd)
[Hint: pdchanges every day!]
4. Use all this data to compute the number of animals on each day for a year. You can pick any
starting population you like. I used 100.
5. Graph your data. It should look fairly jagged, particularly over the last half of the year. But
the jaggedness should hover around 250.
6. Copy the Day 2 Population cell and paste it back in the same cell. This will cause all the
random numbers to reset. You can watch the effect of this by watching the graph when you
click “Paste”.
1

Partial preview of the text

Download Population Model Worksheet 6: Generating Random Population Numbers and more Assignments Mathematics in PDF only on Docsity!

Math 464, Worksheet 6

This exercise uses the population model from Worksheet 2, in which birth rate and death rate are

pb = 0. 05 and pd =

N

and expected population is governed by the difference equation

∆N =

(250N − N^2 )

The goal is a “one click” model of a full year of population numbers using random data on every day of the year. Here’s how you get there:

  1. Generate two independent columns of normally distributed random numbers. Each column needs at least 365 numbers.
  2. Use one of these columns to generate actual numbers of births each day. These should be approximately binomial with mean and standard deviation

μ = pbN and σ =

Npb(1 − pb)

[Hint: pb is always 0.05]

  1. Use the other column to generate actual numbers of deaths each day. These should be ap- proximately binomial with mean and standard deviation

μ = pdN and σ =

Npd(1 − pd)

[Hint: pd changes every day!]

  1. Use all this data to compute the number of animals on each day for a year. You can pick any starting population you like. I used 100.
  2. Graph your data. It should look fairly jagged, particularly over the last half of the year. But the jaggedness should hover around 250.
  3. Copy the Day 2 Population cell and paste it back in the same cell. This will cause all the random numbers to reset. You can watch the effect of this by watching the graph when you click “Paste”.