SlideShare a Scribd company logo
1 of 4
Download to read offline
Introduction to Data Analytics
Lecture: Inferential Statistics –Confidence Intervals
NPTEL MOOC
By
Prof. Nandan Sudarsanam, DoMS, IIT-M and
Prof. B. Ravindran, CS&E, IIT-M
Introduction
• Statistical Inference is of two types: a) Hypothesis testing and
b)Estimation
• Estimation is point and interval (but we are mainly talking about interval)
• Difference in terms of the explicit hypothesis
• It is the same underlying math. when H0:𝜇0 = 4.8 ;
• Different ways of conceptualizing:
• If we were to repeatedly take identical samples (same size) and build similar
CI bounds for each sample then 95% of such CI bounds will cover the true
mean.
• We are 95% confident/certain that the true mean is within our confidence
Interval.
z=
𝑥−𝜇
(𝜎
𝑛
)
𝑥 ± 𝑧𝛼
𝜎
𝑛
Examples and formulas
Single Sample Tests What are you testing Example
z-test mean Phosphate in blood
t-test mean Phosphate in blood
Chi-Square test standard deviation Equal treatment
Proportion z-test proportion/likelihood Defective products
𝑡 =
𝑥−𝜇
(𝑠
𝑛
)
; df = n-1
z=
𝑥−𝜇
(𝜎
𝑛
)
χ2=(𝑛 − 1)
𝑠2
𝜎0
2; df = n-1
𝑧 =
𝑝 − 𝑝0
𝑝(1 − 𝑝)
𝑛
𝑥 ± 𝑧𝛼
𝜎
𝑛
𝑥 ± 𝑡𝛼,𝑛−1
𝜎
𝑛
𝑝 ± 𝑧𝛼
𝑝(1 − 𝑝)
𝑛
Examples and Formulas
Two Sample
Tests
What are you
testing Example
z-test mean Calcium and placebo
t-test mean Call centre
Paired t-test mean Before-after, Left-right
Proportion z-test
proportion/likeli
hood Defective products
F-test
Standard
deviation Manufacturing process
z=
(𝑥1−𝑥2)−𝑑0
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2
𝐹 =
𝑠1
2
𝑠2
2 ; df= 𝑛1−1; 𝑛2 − 1
(𝑥1 − 𝑥2) ± 𝑧𝛼
𝜎1
2
𝑛1
+
𝜎2
2
𝑛2

More Related Content

Similar to 11.pdf

Lecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptxLecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptx
shakirRahman10
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitative
Pandurangi Raghavendra
 
Statistics pres 3.31.2014
Statistics pres 3.31.2014Statistics pres 3.31.2014
Statistics pres 3.31.2014
tjcarter
 

Similar to 11.pdf (20)

3b. Introductory Statistics - Julia Saperia
3b. Introductory Statistics - Julia Saperia3b. Introductory Statistics - Julia Saperia
3b. Introductory Statistics - Julia Saperia
 
Chi-square IMP.ppt
Chi-square IMP.pptChi-square IMP.ppt
Chi-square IMP.ppt
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
Lecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptxLecture 6 Point and Interval Estimation.pptx
Lecture 6 Point and Interval Estimation.pptx
 
Hypothesis and its important parametric tests
Hypothesis and its important parametric testsHypothesis and its important parametric tests
Hypothesis and its important parametric tests
 
4 Inferential Statistics IV - April 7 2014.pdf
4 Inferential Statistics IV - April 7 2014.pdf4 Inferential Statistics IV - April 7 2014.pdf
4 Inferential Statistics IV - April 7 2014.pdf
 
A Beginner’s Guide to Factor Analysis: Focusing on Exploratory Factor Analysis
A Beginner’s Guide to Factor Analysis:  Focusing on Exploratory Factor Analysis A Beginner’s Guide to Factor Analysis:  Focusing on Exploratory Factor Analysis
A Beginner’s Guide to Factor Analysis: Focusing on Exploratory Factor Analysis
 
Testing of Hypothesis
Testing of Hypothesis Testing of Hypothesis
Testing of Hypothesis
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitative
 
Sample size determination
Sample size determinationSample size determination
Sample size determination
 
Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Review of Chapters 1-5.ppt
Review of Chapters 1-5.pptReview of Chapters 1-5.ppt
Review of Chapters 1-5.ppt
 
Stat topics
Stat topicsStat topics
Stat topics
 
83341 ch27 jacobsen
83341 ch27 jacobsen83341 ch27 jacobsen
83341 ch27 jacobsen
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
tests of significance
tests of significancetests of significance
tests of significance
 
Chapter09
Chapter09Chapter09
Chapter09
 
Bio-Statistics in Bio-Medical research
Bio-Statistics in Bio-Medical researchBio-Statistics in Bio-Medical research
Bio-Statistics in Bio-Medical research
 
Overview of statistics: Statistical testing (Part I)
Overview of statistics: Statistical testing (Part I)Overview of statistics: Statistical testing (Part I)
Overview of statistics: Statistical testing (Part I)
 
Statistics pres 3.31.2014
Statistics pres 3.31.2014Statistics pres 3.31.2014
Statistics pres 3.31.2014
 

More from ChrisMartin260004 (20)

q.pdf
q.pdfq.pdf
q.pdf
 
p.pdf
p.pdfp.pdf
p.pdf
 
o.pdf
o.pdfo.pdf
o.pdf
 
n.pdf
n.pdfn.pdf
n.pdf
 
m.pdf
m.pdfm.pdf
m.pdf
 
l.pdf
l.pdfl.pdf
l.pdf
 
k.pdf
k.pdfk.pdf
k.pdf
 
j.pdf
j.pdfj.pdf
j.pdf
 
i.pdf
i.pdfi.pdf
i.pdf
 
h.pdf
h.pdfh.pdf
h.pdf
 
g.pdf
g.pdfg.pdf
g.pdf
 
f.pdf
f.pdff.pdf
f.pdf
 
c.pdf
c.pdfc.pdf
c.pdf
 
a.pdf
a.pdfa.pdf
a.pdf
 
20.pdf
20.pdf20.pdf
20.pdf
 
19.pdf
19.pdf19.pdf
19.pdf
 
18.pdf
18.pdf18.pdf
18.pdf
 
17.pdf
17.pdf17.pdf
17.pdf
 
16.pdf
16.pdf16.pdf
16.pdf
 
15.pdf
15.pdf15.pdf
15.pdf
 

Recently uploaded

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
KarakKing
 

Recently uploaded (20)

ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

11.pdf

  • 1. Introduction to Data Analytics Lecture: Inferential Statistics –Confidence Intervals NPTEL MOOC By Prof. Nandan Sudarsanam, DoMS, IIT-M and Prof. B. Ravindran, CS&E, IIT-M
  • 2. Introduction • Statistical Inference is of two types: a) Hypothesis testing and b)Estimation • Estimation is point and interval (but we are mainly talking about interval) • Difference in terms of the explicit hypothesis • It is the same underlying math. when H0:𝜇0 = 4.8 ; • Different ways of conceptualizing: • If we were to repeatedly take identical samples (same size) and build similar CI bounds for each sample then 95% of such CI bounds will cover the true mean. • We are 95% confident/certain that the true mean is within our confidence Interval. z= 𝑥−𝜇 (𝜎 𝑛 ) 𝑥 ± 𝑧𝛼 𝜎 𝑛
  • 3. Examples and formulas Single Sample Tests What are you testing Example z-test mean Phosphate in blood t-test mean Phosphate in blood Chi-Square test standard deviation Equal treatment Proportion z-test proportion/likelihood Defective products 𝑡 = 𝑥−𝜇 (𝑠 𝑛 ) ; df = n-1 z= 𝑥−𝜇 (𝜎 𝑛 ) χ2=(𝑛 − 1) 𝑠2 𝜎0 2; df = n-1 𝑧 = 𝑝 − 𝑝0 𝑝(1 − 𝑝) 𝑛 𝑥 ± 𝑧𝛼 𝜎 𝑛 𝑥 ± 𝑡𝛼,𝑛−1 𝜎 𝑛 𝑝 ± 𝑧𝛼 𝑝(1 − 𝑝) 𝑛
  • 4. Examples and Formulas Two Sample Tests What are you testing Example z-test mean Calcium and placebo t-test mean Call centre Paired t-test mean Before-after, Left-right Proportion z-test proportion/likeli hood Defective products F-test Standard deviation Manufacturing process z= (𝑥1−𝑥2)−𝑑0 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2 𝐹 = 𝑠1 2 𝑠2 2 ; df= 𝑛1−1; 𝑛2 − 1 (𝑥1 − 𝑥2) ± 𝑧𝛼 𝜎1 2 𝑛1 + 𝜎2 2 𝑛2