Professional Documents
Culture Documents
Problem
Solution
Chief of Police Kathy Ackert has recently instituted a crack-
-down on drug dealers in her city. Since the crackdown began, Want 90% C.I. for µ based on
750 of the 12,368 drug dealers in the city have been caught. X = 250 K , n = 750 , S = 41 K
The mean dollar value of drugs found on these 750 dealers is So the C . I . is
$250,000. The standard deviation of the dollar value of drugs
41
for these 750 dealers is $41,000. Construct for Chief Ackert a 250 ± 1 . 645
90 percent confidence interval for the mean dollar value of 750
drugs possessed by the city’s drug dealers. Question: Is it o.k. to replace σ by S?
Link between
So the C.I . is confidence coefficient/level
250 ± 1.645
41
×
12368 − 750
accuracy (length of the C.I.)
σ
L = 2 zα
sample size
750 12367
= (247.62, 252.38) 2 n
σ
??? P[247.62 < µ < 252.38] = ??? 0.90
5
H = zα 6
2 n
µ
7
8/7/2017
p −π
≈ N (0,1) 9 10
p(1 − p ) / n
XYZ insurance
• Estimate Severity (mean problem)
• Estimate frequency (proportion problem)
Severity frequency
sample mean 52519.46 sample proportion 9.12%
sample SD 97264.19
Determine n in estimating π
Determine n in estimating µ
to a given accuracy and confidence
to a given accuracy and confidence
σ ERROR MARGIN
H = zα
2 n π (1 − π )
H = zα
π(1-π)
H=half length of CI = Error margin : is given by the accuracy requirement 2 n
Z-value comes from the confidence requirement
What to do about σ? H is given by the accuracy requirement
0 0.5 1
Either σ is known, (best case, even if not very plausible scenario) Z-value comes from the confidence requirement
Or, an estimate of σ is available from the past data What to do about π? π
Or, conduct a pilot study, to get an estimate of σ
Or, look for some (possible crude) estimate of σ which may be Use estimate from pilot study, if applicable
conservative, e.g. = Range / 4 14
Otherwise use 0.5 or any appropriate conservative estimate, instead.
Sample Size Selection for Analyzing Sample Size Requirement for Analyzing
Proportions of Out–of –Spec Products Customer Complaints About Poor Service
A computer company has a customer service centre that responds to customers’ questions
A manufacturing company has two plants that produce identical products. The and complaints. The centre employs two types of people: those who have had a recent
production supervisor wants to know how much the proportion of out-of-spec course in dealing with customers (but little actual experience) and those with a lot of
products differs across the two plants. He suspects that the proportion of out-of- experience dealing with customers (but no formal course). The company wants to estimate
spec products in each plant is in the range of 3% to 5%, and he wants a 99% the difference between these two types of employees in terms of the average number of
confidence interval to have approximate half –length 0.005 (or 0.5%). How many customer complaints regarding poor service in the last six months. The company plans to
items should he sample from each plant? obtain information on a randomly selected sample of each type of employee, using equal
samples sizes. How many employees should be in each sample to achieve a 95% confidence
interval with approximate half-length 2?
Based on past experience, the manager believes that some employees receive as few as 6
complaints over a six-month period, while some receive as many as 36 (during a six-month
period).
19 20
8/7/2017
S S
Want 90% C.I. for µ. = P[ X − tα < µ < X + tα ]
,( n −1) n , ( n −1) n
Need to assume the no. of errors made in a day has a Normal distribution 2 2
So, 100(1-α)% C.I. for µ is : S Standard
X ± tα × error
,( n −1) n
2
The required C.I. is 3.6 ± 1.796 ×0.42/√12=(3.383,3.817) errors per day pt. estimate
table-value
Student’s t-distribution
Chi-square (χ2)Distribution
Distribution of a continuous (skewed) random variable with range
Distribution of a cont. symmetric random variable with range (- ∞,∞).
(0,∞)
Similar appearance to Z except fat-tailed has a parameter, ν, known as degrees of freedom(d.f.)
has a parameter, ν, known as degrees of freedom(d.f.) mean = ν; variance = 2 ν
N (0,1) If X1, X2,…,Xn are SRSWR from N(0, 1), then
→ t with the d . f .of the denominator
χ2 X 12 + X 22 + ⋯ + X n2 → χ 2 with n d . f .
df
If X1, X2,…,Xn are SRSWR from N(µ, σ2), then If X1, X2,…,Xn are SRSWR from N(µ, σ2), then
n
(n − 1) S 2 ∑(X i − X )2
= i =1
→ χ 2 with( n − 1) d . f .
(X − µ) σ2 σ2
σ Ex.: check that S2 is unbiased for σ2 and find S.E. of S2.
n (X − µ) n
= → t with( n − 1)d . f .
S (n − 1) S 2 23 24
σ 2 (n − 1)