Skip to main content
Statistics LibreTexts

1.5: Sampling Demonstration

  • Page ID
    28843
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Learning Objectives

    • Distinguish between simple random sampling and stratified sampling.
    • Describe how often random and stratified sampling give exactly the same result.

    Review of Sampling

    Instructions

    The sampling simulation uses a population of \(100\) animals: \(60\) lions, \(30\) turtles, \(10\) rabbits.

    Options

    sampling_demo_randomsample_pic.png: This option allows you to draw a sample of \(10\) animals at a time with each animal having an equal chance of being selected.

    sampling_demo_stratifiedsample_pic.png: This option allows you to draw a sample of \(10\) animals at a time, with each number of animals from a group being proportional to their group’s size of the population.

    Simulation Results

    GroupAnimals_Samplng_Demo.jpg
    Figure \(\PageIndex{1}\): Simulation Results

    The number of animals chosen from each group when a sample is drawn is shown next to the picture of the animal.

    When you give it a try

    Random Sampling

    • Begin by leaving the sampling_demo_randomsample_pic.png option selected.
    • Click on the sampling_demo_select10pic.pngbutton, \(10\) animals will be selected out of the population.

      Note: The animals become highlighted in blue and a number count of each animal selected will be listed by each animal image.

    • Each time you push the alt button, another sample will be drawn and the new tally will be shown on the right side of the previous sample.
    • You should get different tally results for each animal as you select alt, however the computer may give you the same number drawn from an animal category every now and then.

    Stratified Sample

    Note: Your animals should become highlighted in blue and a number count should be listed by each animal image.

    • Click on the sampling_demo_reset_pic.png button, to clear the simulation.
    • Select the sampling_demo_stratifiedsample_pic.pngoption.
    • Click on the alt button a few times.
    • As you get a new tally for every alt button, notice that the number of animals stays the same, but the animals selected are not always the same animals.

    Illustrated Instructions

    The opening screen of the sampling simulation displays all \(100\) animals in the population. You can select between a random sample and a stratified sample directly below the population and then generate a sample of ten animals.

    sampling_demo_start.jpg
    Figure \(\PageIndex{2}\): Sample Choices

    Below is an example of a random sample. Notice that animals selected are highlighted in the population and the total number of animals selected from each category is listed at the bottom of the simulation.

    sampling_demo_changed.jpg
    Figure \(\PageIndex{3}\): Random Sample

    This page titled 1.5: Sampling Demonstration is shared under a Public Domain license and was authored, remixed, and/or curated by David Lane via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.

    • Was this article helpful?