SlideShare a Scribd company logo
1 of 24
PAIREDT-TEST
Shakir Rahman
BScN, MScN, MSc Applied Psychology, PhD Nursing (Candidate)
University of Minnesota USA.
Principal & Assistant Professor
Ayub International College of Nursing & AHS Peshawar
Visiting Faculty
Swabi College of Nursing & Health Sciences Swabi
Nowshera College of Nursing & Health Sciences Nowshera
OBJECTIVE
S
By the end of this session the students should be
able to:
• Run the test of hypothesis for mean difference
using paired samples
• Construct a confidence interval for the
difference in population means usingpaired
samples.
T-test for onesample
s n
X 
t 

T-test for two dependent sample
(Paired sample)
POPULATION
Sample
Before
Intervention
Intervention
Sample
AfterIntervention
Observation of interest will be the difference in the readings
before and after intervention called paired difference observation
WHATISPAIREDT-TEST?
• A paired t-test is used to compare two means where you have two
samples in which observations in one sample can be paired with
observations in the other sample.
Examples of where this might occur are:
– Before-and-after observations on the same subjects (e.g. students’ test
results before and after a particular module or course).
– A comparison of two different methods of measurement or two different
treatments where the measurements/treatments are applied to the same
subjects (e.g. blood pressure measurements using a sphygmomanometer and
a dynamap).
– When there is a relationship between the groups, such as identical twins.
8
PAIRED DIFFERENCE SAMPLES “ T TEST” AN
EXPLANATION
• This test is concerned with the pair-wise differences
between sets of data.
• This means that each data point in one group has a
related data point in the other group (groups always
have equal numbers).
ASSUMPTIONS
• The sample or samples are randomly selected
• The sample data are dependent
• The distribution of differences is approximately normally
distributed.
10
Reading1
(Before
intervention/Ca
se)
Reading 2 (After
intervention/M
atched control)
Means of
Differences
(XD)
Difference
d= X1-X2
D2 OR
(X1-X2)2
X1 X2 X1+X2/2 D1=X1-X2
2
(X1- X2)
X1 X2 X1+X2/2 D2=X1-X2
2
(X1-X2)
X1 X2 X1+X2/2 D3=X1-X2 .
. . X1+X2/2 . .
. . . .
X1 X2 Di=X1-X2 .
. . . .
. . . .
X1 X2 Dn=X1-X2 .
∑X1 ∑X2 Xd ∑d
2
∑d
What is a Paired Difference Observation?
11
X D = Mean of Differences
SD = Standard deviation of Differences
n= number ofpairs
D0 = Difference between the population means
Where D0 is mostly zero
 S D 
 n 
t 
x D
T
E
S
TST
A
TISTICANDASSUMPTIONSFORP
AIREDDIFFERENCE
METHOD
- In this method, the test statistic becomes:
 D 0
FORMULAFORSTANDARD
DEVIATION
Sd =√ n∑d2 –(∑d)2
n (n-1)
Note: The under root is onto the entirenumerator
and denominator, so you should take the root
after solving it entirely
13
(1-)% CONFIDENCEINTERV
ALFORP
AIREDMEAN DIFFERENCE
(D)
where “t” has (n-1) degrees of freedom and “n” is
the total number of pairs.
Formula:
n
SD
D ,df
2
x  t
14
HYPOTHESIST
E
S
TFORPAIREDMEANDIFFERENCE(D)
• One-tailed Test:
– H0: µD ≤0 Ha: µD > 0 (Righttailed)
– Ho: μD ≥0 Ha: μD < 0 (Lefttailed)
• Two-tailed Test:
– H0: µD =0 Ha: μD 0
– Step Two: α =0.05
• Step 3 Test
statistic:
Sd = √ n∑d2 –(∑d)2
n (n-1)
where “t” has (n-1) degrees of freedom (df) and “n” is the total
number of
pairs.
• Step 4: CriticalRegion:
Reject Ho if:
t cal > t tab OR t cal < -
t tab
• Step 5: Conclusion

 n 
t  D
 s D 
x  D 0
EXAMPLE
BLOOD SAMPLES FROM 10 PATIENTS WERE SENT TO EACH OF
TWO LABS FOR CHOLESTEROL DETERMINATION.
MEASUREMENTS WERE AS FOLLOWS:
Participants Lab 1 Lab 2
1 296 318
2 268 287
3 244 260
4 272 279
5 240 245
6 244 249
7 282 294
8 254 271
9 244 262
10 262 285
QUE
STION
- Is there a statistically significant difference at α
= .05 in the cholesterol levels reported by lab1
and lab 2.
SOLUTION
Step1:
H0: µD = 0
Ha: µD ≠0
Step 2:
α= .05
d.f. = n-1, 10-1 =9
Critical value = +2.26
Step 3:
t = -14.4-0 = -6.73
6.77/√10
Sd = √10x 2486-(- 144)2
10x 9
= 6.77
-6.73 -2.26 2.26
SOLUTION
Step 4:
Reject Ho if: t cal > t tab OR if t cal < - t tab
Since in this case, t cal < -t tab = -6.73 < -2.26, so
we reject Ho
Step 5 (Conclusion):
Reject Ho at 5 % level of significance, and we have
sufficient evidence to conclude that results from
the both labs are differentthan each other.
CONFIDENCE INTERVAL
• 14.4+3.25 X6.77/√10
• INTERPRETATION: WE ARE9 9 % CONFIDENT THAT THE
MEAN DIFFERENCE WILL FALL BETWEEN LOWER AND UPPERL
IMITS
99%C.I
n
SD
D ,df
2
x  t
Acknowledgements
Dr Tazeen Saeed Ali
RM, RM, BScN, MSc ( Epidemiology & Biostatistics), Ph.D.
(Medical Sciences), Post Doctorate (Health Policy & Planning)
Associate Dean School of Nursing & Midwifery
The Aga Khan University Karachi.
Kiran Ramzan Ali Lalani
BScN, MSc Epidemiology & Biostatistics (Candidate)
Registered Nurse (NICU)
Aga Khan University Hospital
Lecture 11 Paired t test.pptx

More Related Content

What's hot

Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysisRabin BK
 
3.1 non parametric test
3.1 non parametric test3.1 non parametric test
3.1 non parametric testShital Patil
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statisticsAnchal Garg
 
Choosing appropriate statistical test RSS6 2104
Choosing appropriate statistical test RSS6 2104Choosing appropriate statistical test RSS6 2104
Choosing appropriate statistical test RSS6 2104RSS6
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaQasim Raza
 
Independent sample t test
Independent sample t testIndependent sample t test
Independent sample t testShajar Khan
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionAbdelaziz Tayoun
 
Lecture 6. univariate and bivariate analysis
Lecture 6. univariate and bivariate analysisLecture 6. univariate and bivariate analysis
Lecture 6. univariate and bivariate analysisDr Rajeev Kumar
 
Statistics for Medical students
Statistics for Medical studentsStatistics for Medical students
Statistics for Medical studentsANUSWARUM
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestAzmi Mohd Tamil
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewRizwan S A
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervalsTanay Tandon
 
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Parametric test  - t Test, ANOVA, ANCOVA, MANOVAParametric test  - t Test, ANOVA, ANCOVA, MANOVA
Parametric test - t Test, ANOVA, ANCOVA, MANOVAPrincy Francis M
 

What's hot (20)

Statistics-Regression analysis
Statistics-Regression analysisStatistics-Regression analysis
Statistics-Regression analysis
 
3.1 non parametric test
3.1 non parametric test3.1 non parametric test
3.1 non parametric test
 
non parametric statistics
non parametric statisticsnon parametric statistics
non parametric statistics
 
Choosing appropriate statistical test RSS6 2104
Choosing appropriate statistical test RSS6 2104Choosing appropriate statistical test RSS6 2104
Choosing appropriate statistical test RSS6 2104
 
T test, independant sample, paired sample and anova
T test, independant sample, paired sample and anovaT test, independant sample, paired sample and anova
T test, independant sample, paired sample and anova
 
Regression analysis
Regression analysisRegression analysis
Regression analysis
 
Independent sample t test
Independent sample t testIndependent sample t test
Independent sample t test
 
Degree of freedom
Degree of freedomDegree of freedom
Degree of freedom
 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
 
Lecture 6. univariate and bivariate analysis
Lecture 6. univariate and bivariate analysisLecture 6. univariate and bivariate analysis
Lecture 6. univariate and bivariate analysis
 
Statistics for Medical students
Statistics for Medical studentsStatistics for Medical students
Statistics for Medical students
 
Regression
RegressionRegression
Regression
 
Correlation
CorrelationCorrelation
Correlation
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Confidence intervals
Confidence intervalsConfidence intervals
Confidence intervals
 
T test
T testT test
T test
 
Les5e ppt 11
Les5e ppt 11Les5e ppt 11
Les5e ppt 11
 
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
Parametric test  - t Test, ANOVA, ANCOVA, MANOVAParametric test  - t Test, ANOVA, ANCOVA, MANOVA
Parametric test - t Test, ANOVA, ANCOVA, MANOVA
 

Similar to Lecture 11 Paired t test.pptx

Similar to Lecture 11 Paired t test.pptx (20)

Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdfDr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
Dr.Dinesh-BIOSTAT-Tests-of-significance-1-min.pdf
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Tugasan kumpulan anova
Tugasan kumpulan anovaTugasan kumpulan anova
Tugasan kumpulan anova
 
Lecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.pptLecture-6 (t-test and one way ANOVA.ppt
Lecture-6 (t-test and one way ANOVA.ppt
 
classmar16.ppt
classmar16.pptclassmar16.ppt
classmar16.ppt
 
classmar16.ppt
classmar16.pptclassmar16.ppt
classmar16.ppt
 
METHOD OF DISPERSION to upload.pptx
METHOD OF DISPERSION to upload.pptxMETHOD OF DISPERSION to upload.pptx
METHOD OF DISPERSION to upload.pptx
 
Statistical analysis.pptx
Statistical analysis.pptxStatistical analysis.pptx
Statistical analysis.pptx
 
t-test and one way ANOVA.ppt game.ppt
t-test and one way ANOVA.ppt game.pptt-test and one way ANOVA.ppt game.ppt
t-test and one way ANOVA.ppt game.ppt
 
Test of hypothesis (t)
Test of hypothesis (t)Test of hypothesis (t)
Test of hypothesis (t)
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
inferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdfinferentialstatistics-210411214248.pdf
inferentialstatistics-210411214248.pdf
 
T Test Presentation.pptx
T Test Presentation.pptxT Test Presentation.pptx
T Test Presentation.pptx
 
Statistical test
Statistical testStatistical test
Statistical test
 
The two sample t-test
The two sample t-testThe two sample t-test
The two sample t-test
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Statistics chm 235
Statistics chm 235Statistics chm 235
Statistics chm 235
 
Statistical analysis by iswar
Statistical analysis by iswarStatistical analysis by iswar
Statistical analysis by iswar
 

More from shakirRahman10

Unit 12. Limitations & Recomendations.pptx
Unit 12. Limitations & Recomendations.pptxUnit 12. Limitations & Recomendations.pptx
Unit 12. Limitations & Recomendations.pptxshakirRahman10
 
Unit 11. Interepreting the Research Findings.pptx
Unit 11. Interepreting the Research Findings.pptxUnit 11. Interepreting the Research Findings.pptx
Unit 11. Interepreting the Research Findings.pptxshakirRahman10
 
Unit 10. Data Collection & Analysis.pptx
Unit 10. Data Collection & Analysis.pptxUnit 10. Data Collection & Analysis.pptx
Unit 10. Data Collection & Analysis.pptxshakirRahman10
 
Unit 9c. Data Collection tools.pptx
Unit 9c. Data Collection tools.pptxUnit 9c. Data Collection tools.pptx
Unit 9c. Data Collection tools.pptxshakirRahman10
 
Unit 9b. Sample size estimation.ppt
Unit 9b. Sample size estimation.pptUnit 9b. Sample size estimation.ppt
Unit 9b. Sample size estimation.pptshakirRahman10
 
Unit 9a. Sampling Techniques.pptx
Unit 9a. Sampling Techniques.pptxUnit 9a. Sampling Techniques.pptx
Unit 9a. Sampling Techniques.pptxshakirRahman10
 
Unit 8. Ethical Considerations in Reseaerch.pptx
Unit 8. Ethical Considerations in Reseaerch.pptxUnit 8. Ethical Considerations in Reseaerch.pptx
Unit 8. Ethical Considerations in Reseaerch.pptxshakirRahman10
 
Unit 7. Theoritical & Conceptual Framework.pptx
Unit 7. Theoritical & Conceptual Framework.pptxUnit 7. Theoritical & Conceptual Framework.pptx
Unit 7. Theoritical & Conceptual Framework.pptxshakirRahman10
 
Unit 6. Literature Review & Synthesis.pptx
Unit 6. Literature Review & Synthesis.pptxUnit 6. Literature Review & Synthesis.pptx
Unit 6. Literature Review & Synthesis.pptxshakirRahman10
 
Unit 5. Research Question and Hypothesis.pptx
Unit 5. Research Question and Hypothesis.pptxUnit 5. Research Question and Hypothesis.pptx
Unit 5. Research Question and Hypothesis.pptxshakirRahman10
 
Unit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptx
Unit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptxUnit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptx
Unit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptxshakirRahman10
 
Unit 3. Outcome Reseaerch.pptx
Unit 3. Outcome Reseaerch.pptxUnit 3. Outcome Reseaerch.pptx
Unit 3. Outcome Reseaerch.pptxshakirRahman10
 
Unit 2. Introduction to Quantitative & Qualitative Reseaerch.pptx
Unit 2. Introduction to Quantitative & Qualitative Reseaerch.pptxUnit 2. Introduction to Quantitative & Qualitative Reseaerch.pptx
Unit 2. Introduction to Quantitative & Qualitative Reseaerch.pptxshakirRahman10
 
Unit I. Introduction to Nursing Research.pptx
Unit I. Introduction to Nursing Research.pptxUnit I. Introduction to Nursing Research.pptx
Unit I. Introduction to Nursing Research.pptxshakirRahman10
 
Lecture 14. ANOVA.pptx
Lecture 14. ANOVA.pptxLecture 14. ANOVA.pptx
Lecture 14. ANOVA.pptxshakirRahman10
 
Lecture 13 Regression & Correlation.ppt
Lecture 13 Regression & Correlation.pptLecture 13 Regression & Correlation.ppt
Lecture 13 Regression & Correlation.pptshakirRahman10
 
Lecture 12 Chi-Square.pptx
Lecture 12 Chi-Square.pptxLecture 12 Chi-Square.pptx
Lecture 12 Chi-Square.pptxshakirRahman10
 
Lecture 10 t –test for Two Independent Samples.pptx
Lecture 10 t –test for Two Independent Samples.pptxLecture 10 t –test for Two Independent Samples.pptx
Lecture 10 t –test for Two Independent Samples.pptxshakirRahman10
 
Lecture 9 t-test for one sample.pptx
Lecture 9 t-test for one sample.pptxLecture 9 t-test for one sample.pptx
Lecture 9 t-test for one sample.pptxshakirRahman10
 
Lecture 8 Type 1 and 2 errors.pptx
Lecture 8 Type 1 and 2 errors.pptxLecture 8 Type 1 and 2 errors.pptx
Lecture 8 Type 1 and 2 errors.pptxshakirRahman10
 

More from shakirRahman10 (20)

Unit 12. Limitations & Recomendations.pptx
Unit 12. Limitations & Recomendations.pptxUnit 12. Limitations & Recomendations.pptx
Unit 12. Limitations & Recomendations.pptx
 
Unit 11. Interepreting the Research Findings.pptx
Unit 11. Interepreting the Research Findings.pptxUnit 11. Interepreting the Research Findings.pptx
Unit 11. Interepreting the Research Findings.pptx
 
Unit 10. Data Collection & Analysis.pptx
Unit 10. Data Collection & Analysis.pptxUnit 10. Data Collection & Analysis.pptx
Unit 10. Data Collection & Analysis.pptx
 
Unit 9c. Data Collection tools.pptx
Unit 9c. Data Collection tools.pptxUnit 9c. Data Collection tools.pptx
Unit 9c. Data Collection tools.pptx
 
Unit 9b. Sample size estimation.ppt
Unit 9b. Sample size estimation.pptUnit 9b. Sample size estimation.ppt
Unit 9b. Sample size estimation.ppt
 
Unit 9a. Sampling Techniques.pptx
Unit 9a. Sampling Techniques.pptxUnit 9a. Sampling Techniques.pptx
Unit 9a. Sampling Techniques.pptx
 
Unit 8. Ethical Considerations in Reseaerch.pptx
Unit 8. Ethical Considerations in Reseaerch.pptxUnit 8. Ethical Considerations in Reseaerch.pptx
Unit 8. Ethical Considerations in Reseaerch.pptx
 
Unit 7. Theoritical & Conceptual Framework.pptx
Unit 7. Theoritical & Conceptual Framework.pptxUnit 7. Theoritical & Conceptual Framework.pptx
Unit 7. Theoritical & Conceptual Framework.pptx
 
Unit 6. Literature Review & Synthesis.pptx
Unit 6. Literature Review & Synthesis.pptxUnit 6. Literature Review & Synthesis.pptx
Unit 6. Literature Review & Synthesis.pptx
 
Unit 5. Research Question and Hypothesis.pptx
Unit 5. Research Question and Hypothesis.pptxUnit 5. Research Question and Hypothesis.pptx
Unit 5. Research Question and Hypothesis.pptx
 
Unit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptx
Unit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptxUnit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptx
Unit 4. Research Problem, Purpose, Objectives, Significance and Scope..pptx
 
Unit 3. Outcome Reseaerch.pptx
Unit 3. Outcome Reseaerch.pptxUnit 3. Outcome Reseaerch.pptx
Unit 3. Outcome Reseaerch.pptx
 
Unit 2. Introduction to Quantitative & Qualitative Reseaerch.pptx
Unit 2. Introduction to Quantitative & Qualitative Reseaerch.pptxUnit 2. Introduction to Quantitative & Qualitative Reseaerch.pptx
Unit 2. Introduction to Quantitative & Qualitative Reseaerch.pptx
 
Unit I. Introduction to Nursing Research.pptx
Unit I. Introduction to Nursing Research.pptxUnit I. Introduction to Nursing Research.pptx
Unit I. Introduction to Nursing Research.pptx
 
Lecture 14. ANOVA.pptx
Lecture 14. ANOVA.pptxLecture 14. ANOVA.pptx
Lecture 14. ANOVA.pptx
 
Lecture 13 Regression & Correlation.ppt
Lecture 13 Regression & Correlation.pptLecture 13 Regression & Correlation.ppt
Lecture 13 Regression & Correlation.ppt
 
Lecture 12 Chi-Square.pptx
Lecture 12 Chi-Square.pptxLecture 12 Chi-Square.pptx
Lecture 12 Chi-Square.pptx
 
Lecture 10 t –test for Two Independent Samples.pptx
Lecture 10 t –test for Two Independent Samples.pptxLecture 10 t –test for Two Independent Samples.pptx
Lecture 10 t –test for Two Independent Samples.pptx
 
Lecture 9 t-test for one sample.pptx
Lecture 9 t-test for one sample.pptxLecture 9 t-test for one sample.pptx
Lecture 9 t-test for one sample.pptx
 
Lecture 8 Type 1 and 2 errors.pptx
Lecture 8 Type 1 and 2 errors.pptxLecture 8 Type 1 and 2 errors.pptx
Lecture 8 Type 1 and 2 errors.pptx
 

Recently uploaded

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxUnboundStockton
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxabhijeetpadhi001
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxDr.Ibrahim Hassaan
 

Recently uploaded (20)

Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Blooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docxBlooming Together_ Growing a Community Garden Worksheet.docx
Blooming Together_ Growing a Community Garden Worksheet.docx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
MICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptxMICROBIOLOGY biochemical test detailed.pptx
MICROBIOLOGY biochemical test detailed.pptx
 
Gas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptxGas measurement O2,Co2,& ph) 04/2024.pptx
Gas measurement O2,Co2,& ph) 04/2024.pptx
 

Lecture 11 Paired t test.pptx

  • 1.
  • 2. PAIREDT-TEST Shakir Rahman BScN, MScN, MSc Applied Psychology, PhD Nursing (Candidate) University of Minnesota USA. Principal & Assistant Professor Ayub International College of Nursing & AHS Peshawar Visiting Faculty Swabi College of Nursing & Health Sciences Swabi Nowshera College of Nursing & Health Sciences Nowshera
  • 3. OBJECTIVE S By the end of this session the students should be able to: • Run the test of hypothesis for mean difference using paired samples • Construct a confidence interval for the difference in population means usingpaired samples.
  • 4. T-test for onesample s n X  t  
  • 5. T-test for two dependent sample (Paired sample)
  • 6. POPULATION Sample Before Intervention Intervention Sample AfterIntervention Observation of interest will be the difference in the readings before and after intervention called paired difference observation
  • 7. WHATISPAIREDT-TEST? • A paired t-test is used to compare two means where you have two samples in which observations in one sample can be paired with observations in the other sample. Examples of where this might occur are: – Before-and-after observations on the same subjects (e.g. students’ test results before and after a particular module or course). – A comparison of two different methods of measurement or two different treatments where the measurements/treatments are applied to the same subjects (e.g. blood pressure measurements using a sphygmomanometer and a dynamap). – When there is a relationship between the groups, such as identical twins.
  • 8. 8 PAIRED DIFFERENCE SAMPLES “ T TEST” AN EXPLANATION • This test is concerned with the pair-wise differences between sets of data. • This means that each data point in one group has a related data point in the other group (groups always have equal numbers).
  • 9. ASSUMPTIONS • The sample or samples are randomly selected • The sample data are dependent • The distribution of differences is approximately normally distributed.
  • 10. 10 Reading1 (Before intervention/Ca se) Reading 2 (After intervention/M atched control) Means of Differences (XD) Difference d= X1-X2 D2 OR (X1-X2)2 X1 X2 X1+X2/2 D1=X1-X2 2 (X1- X2) X1 X2 X1+X2/2 D2=X1-X2 2 (X1-X2) X1 X2 X1+X2/2 D3=X1-X2 . . . X1+X2/2 . . . . . . X1 X2 Di=X1-X2 . . . . . . . . . X1 X2 Dn=X1-X2 . ∑X1 ∑X2 Xd ∑d 2 ∑d What is a Paired Difference Observation?
  • 11. 11 X D = Mean of Differences SD = Standard deviation of Differences n= number ofpairs D0 = Difference between the population means Where D0 is mostly zero  S D   n  t  x D T E S TST A TISTICANDASSUMPTIONSFORP AIREDDIFFERENCE METHOD - In this method, the test statistic becomes:  D 0
  • 12. FORMULAFORSTANDARD DEVIATION Sd =√ n∑d2 –(∑d)2 n (n-1) Note: The under root is onto the entirenumerator and denominator, so you should take the root after solving it entirely
  • 13. 13 (1-)% CONFIDENCEINTERV ALFORP AIREDMEAN DIFFERENCE (D) where “t” has (n-1) degrees of freedom and “n” is the total number of pairs. Formula: n SD D ,df 2 x  t
  • 14. 14 HYPOTHESIST E S TFORPAIREDMEANDIFFERENCE(D) • One-tailed Test: – H0: µD ≤0 Ha: µD > 0 (Righttailed) – Ho: μD ≥0 Ha: μD < 0 (Lefttailed) • Two-tailed Test: – H0: µD =0 Ha: μD 0 – Step Two: α =0.05
  • 15. • Step 3 Test statistic: Sd = √ n∑d2 –(∑d)2 n (n-1) where “t” has (n-1) degrees of freedom (df) and “n” is the total number of pairs. • Step 4: CriticalRegion: Reject Ho if: t cal > t tab OR t cal < - t tab • Step 5: Conclusion   n  t  D  s D  x  D 0
  • 16. EXAMPLE BLOOD SAMPLES FROM 10 PATIENTS WERE SENT TO EACH OF TWO LABS FOR CHOLESTEROL DETERMINATION. MEASUREMENTS WERE AS FOLLOWS: Participants Lab 1 Lab 2 1 296 318 2 268 287 3 244 260 4 272 279 5 240 245 6 244 249 7 282 294 8 254 271 9 244 262 10 262 285
  • 17. QUE STION - Is there a statistically significant difference at α = .05 in the cholesterol levels reported by lab1 and lab 2.
  • 18.
  • 19. SOLUTION Step1: H0: µD = 0 Ha: µD ≠0 Step 2: α= .05 d.f. = n-1, 10-1 =9 Critical value = +2.26 Step 3: t = -14.4-0 = -6.73 6.77/√10 Sd = √10x 2486-(- 144)2 10x 9 = 6.77 -6.73 -2.26 2.26
  • 20. SOLUTION Step 4: Reject Ho if: t cal > t tab OR if t cal < - t tab Since in this case, t cal < -t tab = -6.73 < -2.26, so we reject Ho Step 5 (Conclusion): Reject Ho at 5 % level of significance, and we have sufficient evidence to conclude that results from the both labs are differentthan each other.
  • 21. CONFIDENCE INTERVAL • 14.4+3.25 X6.77/√10 • INTERPRETATION: WE ARE9 9 % CONFIDENT THAT THE MEAN DIFFERENCE WILL FALL BETWEEN LOWER AND UPPERL IMITS 99%C.I n SD D ,df 2 x  t
  • 22.
  • 23. Acknowledgements Dr Tazeen Saeed Ali RM, RM, BScN, MSc ( Epidemiology & Biostatistics), Ph.D. (Medical Sciences), Post Doctorate (Health Policy & Planning) Associate Dean School of Nursing & Midwifery The Aga Khan University Karachi. Kiran Ramzan Ali Lalani BScN, MSc Epidemiology & Biostatistics (Candidate) Registered Nurse (NICU) Aga Khan University Hospital