Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 -...

24
Inferential Statistics Dr. Wan Nor Arifin Unit of Biostatistics and Research Methodology, Universiti Sains Malaysia.

Transcript of Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 -...

Page 1: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Inferential Statistics

Dr. Wan Nor Arifin

Unit of Biostatistics and Research Methodology, Universiti Sains Malaysia.

Page 2: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 2

Outlines

● Estimation

● Hypothesis Testing

Page 3: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 3

Overview

● Statistics?

● Population vs sample?

● Inference?

Page 4: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4

Overview

● Statistics is a field of study dealing with (Daniel, 1995):

1. Collection, organization, summarization and analysis of data.

2. Making inference/conclusion about population data from sample data.

Page 5: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 5

Overview

● Population vs sample

Population

Sample

Page 6: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 6

Overview

● Inference:

PopulationSampleInferConclude

Statistics Parameter

Page 7: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 7

Overview

Estimation Hypothesis Testing

Inferential Statistics

Page 8: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 8

1. Estimation

Page 9: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 9

1. Estimation

● Usually for One Sample → One Population

● Estimate parameter by

Point Estimate● Mean● Percentage

Interval Estimates

Lower ConfidenceLimit

Upper ConfidenceLimit

Confidence Interval

Page 10: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 10

1. Estimation

95% Confidence Interval

120mmHg 125mmHg115mmHg

Mean SBP for Normal population

Interpretation: Based on a sample of 30 subjects, I am 95% sure that mean SBP of normal population is between 115mmHg to 125mmHg. The sample mean is 120mmHg.

Reporting: 120mmHg (95% CI: 115mmHg, 125mmHg)

Page 11: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 11

1. Estimation

95% Confidence Interval

38% 48%28%

Percentage of Obesity among University Students' population

Interpretation: Based on a sample of 100 subjects, I am 95% sure that percentage of obesity of university students' population is between 28% to 48%. The sample percentage is 38%.

Reporting: 38% (95% CI: 28%, 48%)

Page 12: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 12

1. Estimation

● Interval estimates values depend on Confidence level (90%, 95%, 99%), sample size and standard deviation → Precision.

● Calculation*? Given in SPSS output. It is important to know the interpretation.

Page 13: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 13

2. Hypothesis Testing

Page 14: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 14

2. Hypothesis Testing

● Usually for comparison of samples → comparison of populations.

Population ASample A

Sample BPopulation B

Infer

Page 15: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 15

2. Hypothesis Testing

● Stated in form of Statistical Hypothesis → Can be tested with statistical test.

Alternative Hypothesis:Population A is different from Population B

Null Hypothesis:Population A is similar to Population B

Page 16: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 16

2. Hypothesis Testing

● P-value – Probability that the difference is merely by chance → Calculated from statistical test.

● Set acceptable level so called “chance” → Significance level, α (0.05, 0.01, 0.001)

Alternative Hypothesis:P-value ≤ 0.05

Null Hypothesis:P-value > 0.05

Page 17: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 17

2. Hypothesis Testing

Alternative Hypothesis:Population A is different from

Population B

Null Hypothesis:Population A is similar to

Population B

Alternative Hypothesis:P-value ≤ 0.05

Null Hypothesis:P-value > 0.05

Statistical Test

Page 18: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 18

2. Hypothesis Testing

Alternative Hypothesis:Mean SBP of MS population is different from L population

Null Hypothesis:No difference in Mean SBP

between the populations

Alternative Hypothesis:P-value ≤ 0.05

Null Hypothesis:P-value > 0.05

Statistical Test

Comparing Mean SBP of Medical Students' population vs Lecturers' population

Independent t-test

Page 19: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 19

2. Hypothesis Testing

Alternative Hypothesis:Obesity % among MS

population is different from L population

Null Hypothesis:No difference in Obesity %

between the populations

Alternative Hypothesis:P-value ≤ 0.05

Null Hypothesis:P-value > 0.05

Statistical Test

Comparing Obesity % of Medical Students' population vs Lecturers' population

Chi-squared test

Page 20: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 20

Outcomes

✔ Understand basic concept of confidence interval.✔ Able to interpret confidence interval.✔ Understand basic concept of hypothesis testing.✔ Able to interpret P-value.✔ Understand concept of significance level.

Page 21: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 21

Reference

Daniel, W. W. (1995). Biostatistics: A foundation for analysis in the health sciences (6th ed.). USA: John Wiley & Sons.

Page 22: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 22

*1. Estimation

● Interval estimates (mean):

Lower confidence limit = Point Estimate − Reliability Coeffient ×SD

√n

Upper confidence limit = Point Estimate + Reliability Coeffient ×SD

√n

Standarddeviation

Number ofsubjects

Page 23: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 23

*1. Estimation

● Interval estimates (proportion):

Lower confidence limit = Point Estimate − Reliability Coeffient ×√p(1-p)n

p = proportion

Number ofsubjects

Upper confidence limit = Point Estimate + Reliability Coeffient ×√p(1-p)n

Page 24: Inferential Statistics - GitHub Pages Statistics - CFCS.pdf · Dr. Wan Nor Arifin GMT206 - Inferential Statistics 4 Overview Statistics is a field of study dealing with (Daniel, 1995):

Dr. Wan Nor Arifin GMT206 - Inferential Statistics 24

*1. Estimation

● Reliability Coefficient:

Confidence level Reliability coefficient

90% 1.65

95% 1.96

99% 2.56