





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























North Carolina State University
Lass class
Histogram– Intervals must be non-overlapping
pp
g
higher interval.
Intervals must be contiguous (rectangles touch each other)
F^
t bl
l ti
f^
t bl
Examining distribution– Shape: symmetric, right skewed, left skewed, bell-shaped
p^
y^
,^
g^
,^
,^
p
Histogram (how?)
Intervals must be non-overlapping
-^
Typically an observation equal to a boundary value is put in theTypically, an observation equal to a boundary value is put in thehigher interval.
-^
Intervals must be contiguous (rectangles touch each other)
-^
Intervals must be equal width
-^
Intervals must be equal width
-^
Often choose “nice” boundaries
In-class exercise
The volume of a stock is the number of shares traded on a given day. Thefollowing data, given in millions so that 3.78 represents 3,780,000 sharestraded, represents the volume of Altria Group stock traded for a random sampletraded, represents the volume of Altria Group stock traded for a random sampleof 35 trading days in 2004.3.78 6.06 5.32 3.04 10.32 3.38 10.96 8.74 5.75 3.255 64 3 38 5 53 4 50
4 35 5 34
6 57 5 00
7 25 4 74
5.64 3.38 5.53 4.
4.35 5.
6.57 5.
7.25 4.
7.97 5.02 6.92 7.
7.16 6.
9.70 3.
8.40 6.
6.07 4.88 4.43 3.
(a) Construct a frequency distribution of the data using bin widths of size 2.(b) Construct a relative frequency distribution of the data using bin widths ofsize 2.(c) Construct a frequency histogram and a relative frequency histogram of thedata, using bin widths of size 2.(d) On what percentage of the 40 days were at least 6 million shares traded?(e) Describe the shape of the distribution.Choose intervals: [2, 4), [4, 6), [6, 8), [8, 10), [10, 12]
Measuring center: the median
-^
-^
the midpoint of a distribution
Procedure to calculate the median:
Arrange all observations in order of size, from smallestto largest.
2.^
If the number of observations,
n,
is odd, the median
is the center observation in the ordered list.
3.^
If^ n
is even, then
is the mean of the two center
observations in the ordered list. Note: (n+1)/2 is the location of the median, not the median
itself.
Example: Salary Survey of UNC Graduates
-^
-^
-^
most on average ten years after they got theirdegrees?degrees?
-^
g^
y
Mean vs. Median
-^
t^
l^
l t
(sometimes outliers)
Mean, Median and Mode
If the (unimodal) distribution is exactly symmetric, themean the median and the mode are exactly themean, the median and the mode are exactly thesame.
-^
If the distribution is skewed, the three measuresdiffer.
Mean Median Mode
Mean
Median
Mode
Which one to use?
-^
q^
y
quantitative variables.
g
-^
Handling Outliers
Speed of Light (Histogram)
Why do we need “Spread”?
A raw measure: Range