Professional Documents
Culture Documents
easy stuff)
Chapter 1
1-2
Using Statistics Percentiles and Quartiles Measures of Central Tendency Measures of Variability Grouped Data and the Histogram Skewness and Kurtosis Relations between the Mean and Standard Deviation Methods of Displaying Data Exploratory Data Analysis Using the Computer
1-3
1 LEARNING OBJECTIVES
After studying this chapter, you should be able to: Distinguish between qualitative data and quantitative data. Describe nominal, ordinal, interval, and ratio scales of measurements. Describe the difference between population and sample. Calculate and interpret percentiles and quartiles. Explain measures of central tendency and how to compute them. Create different types of charts that describe data sets. Use Excel templates to compute various measures and create charts.
1-4
WHAT IS BIOSTATISTICS?
BioStatistics teaches us how to summarize, analyze, and draw meaningful inferences from data that then lead to confirmations of hypotheses that relates to biological problems.
1-5
Descriptive Statistics
Collect Organize Summarize Display Analyze
Inferential Statistics
Predict and forecast values of population parameters Test hypotheses about values of population parameters
1-6
1-7
Scales of Measurement
1-8
A population consists of the set of all measurements for which the investigator is interested. A sample is a subset of the measurements selected from the population. A census is a complete enumeration of every item in a population.
1-9
1-10
Population (N)
Sample (n)
1-11
Why Sample?
Census of a population may be: Impossible Impractical Too costly
1-12
1-13
Example 1-2
The a scientist investigates the weight of the fish in a same pond every year. In 2007, the net weight of the 20 heaviest individuals, in grams, is as follows: (data is given on the next slide). Also, the data has been sorted in magnitude.
1-14
1-15
Find the 50th, 80th and the 90th percentiles of this data set. To find the 50th percentile, determine the data point in position (n + 1)P/100 = (20 + 1)(50/100) = 10.5. Thus, the percentile is located at the 10.5th position. The 10th observation in the ordered set is 22, and the 11th observation is also 22.
1-16
The 50th percentile will lie halfway between the 10th and 11th values (which are both 22 in this case) and is thus 22.
1-17
To find the 80th percentile, determine the data point in position (n + 1)P/100 = (20 + 1)(80/100) = 16.8. Thus, the percentile is located at the 16.8th position. The 16th observation is 32, and the 17th observation is also 33. The 80th percentile is a point lying 0.8 of the way from 32 to 33 and is thus 32.8.
1-18
To find the 90th percentile, determine the data point in position (n + 1)P/100 = (20 + 1)(90/100) = 18.9. Thus, the percentile is located at the 18.9th position. The 18th observation is 49, and the 19th observation is also 52. The 90th percentile is a point lying 0.9 of the way from 49 to 52 and is thus 49 + 0.9(52 49) = 49 + 0.93 = 49 + 2.7 = 51.7.
1-19
1-20
The first quartile, Q1, (25th percentile) is often called the lower quartile. The second quartile, Q2, (50th percentile) is often called the median or the middle quartile. The third quartile, Q3, (75th percentile) is often called the upper quartile. The interquartile range is the difference between the first and the third quartiles.
1-21
(n+1)P/100 Position
Quartiles
First Quartile
(20+1)25/100=5.25
19 + (.25)(1) = 19.25
Median
(20+1)50/100=10.5
22 + (.5)(0) = 22
Third Quartile
(20+1)75/100=15.75
1-22
Measures of Variability
1-23
Mode Mean
1-24
Sorted grams
18 18 18 18 19 20 20 20 21 22 22 23 24 26 27 32 33 49 52 56
The median is the middle value of data sorted in order of magnitude. It is the 50th percentile.
1-25
= xi
i =1
x = xi
i =1
1-26
Sorted grams 18
18 18 18 19 20 20 20 21 22 22 23 24 26 27 32 33 49 52 56
538 = 26.9 x = xi = 20 i =1
1-27
Range
Difference
between maximum and minimum values between third and first quartile (Q3 - Q1) the squared deviations from the mean
Interquartile Range
Difference
Variance
Average*of
Standard Deviation
Square
1-28
First Quartile
(20+1)25/100=5.25
19 + (.25)(1) = 19.25
Median
(20+1)50/100=10.5
22 + (.5)(0) = 22
Third Quartile
(20+1)75/100=15.75
1-29
Sample Variance
2 = i=1
N
s =
2
(x x)
n i =1
(n 1)
2
2 x i=1
( x)
N i =1
N
2
( ) x
n
n x i =1
i =1
(n 1)
2
s= s
1-30
xx
-8.9 -8.9 -8.9 -8.9 -7.9 -6.9 -6.9 -6.9 -5.9 -4.9 -4.9 -3.9 -2.9 -0.9 0.1 5.1 6.1 22.1 25.1 29.1 0
(x x) 2
79.21 79.21 79.21 79.21 62.41 47.61 47.61 47.61 34.81 24.01 24.01 15.21 8.41 0.81 0.01 26.01 37.21 488.41 630.01 846.81 2657.8
x2
324 324 324 324 361 400 400 400 441 484 484 529 576 676 729 1024 1089 2401 2704 3136 17130
s2 = =
(x x)
i =1
(n 1)
2657.8 ( 20 1)
2657.8 = 139.88421 19
2
n x n =1 x2 i n = i =1 (n 1)
2
= 139.88421 = 11.82
1-31
Mutually exclusive Not overlapping - every observation is assigned to only one group Exhaustive Every observation is assigned to a group Equal-width (if possible) First or last group may be open-ended
1-32
Frequency Distribution
Each and every group or class or interval of values Associated frequency of each group Number of observations assigned to each group Sum of frequencies is number of observations
Class midpoint is the middle value of a group or class or interval Relative frequency is the percentage of total observations in each class
1-33
1-34
The cumulative frequency of each group is the sum of the frequencies of that and all preceding groups.
1-35
Histogram
Widths and locations of bars correspond to widths and locations of data groupings Heights of bars correspond to frequencies or relative frequencies of data groupings
1-36
40
30
38
Frequency
31
30
22
20
13
10
100
200
400
500
600
1-37
30
27.1739
25
20.6522
20
16.3043 16.8478
15
11.9565
10
7.06522
5 0
100
200
grams
300 Dollars
400
500
600
1-38
Skewness
Kurtosis
1-39
Skewness
Skewed to left
1-40
Skewness
Symmetric
1-41
Skewness
Skewed to right
1-42
30 Frequency
20
15 10
20 15 10
10
100
200
300
400 X
500
600
700
1-43
Kurtosis
Platykurtic - flat distribution
1-44
Kurtosis
Mesokurtic - not too flat and not too peaked
1-45
Kurtosis
Leptokurtic - peaked distribution
1-46
Chebyshevs Theorem
Applies to any distribution, regardless of shape Places lower limits on the percentages of observations within a given number of standard deviations from the mean Applies only to roughly mound-shaped and symmetric distributions Specifies approximate percentages of observations within a given number of standard deviations from the mean
Empirical Rule
1-47
Chebyshevs Theorem
At least of the elements of any distribution lie k2 within k standard deviations of the mean
1 3 1 1 = = = 75% 2 4 4 2
At least
1 8 1 1 2 = 1 = = 89% 9 9 3 1 15 1 1 2 = 1 = = 94% 16 16 4
1-48
Empirical Rule
95%
All
1-49
Pie Charts
Categories represented as percentages of total Heights of rectangles represent group frequencies Height of line represents frequency Height of line represents cumulative frequency Represents values over time
Bar Graphs
Frequency Polygons
Ogives
Time Plots
1-50
Bonds 20, 20.0% Large Cap Value 10, 10.0% Small Cap/Mid Cap 20, 20.0%
1-51
100
Registration (Millions)
75
50
25
2000
2001
2002
2003 Year
2004
2005
2006
1-52
Relative Frequency
1-53
0.8
0.6
0.4
The point with height corresponding to the cumulative relative frequency is located at the right endpoint of each interval.
0.2
0.0 0 10 20 30 Sales 40 50 60
1-54
Scatter Plots
Scatter Plots are used to identify and report
any underlying relationships among pairs of data sets. The plot consists of a scatter of points, each point representing an observation.
1-55
Scatter Plots
Scatter plot with trend line. This type of relationship is known as a positive correlation. Correlation will be discussed in later chapters.