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.
Complete the table:
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
__________
Calculate the following:
1st quartile =
3rd quartile =
Median =
Organize the data
Construct a histogram of the empirical data. Make 8 bars.
Construct a histogram of the empirical data. Make 5 bars.
Describe the data
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.)
Describe how changing the number of bars might change the shape.
Theoretical distribution
In words,
=
The theoretical distribution of
is
~
. Use it for this part.
In theory, based upon the distribution
~
, complete the following.
1st quartile =
3rd quartile =
median = __________
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
Construct a box plot of the data. Be sure to use a ruler to scale accurately and draw straight
edges.
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
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:
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
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?