Download Calculating Binomial Probabilities

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
1
MATH399 Statistics
Week 4 Lab
Name: _Maricela Faroy_
Statistical Concepts:
 Probability
 Binomial Probability Distribution
Calculating Binomial Probabilities
 Open a new Excel worksheet.
1.
2.
3.
4.
5.
Open spreadsheet
In cell A1 type “success” as the label
Under that in column A, type 0 through 10 (these will be in rows 2 through 12)
In cell B1, type “one fourth”
In cell B2, type “=BINOM.DIST(A2,10,0.25,FALSE)” [NOTE: if you have
Excel 2007, then the formula is BINOMDIST without the period]
6. Then copy and paste this formula in cells B3 through B12
7. In cell C1, type “one half”
8. In cell C2, type “=BINOM.DIST(A2,10,0.5,FALSE)”
9. Copy and paste this formula in cells C3 through C12
10. In cell D1 type “three fourths”
11. In cell D2, type “=BINOM.DIST(A2,10,0.75,FALSE)”
12. Copy and paste this formula in cells D3 through D12
Plotting the Binomial Probabilities
1. Create plots for the three binomial distributions above. You can create the scatter
plots in Excel by selecting the data you want plotted, clicking on INSERT, CHARTS,
SCATTER, then selecting the first chart shown which is dots with no connecting
lines. Do this two more times and for graph 2 set Y equal to ‘one half’ and X to
‘success’, and for graph 3 set Y equal to ‘three fourths’ and X to ‘success’. Paste
those three scatter plots in the grey area below. (12 points)
Version 20160311
2
one fourth
0.3
0.25
0.2
0.15
0.1
0.05
0
0
2
4
6
8
10
12
8
10
12
one half`
0.3
0.25
0.2
0.15
0.1
0.05
0
0
2
4
6
Version 20160311
3
Three fourths
0.3
0.25
0.2
0.15
0.1
0.05
0
0
2
4
6
8
10
12
Calculating Descriptive Statistics
 You will use the same class survey results that were entered into the Excel worksheet
for the Week 2 iLab Assignment for question 2.
2. Calculate descriptive statistics for the variable (Coin) where each of the students
flipped a coin 10 times. Round your answers to three decimal places and type the
mean and the standard deviation in the grey area below. (4 points)
Mean: 4.371
Standard deviation:1.123
Short Answer Writing Assignment – Both the calculated binomial probabilities and the
descriptive statistics from the class database will be used to answer the following
questions. Round all numeric answers to three decimal places.
3. List the probability value for each possibility in the binomial experiment calculated at
the beginning of this lab, which was calculated with the probability of a success being
½. (Complete sentence not necessary; round your answers to three decimal places)
(10 points)
P(x=0)
P(x=1)
P(x=2)
0.001
0.010
0.044
P(x=6)
P(x=7)
P(x=8)
0.205
0.117
0.044
Version 20160311
4
P(x=3)
P(x=4)
P(x=5)
0.117
0.205
0.246
P(x=9)
P(x=10)
0.010
0.001
4. Give the probability for the following based on the calculations in question 3 above,
with the probability of a success being ½. (Complete sentence not necessary; round
your answers to three decimal places) (12 points)
P(x≥1)
P(x>1)
P(4<x ≤7)
0.999
0.989
0.568
P(x<0)
0
P(x≤4)
0.377
P(x<4 or x≥7) 0.172
5. Calculate (by hand) the mean and standard deviation for the binomial distribution
with the probability of a success being ½ and n = 10. Either show work or explain
how your answer was calculated. Use these formulas to do the hand calculations:
Mean = np, Standard Deviation = npq
(4 points)
Mean = np: 10x0.5=5
Standard Deviation =
npq : : sqrt(10x0.5x0.5) = 2.5
6. Using all four of the properties of a Binomial experiment (see page 201 in the
textbook) explain in a short paragraph of several complete sentences why the Coin
variable from the class survey represents a binomial distribution from a binomial
experiment. (4 points)
Each coin flip has only two outcomes, the probability of getting either side is constant,
and there is no dependence between flips
7. Compare the mean and standard deviation for the Coin variable (question 2) with
those of the mean and standard deviation for the binomial distribution that was
Version 20160311
5
calculated by hand in question 5. Explain how they are related in a short paragraph of
several complete sentences. (4 points)
Mean from question #2: 4.371
Standard deviation from question #2: 1.123
Mean from question #5: 5
Standard deviation from question #5: 2.5
Comparison and explanation: The values are close to each other since they are both draw
n from the same underlying distribution. The difference is due to sampling error.
Version 20160311