1
Confidence Interval &ProbabilityDr Zahid KhanSENIOR LECTURER KING FAISAL UNIVERSITY
2Objectives
Identify the different types of tests of significance and the indications of which with relevance to the type of variables and descriptive statistics provided
Acquiring the basic knowledge of biostatistics necessary for them to understand and comprehend medical literature and evidence-based medicine, follow up with the expanding medical knowledge and participate in research.
Identify the role of biostatistics in medical research
3
Confidence Intervals How much uncertainty is associated
with a point estimate of a population parameter?
An interval estimate provides more information about a population characteristic than does a point estimate
Such interval estimates are called confidence intervals
4Point and Interval Estimates
A point estimate is a single number, a confidence interval provides additional
information about variability
Point Estimate
Lower
Confidence
Limit
Upper
Confidence
Limit
Width of confidence interval
5
Point Estimates
We can estimate a Population Parameter …
with a SampleStatistic
(a Point Estimate)
Mean
Proportion pp
xμ
6Confidence Interval Estimate
An interval gives a range of values: Takes into consideration variation in
sample statistics from sample to sample
Based on observation from 1 sample Gives information about closeness to
unknown population parameters Stated in terms of level of confidence
Never 100% sure
7
Estimation Process
(mean, μ, is unknown)
Population
Random Sample
Mean x = 50
Sample
I am 95% confident that μ is between 40 & 60.
8Confidence interval endpoints Upper and lower confidence limits for the
population proportion are calculated with the formula
where z is the standard normal value for the level of confidence
desired
p is the sample proportion
n is the sample size
n
)p(pzp /2
1
9
Example A random sample of 100 people shows that 25 are left-handed.
Form a 95% confidence interval for the true proportion of left-handers
10
Example A random sample of 100 people shows that 25 are left-
handed. Form a 95% confidence interval for the true proportion of left-handers.
1.
2.
3.
.0433 .25(.75)/n)/np(1pS
.2525/100 p
p
0.3349 . . . . . 0.1651
(.0433) 1.96 .25
11
Interpretation We are 95% confident that the true percentage of left-
handers in the population is between
16.51% and 33.49%.
Although this range may or may not contain the true proportion, 95% of intervals formed from samples of size 100 in this manner will contain the true proportion.
12
Changing the sample size Increases in the sample size reduce the width of the confidence
interval.
Example: If the sample size in the above example is doubled to
200, and if 50 are left-handed in the sample, then the interval is still centered at .25, but the width shrinks to
.19 …… .31
1395% CI for Mean
μ+ 1.96 * SE SE= SD²/n SE difference = SD²/n1 + SD²/n2
14CI for Odds Ratio
CASES
Appendicitis Surgical ( Not appendicitis)
Females 73(a) 363(b)
Males 47(c ) 277(d)
Total 120 640
OR = ad/bc
95% CI OR = log OR + 1.96 * SE (Log OR)
15CI for OR
SE ( loge OR) = 1/a + 1/b + 1/c + 1/d
= 1/73 + 1/363 + 1/47 + 1/277 = 0.203 Loge of the Odds Ratio is 0.170.
95% CI = 0.170 – 1.96 * 0.203 to 0.170 * 1.96 * 0.203
Loge OR = -0.228 to 0.578
Now by taking antilog ex we get 0.80 to 1.77 for 0.228 and 0.578 respectively.
16CI for Relative Risk
Dead Alive Total
Placebo 21 110 131
Isoniazid 11 121 132
17CI for Relative Risk
SE ( LogRR) = 1/a – 1/a+b + 1/c – 1/c+d
SE (LogRR) = 1/21-1/131 + 1/11 – 1/132 = 0.351 RR = a/ a+b / c/ c+d = 0.52
LogRR = Log 0.52 = - 0.654
95% CI = -0.654 -1.96 * 0.351 , -0.654 +1.96 * 0.351 = -1.42, 0.040 so by taking anti log we have 95% CI = 0.242, 1.04
18Difference between reference range and Confidence Interval
Reference range refers to individuals in a sample or population while CI refers to estimates rather than the individuals in a sample or population.
This is exactly like SD & SE relationship.
19
Value of CI,s 68% CI – 1.68 1 SD
95% CI – 1.96 2 SD
99% CI – 2.58 3 SD
About 68.27% of the values lie within one standard deviation of the mean.
Similarly, about 95.45% of the values lie within two standard deviations of the mean.
Nearly all (99.73%) of the values lie within three standard deviations of the mean.
20CI & SD Graphical Description
Dark blue is less than one standard deviation from the mean. For the normal distribution, this accounts for 68.27% of the set; while two standard deviations from the mean (medium and dark blue) account for 95.45%; and three standard deviations (light, medium, and dark blue) account for 99.73%.
21
Any Questions !!!!!
Thank You