Bootstrap Program

advertisement
Bootstrap Program
Programs & what they do
Features of the GUI
The essence of bootstrapping is that in the absence of any other information about a population,
the best guide to the distribution of a population is the distribution of a random sample of
size n taken from the population.
 To approximate the outcome of resampling the population, resample the sample.
 Basically, one creates an infinite population consisting of the n sample values, each of
which occurs with probability 1/𝑛.
 Sampling is done with replacement.
The hypothesis:
1. Non-human animals and indigenous peoples will move in similar fashions:
a.  biphasic distribution of velocities
b.  Lévy flight distribution of positions.
2. Bad guys will tend to move point-to-point
a.  Gaussian distribution of velocities, with a fairly constant mean.
b.  Gaussian distribution of positions?
c.
3. Will animals & indigenous peoples tend to disappear from radar screen more often,
because they stop to forage?
a. ***
4.
Bootstrapping is used to calculate the probability of getting a particular set of values with a onetime sample drawn from the distribution that the bootstrap develops.
How to approach this?
 I’ll have a distribution of positions recorded at different times.
o  Work with positions from the diffusion programs.
 Take the data and generate a distribution from them?
Pseudocode
1.
a.
2.
a.
3.
Notes
1.
1.
4.
1. Supply a distribution for comparison?
2. Supply data in the form of velocity measurements.
a. Want to determine if these data came from a particular distribution.
b. Sample size = N.
3. ***
What I’ll have is some measurements of velocity as a function of time.
 Want to determine if the distribution of the observed velocity/position was drawn from a
particular part of a particular distribution.
Programs and what they do:
randomization_Manly_1.m
What it does
Example 1.1 from Manly,
2007, pp. 4-9
Notes
Features of the GUI
Feature
Select diffusion model
Select parameters for model
Move particle(s) along path
Start button, Stop button, Pause
button(?)
Status
Notes
1. Use interruptible feature to implement Pause feature?
Displays
 Movement of particles?
 Radar display?
 Distribution of velocities
∑𝑛 𝑥 2
∑𝑛1 𝑥 2 − ( 1 )
𝑛
𝑠2 =
𝑛−1
Download