<< Chapter < Page Chapter >> Page >
In this lab exercise, students will compare and contrast empirical data from a random number generator with the Uniform Distribution.

Class Time:

Names:

Student learning outcomes:

  • The student will compare and contrast empirical data from a random number generator with the Uniform Distribution.

Collect the data

Use a random number generator to generate 50 values between 0 and 1 (inclusive). List them below. Round the numbers to 4 decimal places or set the calculator MODE to 4 places.

  1. Complete the table:
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
    __________ __________ __________ __________ __________
  2. Calculate the following:
    • x ¯ = size 12{ {overline {x}} ={}} {}
    • s = size 12{s={}} {}
    • 1st quartile =
    • 3rd quartile =
    • Median =

Organize the data

  1. Construct a histogram of the empirical data. Make 8 bars.
    Blank graph with relative frequency on the vertical axis and X on the horizontal axis.
  2. Construct a histogram of the empirical data. Make 5 bars.
    Blank graph with relative frequency on the vertical axis and X on the horizontal axis.

Describe the data

  1. Describe the shape of each graph. Use 2 – 3 complete sentences. (Keep it simple. Does the graph go straight across, does it have a V shape, does it have a hump in the middle or at either end,etc.? One way to help you determine a shape, is to roughly draw a smooth curve through the top of the bars.)
  2. Describe how changing the number of bars might change the shape.

Theoretical distribution

  1. In words, X =
  2. The theoretical distribution of X is X ~ U ( 0 , 1 ) . Use it for this part.
  3. In theory, based upon the distribution X ~ U ( 0 , 1 ) , complete the following.
    • μ =
    • σ =
    • 1st quartile =
    • 3rd quartile =
    • median = __________
  4. Are the empirical values (the data) in the section titled "Collect the Data" close to the corresponding theoretical values above? Why or why not?

Plot the data

  1. Construct a box plot of the data. Be sure to use a ruler to scale accurately and draw straight edges.
  2. Do you notice any potential outliers? If so, which values are they? Either way, numerically justify your answer. (Recall that any DATA are less than Q1 – 1.5*IQR or more than Q3 +1.5*IQR are potential outliers. IQR means interquartile range.)

Compare the data

  1. For each part below, use a complete sentence to comment on how the value obtained from the data compares to the theoretical value you expected from the distribution in the section titled "Theoretical Distribution."
    • minimum value:
    • 1st quartile:
    • median:
    • third quartile:
    • maximum value:
    • width of IQR:
    • overall shape:
  2. Based on your comments in the section titled "Collect the Data", how does the box plot fit or not fit what you would expect of the distribution in the section titled "Theoretical Distribution?"

Discussion question

  1. Suppose that the number of values generated was 500, not 50. How would that affect what you would expect the empirical data to be and the shape of its graph to look like?

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Collaborative statistics using spreadsheets. OpenStax CNX. Jan 05, 2016 Download for free at http://legacy.cnx.org/content/col11521/1.23
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?

Ask