Referenced from lesson Randomness and Sample Size (Spring, 2021)
1 Evaluate the biganimalstable
in the Interactions Area. This is the complete population of animals from the shelter! Below is a true statement about that population:
The population is 47.7% fixed and 52.3% unfixed.
Type each of the following lines into the Interactions Area and hit â€œEnter".
randomrows(biganimalstable, 10)
randomrows(biganimalstable, 40)
2 What do you get?
3 What is the contract for randomrows
?
4 What does the randomrows
function do?
5 In the Definitions Area, define smallsample
and largesample
to be these two random samples.
6 Make a piechart
for the animals in each sample, showing percentages of fixed and unfixed.

The percentage of fixed animals in the entire populations is 47.7%.

The percentage of fixed animals in
smallsample
is . 
The percentage of fixed animals in
largesample
is .
7 Make a piechart
for the animals in each sample, showing percentages for each species.

The percentage of tarantulas in the entire population is roughly 5%.

The percentage of tarantulas in
smallsample
is . 
The percentage of tarantulas in
largesample
is .
8 Click "Run" to direct the computer to generate a different set of random samples of these sizes. Make a new piechart
for each sample, showing percentages for each species.

The percentage of tarantulas in the entire population is roughly 5%.

The percentage of tarantulas in
smallsample
is . 
The percentage of tarantulas in
largesample
is .
9 Which repeated sample gave us a more accurate inference about the whole population? Why?
These materials were developed partly through support of the National Science Foundation, (awards 1042210, 1535276, 1648684, and 1738598). Bootstrap:Data Science by the Bootstrap Community is licensed under a Creative Commons 4.0 Unported License. This license does not grant permission to run training or professional development. Offering training or professional development with materials substantially derived from Bootstrap must be approved in writing by a Bootstrap Director. Permissions beyond the scope of this license, such as to run training, may be available by contacting contact@BootstrapWorld.org.