Skip to main content
Statistics LibreTexts

3.16: Comparing Distributions Demo

  • Page ID
    2310
  • \( \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

    • Learn how one might compare data from two distributions

    Instructions

    This demonstration collects response time data from you and computes various descriptive statistics. It also displays histograms and box plots. After you click the button to begin, a rectangle will appear to the right of the button. Move the cursor to the rectangle and click. The time it takes you to click on the rectangle is recorded. Half of the time the rectangle is small and half of the time it is big. After two practice trials and \(40\) regular trials, the descriptive statistics and graphs will be displayed.

    Illustrated Instructions

    The simulation is started by clicking the button in the lower left of the screen. Clicking this button begins a series of trials where a another button appears on the right and you will be asked to click this button as quickly as possible.

    comparing_dist1.jpg
    Figure \(\PageIndex{1}\): Distributions Simulation

    Half of the buttons will large and half will be small. Once you complete \(40\) trials, the simulation will show you descriptive statistics about the reaction time data for each button size (see screenshot below).

    comparing_dist3.jpg
    Figure \(\PageIndex{2}\): Simulation showing descriptive statistics after 40 trials

    This page titled 3.16: Comparing Distributions Demo 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?