Comm 215.MidtermReview
Comm 215.MidtermReview
Comm 215.MidtermReview
Statistics
Midterm Review
• Bar chart: the bars not touch and it is used for qualitative values. (eye
color)
Stem and Leaf graph (example on slide 29)
1) Place all numbers in order
2) Choose a stem unit, if one is not given
3) Find the leaf unit, leaf unit = stem unit divided by 10
- The leaf unit is equal to stem unit x10
4) Remember a leaf unit can only be one integer
5) Build the graph
Other types of Charts
• Pareto chart
• A histogram or bar chart with a line showing cumulative frequency drawn
over it
• Pie Chart
• A circle with a slice colored for each classes or type of value with the size of
the slice depending on the frequency of the class or value
• Dot Plot
1) Draw a straight line
2) Write all the possible values in order on that line
3) Place 1 dot above each value of every time it appears in the sample
Describing Central Tendency
• Mean, median, mode
• All three are used to determine the distribution of a population or
sample
• Mean(µ for a population, Xbar for a sample)
• Mean is the average 𝜇=
𝑥
𝑥ҧ =
𝑥
𝑁 𝑛
• Median
• Median is the middle number or 50th percentile
• Mode
• Mode is the most frequent number
Types of distributions
• Normal/Bell Shaped/Symmetric
• when the mean, median and mode are all equal
• Most common type for this class Mean
Median
Mode
The words left and right indicate where the tail is. (tail is the skinny part)
Other less common types of Distribution
• Binomial
• Uniform
Standard deviation and variance
• Standard deviation is the average of all distances from the mean and
the individual values of a population or sample
StD of a population StD of a sample
σ𝑛
𝑖=0(𝑥−𝑋(𝑝𝑎𝑟))
2
σ𝑛𝑖=0(𝑥 − 𝜇)2 S=
𝜎= 𝑛−1
𝑁
.5
1
1
2.5
• Variance is the same formula as standard deviation but without the square root
Coefficient of Variation
• Coefficient of variation indicates how much a population varies in
percentage, which allows us to compare one population to another
𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑑𝑒𝑣𝑖𝑎𝑡𝑖𝑜𝑛
• Coefficient of variation = 𝑥100
𝑚𝑒𝑎𝑛
• A lower coefficient of variation means that most of the values are
closer to the mean, which is normally considered better
68.26%
95.44%
99.73%
Chebyshev’s rule (for very skewed or non-normal distribution)
• The formula, Percentage= 100*(1-(1/K^2))
• K is the number of standard deviations
Two Options
1) Standard Deviation = Given
Probability = Not Given
8 (8-27.0833)^2 364.1723
𝑥
• Mean 𝑥ҧ = 10 (10-27.0833)^2 291.8391
𝑛
15 (15-27.0833)^2 146.0061
• 8,10,15,22,24,25,30,35,35,38,40,43
8+10+15+22+24+25+30+35+35+38+40+43 22 (22-27.0833)^2 25.8399
• 24 (24-27.0833)^2 9.5067
12
• Mean = 27.0833 25 (25-27.0833)^2 4.3401
30 (30-27.0833)^2 8.5071
σ𝑛
𝑖=0(𝑥−𝑋(𝑝𝑎𝑟))
2
• Standard Deviation S = 35 (35-27.0833)^2 62.6741
𝑛−1
35 (35-27.0833)^2 62.6741
1514.2494 38 (38-27.0833)^2 119.1743
• = 11.7328
12−1 40 (40-27.0833)^2 166.8411
43 (43-27.0833)^2 253.3413
Sum= 1514.2494
D) Determine the 40th percentile of the data set.
• 8,10,15,22,24,25,30,35,35,38,40,43
𝑝𝑒𝑟𝑐𝑒𝑛𝑡𝑖𝑙𝑒
• 𝑖= 𝑛
100
40
• I = ( )12, = 4.8
100
• 4.8 is has a decimal, around up and take the 5th number in the order
• The 40th percentile is equal to 24
Probability
Probability
• Probability: the chance or percentage of an outcome occurring
𝑎𝑙𝑙 𝑑𝑒𝑠𝑖𝑟𝑒𝑑 𝑜𝑢𝑡𝑐𝑜𝑚𝑒𝑠
• Probability of any event =P(A)=
𝑎𝑙𝑙 𝑝𝑜𝑠𝑠𝑖𝑏𝑙𝑒 𝑜𝑢𝑡𝑐𝑜𝑚𝑒𝑠
𝑑𝑒𝑠𝑖𝑟𝑒𝑑 𝑜𝑢𝑡𝑐𝑜𝑚𝑒 𝐻 1
• Probability of flipping head = = .50
𝑝𝑜𝑠𝑠𝑖𝑏𝑙𝑒 𝑜𝑢𝑡𝑐𝑜𝑚𝑒𝑠 𝐻+𝑇 2
Std=35.1568
Binomial
4 Rules for Binomials
1. Experiment consists of n identical trials
4. Trials are independent (the probability of one event does not effect the
probability of another)
Binomial Formula
𝑛!
• P= ∗ 𝑝 𝑥 ∗ (1 − 𝑝)𝑛−𝑥
𝑥! 𝑛−𝑥 !
• The first part is the combination formula
𝑛!
•
𝑥! 𝑛−𝑥 !
• N is the number of trials
• X is the number of desired outcomes
• 𝑃 𝑥 , the probability of success to the power of the X
• X being the number of desired outcomes
• (𝟏 − 𝐩)𝐧−𝐱 𝐨𝐫 𝐪𝐧−𝐱
• The probability of the event not happening to the power of n-x
• N-x, being the number of trials minus the number of desired outcomes
Binomial Theoretical example
What are the chances of rolling a dice 3 times and rolling a 4 two times.
• Long way:
• P(1,4,4)+P(2,4,4)+P(3,4,4)+P(5,4,4)+P(6,4,4)+P(4,1,4)+P(4,2,4)+P(4,3,4)+P(4,5,4)+P(4,6,4)+P(4,4,1)+P(4,4
,2)+P(4,4,3)+P(4,4,5)+P(4,4,6)= .06944 or 6.9444%
𝑛!
• Short way: P= ∗ 𝑝𝑥 ∗ (1 − 𝑝)𝑛−𝑥
𝑥! 𝑛−𝑥 !
3! 12 1
• P= 2! ∗ ∗ (1 − 6)3−2 = .06944 or 6.9444%
3−2 ! 6
Mean, Variance, Standard Deviation for
Binominals
• Mean
• 𝜇𝑥 = 𝑛𝑝
• Variance
• 𝜎𝑥2 = 𝑛𝑝𝑞
• Standard Deviation
• 𝜎𝑥 = 𝑛𝑝𝑞
Regular Price • 90% in first class pay regular • 70% in second class pay • 80% in third class pay regular • Total riders paying regular
(given) regular (given) (given) price .18+.21+.40= .79
• 20% of all riders are in first • 30% of all riders are in second • If 20% are in first class and
class (given) class (given) 30% are in second 1-
• Number of people in first class • Number of people in second .2 -.3 = .5, 50% are in third
that pay full price .90 x .20 = class that pay full price .70 x class
.18 .30 = .21 • Number of people in third
• First class regular price, $4 • Second class regular price, $2 class that pay full price .50 x
(given) (given) .80 = .40
• Third class regular price, $0.50
(given)
Reduced Price • People in first class who pay • People in second class who • People in third class who pay • Total riders paying reduced
reduced 1-.9 = .1 par reduced 1 - .7 = .3 reduced 1 - .8 = .2 price .02+.09+.10=.21
• 20% of all riders are in first • 30% of all riders are in second • 50% of all riders are in third
class (given) class (given) class ( calculated above)
• Number of people in first class • Number of people in second • Number of people in third
that pay reduced .1 x .2= class that pay reduced .3 x class that pay reduced .2 x
.02 .3 = 0.09 .5 = .10
• First class reduced price, $2 • Second class reduced price, $1 • Third class reduced price,
(given) (given) $0.25 (given)
Total • 18% in first class regular • 21% in second class regular • 40% in third class regular • Total in 1st, 2nd, and 3rd class
• 2% in first class reduced • 9% in second class reduced • 10% in third class reduced .20+.30+.50= 1
A) What proportion of riders pay regular fare?
• Look at chart
• 18% of all riders are in first class and pay regular
• 21% of all riders are in second class and pay regular
• 40% of all riders are in third class and pay regular
• .18 + .21 .40 = .79
.5 .5
Mean
Median
Mode
Z Score
• A measure of the how many standard deviations away 𝑥−𝜇
𝑧=
your x is from the µ. 𝜎
• After finding a z score, looking in up on the table and it
tells the probability of any number in the distribution
being below your x value.
• Always look at area to the left
•A
𝑥−𝜇 140.5−140
1. Z= = = 2.5
𝜎 .2
𝑥−𝜇 140.2−140
Z= 𝜎 = =1
.2
Z= 1, find 1 on the Z score table
84.13%
Probability of rod being shorter than
140.2mm is 84.13%.
140mm 140.2mm
𝑥−𝜇 139.8−140
Z= 𝜎 = .2
= −1
Z= -1, find -1 on the Z score table
15.87 Probability of rod being shorter than
139.8mm 140mm 139.8mm is 15.87%.
𝑥−𝜇 140.2−140
Z= 𝜎 = =1
.2
Z= 1, find 1 on the Z score table
Probability of rod being shorter than 140.2mm is
15.87 84.13%.Therefore, the probability of the rod being
140mm 140.2mm longer than 140.2mm equals 1-.8413 = 15.87%
Since we are looking for the probability
of the rod being shorter than 139.8mm
or longer than 140.2mm , we can
simply add the two probabilities found
15.87 15.87
above. 15.87 + 15.87 = 31.74%
139.8mm 140mm 140.2mm
Z score Option 4 (special case)
• Normally in any Z-score problem, the x, µ, and 𝜎 are given.
• However in some cases, the 𝜎, µ, and a percentage is given and the
question asks to find the X.
• In order to solve
• 1- Find the given percentage on the inside of the Z score table and the
matching z score value.
• Remember the percentage represents the probability to the left of X and not the actual z
score
• 2- Plug in your z score, 𝜎, and µ into the z score formula and solve for X.
Option 4 Example
A population has a mean of 3 and a standard deviation of .5. Find the 60th percentile.
1) Understand that the 60th percentile means what value(x) is greater than 60% of the value when
dealing with continuous distributions.
2) Find 60% on the z-score table. 60% equals a z-score between 0.25 and 0.26.
.25+.26
3) Take the average of both z scores = =.255
2
𝑥−𝜇 𝑥−3
4) Plug all the values in the z score formula, z = =.255=
𝜎 .5
5) Isolate X,
𝑥−3
• .255 = .5
• X-3=.1275
• X=3.1275
6) Final statement; 60% of the values in the distribution are less than or equal to 3.1275.
Final tips
• Always start by putting the numbers of sample in order
• If you forget the empirical rule, look them up on the Z table
𝑠𝑡𝑎𝑛𝑑𝑎𝑟𝑑 𝑑𝑒𝑣𝑖𝑎𝑡𝑖𝑜𝑛
• Coefficient of variation is not on your formulae sheet, 𝑥100
𝑚𝑒𝑎𝑛
• If the goal for this class is an A or A+, try to do the midterm review package 3 times
• Keep in mind that exam is fairly long for time given and time will be a factor