(with an exercise and a link to a quiz)
If you only chose one color, you would only get one range of sizes.
Spatial gradient in size
Oh, I’ll just grab those individuals closest to me…
Sample over a known gradient, aka cluster sampling
Can incorporate multiple gradients
What if there are interactions between individuals?
Path chosen with random number generator
What influences the measurement you are interested in?
Do you know all of the influences?
Do you know all of the influences?
How is your population defined?
What is the scale of your inference?
What might influence the inclusion of a replicate?
How important are external factors you know about?
How important are external factors you cannot assess?
Draw a causal graph of the influences on one thing you measure
How would you sample your population?
Sampling Nature
Describing your Sample
Using a Sample to Describe a Population
How big are individuals in this population?
[1] 41.11041 42.11062 48.31628 45.44011 51.28539 41.85113 43.02021
[8] 46.86495 47.03553 38.87441 46.56152 51.24369 40.79575 46.86209
[15] 31.41510
[1] 31.41510 38.87441 40.79575 41.11041 41.85113 42.11062 43.02021
[8] 45.44011 46.56152 46.86209 46.86495 47.03553 48.31628 51.24369
[15] 51.28539
[1] 45.44011
[1] 31.41510 38.87441 40.79575 41.11041 41.85113 42.11062 43.02021
[8] 45.44011 46.56152 46.86209 46.86495 47.03553 48.31628 51.24369
[15] 51.28539
Quantiles:
5% 10% 50% 90% 95%
36.63662 39.64295 45.44011 50.07273 51.25620
Quartiles (quarter-quantiles):
0% 25% 50% 75% 100%
31.41510 41.48077 45.44011 46.95024 51.28539
IQR = Range from 0.25 to 0.75 Quantile
5% 10% 50% 90% 95%
36.63662 39.64295 45.44011 50.07273 51.25620
IQR = 5.4694721
Whiskers show 1.5x the IQR
Sampling Nature
Describing your Sample
Using a Sample to Describe a Population
\(\large \bar{Y}\) - The average value of a sample
\(y_{i}\) - The value of a measurement for a single individual
n - The number of individuals in a sample
\(\mu\) - The average value of a population
(Greek = population, Latin = Sample)
What is the range of values for 2/3 of a population?
What is the range of values for 2/3 of a population?
How variable was that population? \[\large s^2= \frac{\displaystyle \sum_{i=1}^{n}{(Y_i - \bar{Y})^2}} {n-1}\]
\[ \large s = \sqrt{s^2}\]