






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!







Chapter 5 From Probability to Inference
Exploratory data analysis draws conclusions about the individuals for whom we actually have data. Statistical inference draws conclusions about the a population or a process on the basis of data.
Recall:
5.1 Sampling distributions for counts and proportions
The binomial distribution
The binomial distribution is one of the most widely used discrete probability distributions.
The binomial setting:
P (X = k) =
n k
pk(1 − p)n−k, k = 0, 1 , 2 , ..., n
where
n k
n! k!(n − k)!
np(1 − p)
Example 5.1 Refer to Exercise 5.1 (p.383).
Example 5.2 A man claims to have extrasensory perception (ESP). As a test, a fair coin is flipped 10 times, and he is asked to predict the outcome in advance. The man gets 7 out of 10 correct. What is the probability that he would have done at least this well if he had no ESP?
Solution:
Example 5.1 A study by a federal agency found that lie detector tests given to truthful persons have probability about 0. 2 of suggesting that the person is deceptive. A company gives lie detector to 12 job applicants each year. Suppose that all of the applicants are truthful.
(a) What is the probability that the polygraph says at least 1 is deceptive?
(b) What is the mean number among 12 truthful applicants who will be classified as deceptive? What is the standard deviation?
(b) How often does the airline manage to satisfy all customers, both those who make beef and those who make chicken their first choice?
Solution:
Sampling distribution of a count:
Let p be the population proportion of successes. When the population is much larger than the sample, the count of successes in an SRS of size n has approximately the B(n, p) distribution
Sample Proportions
Let p be the population proportion of successes. Choose an SRS of size n from a large population. Let X be the count of successes in the sample. The sample proportion ˆp is defined by
pˆ =
count of successes in sample size of sample
n
Mean and standard deviation of a sample proportion
p(1 − p) n
Remark:
Normal approximation for proportions
pˆ ≈ N (p,
p(1 − p) n
when np ≥ 10 and n(1 − p) ≥ 10
pˆ − p √ p(1−p) n
Example 5.3 Your mail-order company advertises that it ships 90% of its orders within three working days. You select an SRS of 100 of the 5000 orders received in the past week for an audit. The audit reveals that 86 of these orders were shipped on time.
(a) What is the sample proportion of orders shipped on time?
(b) If the company really ships 90% of its orders on time, what is the probability that the proportion in an SRS of 100 orders is ≤ .86?
(c) Based on the probability calculation in (b), can you refute the 90% claim?
Solution:
Example 5.4 A city is planning to build a hydroelectric power plant. A local newspaper found that 53% of the voters in this city favor the construction of this plant. Assume that this result holds true for the population of all voters in this city.
(a) What is the probability that more than 50% of the voters in a random sample of 200 voters will favor the construction of this plant?
5.2 The sampling distribution of a sample mean
One of the most common statistics
Refer to Example 5.13 (p.392) A basic principle of investment is that diversification reduces risk.
Parameters:
μ —– mean of population
σ —– standard deviation of population
Statistics:
X¯ —– sample mean calculated from sample data
s —– sample standard deviation calculated from sample data
Select an SRS of size n from a population. Suppose the data are
X 1 , X 2 , ..., Xn
The sample mean of an SRS of size n is defined by
n
(X 1 + X 2 + · · · + Xn)
The sample standard deviation is defined by
s =
n − 1
((X 1 − X¯)^2 + (X 2 − X¯)^2 + · · · + (Xn − X¯)^2 )
Mean and standard deviation of a sample mean:
Suppose that X¯ is the sample mean of an SRS of size n drawn from a large population with mean μ and standard deviation σ. Then
σ √ n
σ (^) X¯ =
σ √ n
Example 5.6 For 1987 as a whole, the mean return of all common stocks on the NYSE was μ = − 3 .5%. The standard deviation of the returns was σ = 26%. Figure 5.7 (b) (p.392) is the sampling distribution of the mean returns X¯ for all possible samples of 5 stocks. What are the mean and the standard deviation of the distribution in Fig. 5.7(b)?
Solution:
Example 5.7 An automatic grinding machine in an auto parts plant prepares axles with a target diameter μ = 40. 125 mm. The machine has some variability, so the standard deviation of the diameter is σ =. 002 mm. The machine operator inspects a sample of 4 axles each hour for quality control purposes and records the sample mean diameter. What will be the mean and standard deviation of the numbers recorded?
Solution:
Sampling distribution of a sample mean:
Example 5.9 Suppose that the distribution of annual returns on common stocks has mean 9% and standard deviation 28%. Andrew plans to retire in 45 years and is considering investing in stocks. What is the probability that the mean annual return on common stocks over the next 45 years will exceed 15%? less than 5%?
Solution:
Example 5.10 A life insurance company sells a term insurance policy to a 21-year old male that pays $100,000 if the insured dies within the next 5 years. Suppose that the distribution of profit for each policy has mean $100 and standard deviation $9,000.
(a) If the insurance company sells 25 such policies, what is the probability that the average incomes on the 25 policies is less than −$1000?
(b) If the insurance company sells 4,000,000 such policies, what is the probability that the average profit on the 4,000,000 policies is
(i) less than $ (ii) more than $ (iii) $90 to $
Solution:
Example 5.11 The number of traffic accidents per week at an intersection varies with mean 2.2 and standard deviation 1.4.
(a) Let X¯ be the mean number of accidents per week at the intersection during a year ( weeks). What is the approximate distribution of X¯?
(b) What is the approximate probability that X¯ is less than 2?
(C) What is the approximate probability that there are fewer than 100 accidents at the inter- section in a year?
Solution:
Law of Large numbers:
X¯ → μ
σ √ n
X¯ ∼ N (μ, √σ n