SlideShare a Scribd company logo
1 of 14
Download to read offline
1
Topic: Test of Hypothesis Using SPSS
Nabil Awan
Lecturer, ISRT, University of Dhaka
Day 3, Session III and IV
M. Amir Hossain
Professor, ISRT, University of Dhaka
2
Basics of Hypothesis Testing
Hypothesis Testing
Hypothesis testing is a decision making process for
evaluating claims about a population.
2
3
Basics of Hypothesis Testing
The researcher must
1) Define the population under study
2) State the hypothesis that is under investigation
3) Give the significance level
4) Select a sample from the population
5) Collect the data
6) Perform the statistical test
7) Reach a conclusion
4
Basics of Hypothesis Testing
How to set your hypotheses
1) Set the researcher’s hypothesis as alternative
hypothesis.
2) When you are testing if a parameter differs from a
certain value, set that particular value as the null
value.
3) If you are testing a difference between two
samples, set 0 as the null value.
3
5
Basics of Hypothesis Testing
Definition of P-value
The probability of observing more extreme
observations (or observing more extreme test
statistics).
• Decisions are taken based on P-values.
• P-value stands for probability value.
6
Basics of Hypothesis Testing
Two-tailed test
If the sample statistic falls
in this region, we would
not reject H0.
We would reject H0 if
the sample statistic
falls in these regions.
e.g.
H0: 1 = 2
H1: 1 2
4
7
Basics of Hypothesis Testing
One-tailed test
If the sample statistic falls
in this region, we would
not reject H0.
We would reject H0 if
the sample statistic
falls in these regions.
e.g.
H0: 1 = 2
H1: 1 > 2
8
Basics of Hypothesis Testing
One-tailed test
If the sample statistic falls
in this region, we would
not reject H0.
We would reject H0 if
the sample statistic
falls in these regions.
e.g.
H0: 1 = 2
H1: 1 < 2
5
9
Basics of Hypothesis Testing
You reject your null hypothesis when the p-value
is lower than α i.e. there is more chance of
observing more extreme observations than those
obtained from the sample.
• The area of the rejection region is α.
• α is called the level of significance.
10
One Sample t-test (Test of Population Mean)
Suppose that we want to answer the question: Can
you conclude that a certain population mean is not
50? The null hypothesis is
H0: = 50
and the alternative hypothesis is
H1: 50.
6
11
One Sample t-test (Test of Population Mean)
For example, using the hsb2.sav data file, say we
wish to test whether the average writing score
(write) differs significantly from 50. We can do this
as shown below.
t-test
/testval = 50
/variable = write.
12
One Sample t-test (Test of Population Mean)
Decision: We can reject the null hypothesis in
favor of the alternative hypothesis.
7
13
Two Sample t-test (Test of Two Population Means)
Suppose we want to show that the students in one
group have a different average score than those of
another. Then we might formulate the null
hypothesis that there is no difference, namely,
H0: 1 = 2.
The alternative hypothesis is
H1: 1 2.
14
Two Sample t-test (Test of Two Population Means)
For example, using the hsb2.sav data file, say we
wish to test whether the mean for write is the
same for males and females. We can do that as
follows:
t-test groups = female(0 1)
/variables = write.
8
15
Two Sample t-test (Test of Two Population Means)
Decision: We can reject the null hypothesis in
favor of the alternative hypothesis.
16
Two Sample Paired t-test
Reasons for pairing
It frequently happens that true differences do not exist between two
populations with respect to the variable of interest, but the presence
of extraneous sources of variation may cause rejection of the null
hypotheses of no difference or may mask true differences.
When used
Frequently employed for assessing the effectiveness of a
treatment or experimental procedure.
9
17
Two Sample Paired t-test
A paired (samples) t-test is used when you have
two related observations and you want to see if
the means on these two variables differ from one
another. For example, using the hsb2.sav data
file we will test whether the mean of read is equal
to the mean of write.
t-test pairs = read with write (paired).
18
Two Sample Paired t-test
Decision: These results indicate that the mean
of read is not statistically significantly different
from the mean of write (t = -0.867, p = 0.387).
10
19
Analysis of Variance (Test of k Population Means)
We test the null hypothesis that all population or
treatment means are equal against the alternative
that the members of at least one pair are not
equal. We may state the hypothesis formally as
follows:
H0: 1 = 2 = ….. = k
H1: Not all j are equal.
20
Analysis of Variance (Test of k Population Means)
Sources of
variation
Sum of squares Degrees of
freedom
Mean square Variance ratio
(F statistic)
Among samples SSA k-1 MSA = SSA/(k-1) V.R. = MSA/MSW
Within sample SSW N-k MSW = SSW/(N-k)
Total SST N-1
11
21
Analysis of Variance (Test of k Population Means)
For example, using the hsb2.sav data file, say we
wish to test whether the mean of write differs
between the three program types (prog). The
command for this test would be:
oneway write by prog.
22
Analysis of Variance (Test of k Population Means)
Decision: The mean of the dependent variable
write differs significantly among the levels of
program type.
12
23
Test of Association or Test Contingency Table
Suppose we want to test if a categorical variable is
associated with another categorical variable. We
first make a contingency table and perform Chi-
square test of association. We may state the
hypothesis formally as follows:
H0: No association
H1: There is association.
24
Test of Association or Test Contingency Table
Educated Uneducated Row Total
Male 80 20 100
Female 60 40 100
Column
Total
140 60 Total=200
Gender
Education
13
25
Test of Association or Test Contingency Table
Using the hsb2.sav data file, let's see if there is a
relationship between the type of school attended
(schtyp) and students' gender (female). Remember that
the chi-square test assumes that the expected value for
each cell is five or higher.
crosstabs
/tables = schtyp by female
/statistic = chisq.
26
Test of Association or Test Contingency Table
Decision: These results indicate that there is no statistically
significant relationship between the type of school attended
and gender.
14
Thank you for your
patience!
For further query: nawan@isrt.ac.bd
The End

More Related Content

What's hot

7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square testPenny Jiang
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovanaranbatn
 
Anova in easyest way
Anova in easyest wayAnova in easyest way
Anova in easyest wayBidyut Ghosh
 
ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationSharlaine Ruth
 
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...manumelwin
 
Unpaired t Test Family
Unpaired t Test FamilyUnpaired t Test Family
Unpaired t Test FamilyGaetan Lion
 
Anova and T-Test
Anova and T-TestAnova and T-Test
Anova and T-TestAD Sarwar
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVAParag Shah
 
Analysis of variance (anova)
Analysis of variance (anova)Analysis of variance (anova)
Analysis of variance (anova)Sadhana Singh
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminHazilahMohd
 
T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2Oj Acopiado
 
Parametric test 7
Parametric test 7Parametric test 7
Parametric test 7Sundar B N
 
B.8 diff between paired means
B.8  diff between paired meansB.8  diff between paired means
B.8 diff between paired meansUlster BOCES
 

What's hot (20)

7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square test
 
Research method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anovaResearch method ch08 statistical methods 2 anova
Research method ch08 statistical methods 2 anova
 
Anova in easyest way
Anova in easyest wayAnova in easyest way
Anova in easyest way
 
ANOVA 2-WAY Classification
ANOVA 2-WAY ClassificationANOVA 2-WAY Classification
ANOVA 2-WAY Classification
 
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
Ducan’s multiple range test - - Dr. Manu Melwin Joy - School of Management St...
 
Analysis of variance
Analysis of varianceAnalysis of variance
Analysis of variance
 
Comparing means
Comparing meansComparing means
Comparing means
 
Anova ppt
Anova pptAnova ppt
Anova ppt
 
Unpaired t Test Family
Unpaired t Test FamilyUnpaired t Test Family
Unpaired t Test Family
 
Anova and T-Test
Anova and T-TestAnova and T-Test
Anova and T-Test
 
Two Way ANOVA
Two Way ANOVATwo Way ANOVA
Two Way ANOVA
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Analysis of variance (anova)
Analysis of variance (anova)Analysis of variance (anova)
Analysis of variance (anova)
 
One way AVOVA
One way AVOVA  One way AVOVA
One way AVOVA
 
Anova by Hazilah Mohd Amin
Anova by Hazilah Mohd AminAnova by Hazilah Mohd Amin
Anova by Hazilah Mohd Amin
 
T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2T-Test for Correlated Groups by STR Grp. 2
T-Test for Correlated Groups by STR Grp. 2
 
Parametric test 7
Parametric test 7Parametric test 7
Parametric test 7
 
B.8 diff between paired means
B.8  diff between paired meansB.8  diff between paired means
B.8 diff between paired means
 
Parametric test
Parametric testParametric test
Parametric test
 

Similar to Day 3 SPSS

Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Dexlab Analytics
 
Statistical Significance Tests.pptx
Statistical Significance Tests.pptxStatistical Significance Tests.pptx
Statistical Significance Tests.pptxAldofChrist
 
Statistical Tools
Statistical ToolsStatistical Tools
Statistical ToolsZyrenMisaki
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.pptMUzair21
 
Day 11 t test for independent samples
Day 11 t test for independent samplesDay 11 t test for independent samples
Day 11 t test for independent samplesElih Sutisna Yanto
 
SPSS statistics - get help using SPSS
SPSS statistics - get help using SPSSSPSS statistics - get help using SPSS
SPSS statistics - get help using SPSScsula its training
 
Medical Statistics Part-II:Inferential statistics
Medical Statistics Part-II:Inferential  statisticsMedical Statistics Part-II:Inferential  statistics
Medical Statistics Part-II:Inferential statisticsRamachandra Barik
 
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...The Stockker
 
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
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3Satyajit Behera
 
Week 5 Lecture 14 The Chi Square TestQuite often, patterns of .docx
Week 5 Lecture 14 The Chi Square TestQuite often, patterns of .docxWeek 5 Lecture 14 The Chi Square TestQuite often, patterns of .docx
Week 5 Lecture 14 The Chi Square TestQuite often, patterns of .docxcockekeshia
 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxrjaisankar
 

Similar to Day 3 SPSS (20)

TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric) Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
Basic of Statistical Inference Part-V: Types of Hypothesis Test (Parametric)
 
Statistical Significance Tests.pptx
Statistical Significance Tests.pptxStatistical Significance Tests.pptx
Statistical Significance Tests.pptx
 
TEST of hypothesis
TEST of hypothesisTEST of hypothesis
TEST of hypothesis
 
Statistical Tools
Statistical ToolsStatistical Tools
Statistical Tools
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
12-5-03.ppt
12-5-03.ppt12-5-03.ppt
12-5-03.ppt
 
Qt notes by mj
Qt notes by mjQt notes by mj
Qt notes by mj
 
Parametric test
Parametric testParametric test
Parametric test
 
Thesigntest
ThesigntestThesigntest
Thesigntest
 
Day 11 t test for independent samples
Day 11 t test for independent samplesDay 11 t test for independent samples
Day 11 t test for independent samples
 
non para.doc
non para.docnon para.doc
non para.doc
 
SPSS statistics - get help using SPSS
SPSS statistics - get help using SPSSSPSS statistics - get help using SPSS
SPSS statistics - get help using SPSS
 
Medical Statistics Part-II:Inferential statistics
Medical Statistics Part-II:Inferential  statisticsMedical Statistics Part-II:Inferential  statistics
Medical Statistics Part-II:Inferential statistics
 
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
Research methodology - Estimation Theory & Hypothesis Testing, Techniques of ...
 
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
 
Research methodology module 3
Research methodology module 3Research methodology module 3
Research methodology module 3
 
Week 5 Lecture 14 The Chi Square TestQuite often, patterns of .docx
Week 5 Lecture 14 The Chi Square TestQuite often, patterns of .docxWeek 5 Lecture 14 The Chi Square TestQuite often, patterns of .docx
Week 5 Lecture 14 The Chi Square TestQuite often, patterns of .docx
 
Day-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptxDay-2_Presentation for SPSS parametric workshop.pptx
Day-2_Presentation for SPSS parametric workshop.pptx
 
Chapter12
Chapter12Chapter12
Chapter12
 

More from abir hossain

Shopping carts payment ethical issue_e-commerce
Shopping carts payment ethical issue_e-commerceShopping carts payment ethical issue_e-commerce
Shopping carts payment ethical issue_e-commerceabir hossain
 
Electronic commerce
Electronic commerceElectronic commerce
Electronic commerceabir hossain
 
E commerce online-advertising_email_marketing
E commerce online-advertising_email_marketingE commerce online-advertising_email_marketing
E commerce online-advertising_email_marketingabir hossain
 
Cmc exercise therapy for back pain
Cmc exercise therapy for back painCmc exercise therapy for back pain
Cmc exercise therapy for back painabir hossain
 
Cmc exercise therapy for back pain
Cmc exercise therapy for back painCmc exercise therapy for back pain
Cmc exercise therapy for back painabir hossain
 
Cmc exercise therapy for back pain
Cmc exercise therapy for back painCmc exercise therapy for back pain
Cmc exercise therapy for back painabir hossain
 
Social media marketing social media analytics
Social media marketing social media analyticsSocial media marketing social media analytics
Social media marketing social media analyticsabir hossain
 
Online advertising mobile marketing ppc_seo
Online advertising mobile marketing ppc_seoOnline advertising mobile marketing ppc_seo
Online advertising mobile marketing ppc_seoabir hossain
 
E marketing(mail chimp)
E marketing(mail chimp)E marketing(mail chimp)
E marketing(mail chimp)abir hossain
 
Ob handout social system_Organizational behavior
Ob handout social system_Organizational behavior Ob handout social system_Organizational behavior
Ob handout social system_Organizational behavior abir hossain
 
Organizational behavior
Organizational behavior Organizational behavior
Organizational behavior abir hossain
 
principle of management
principle of management principle of management
principle of management abir hossain
 
what is management
what is management what is management
what is management abir hossain
 
Line staff, responsiblity of hrm lecture_ 02 class
Line   staff, responsiblity of hrm lecture_ 02 classLine   staff, responsiblity of hrm lecture_ 02 class
Line staff, responsiblity of hrm lecture_ 02 classabir hossain
 
Hrm performance mgt appraisal
Hrm  performance mgt   appraisalHrm  performance mgt   appraisal
Hrm performance mgt appraisalabir hossain
 
Hr policy hrm lecture
Hr policy  hrm lectureHr policy  hrm lecture
Hr policy hrm lectureabir hossain
 

More from abir hossain (20)

Shopping carts payment ethical issue_e-commerce
Shopping carts payment ethical issue_e-commerceShopping carts payment ethical issue_e-commerce
Shopping carts payment ethical issue_e-commerce
 
Electronic commerce
Electronic commerceElectronic commerce
Electronic commerce
 
E commerce online-advertising_email_marketing
E commerce online-advertising_email_marketingE commerce online-advertising_email_marketing
E commerce online-advertising_email_marketing
 
Cmc exercise therapy for back pain
Cmc exercise therapy for back painCmc exercise therapy for back pain
Cmc exercise therapy for back pain
 
Cmc exercise therapy for back pain
Cmc exercise therapy for back painCmc exercise therapy for back pain
Cmc exercise therapy for back pain
 
Cmc exercise therapy for back pain
Cmc exercise therapy for back painCmc exercise therapy for back pain
Cmc exercise therapy for back pain
 
Social media marketing social media analytics
Social media marketing social media analyticsSocial media marketing social media analytics
Social media marketing social media analytics
 
Online advertising mobile marketing ppc_seo
Online advertising mobile marketing ppc_seoOnline advertising mobile marketing ppc_seo
Online advertising mobile marketing ppc_seo
 
E marketing(mail chimp)
E marketing(mail chimp)E marketing(mail chimp)
E marketing(mail chimp)
 
Ob handout social system_Organizational behavior
Ob handout social system_Organizational behavior Ob handout social system_Organizational behavior
Ob handout social system_Organizational behavior
 
Organizational behavior
Organizational behavior Organizational behavior
Organizational behavior
 
principle of management
principle of management principle of management
principle of management
 
Planning
PlanningPlanning
Planning
 
what is management
what is management what is management
what is management
 
Management
Management Management
Management
 
organization
organizationorganization
organization
 
PGDHRM syllabus
PGDHRM syllabusPGDHRM syllabus
PGDHRM syllabus
 
Line staff, responsiblity of hrm lecture_ 02 class
Line   staff, responsiblity of hrm lecture_ 02 classLine   staff, responsiblity of hrm lecture_ 02 class
Line staff, responsiblity of hrm lecture_ 02 class
 
Hrm performance mgt appraisal
Hrm  performance mgt   appraisalHrm  performance mgt   appraisal
Hrm performance mgt appraisal
 
Hr policy hrm lecture
Hr policy  hrm lectureHr policy  hrm lecture
Hr policy hrm lecture
 

Recently uploaded

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
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
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
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
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.arsicmarija21
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceSamikshaHamane
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 

Recently uploaded (20)

Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
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...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
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
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 
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🔝
 
AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.AmericanHighSchoolsprezentacijaoskolama.
AmericanHighSchoolsprezentacijaoskolama.
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Roles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in PharmacovigilanceRoles & Responsibilities in Pharmacovigilance
Roles & Responsibilities in Pharmacovigilance
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 

Day 3 SPSS

  • 1. 1 Topic: Test of Hypothesis Using SPSS Nabil Awan Lecturer, ISRT, University of Dhaka Day 3, Session III and IV M. Amir Hossain Professor, ISRT, University of Dhaka 2 Basics of Hypothesis Testing Hypothesis Testing Hypothesis testing is a decision making process for evaluating claims about a population.
  • 2. 2 3 Basics of Hypothesis Testing The researcher must 1) Define the population under study 2) State the hypothesis that is under investigation 3) Give the significance level 4) Select a sample from the population 5) Collect the data 6) Perform the statistical test 7) Reach a conclusion 4 Basics of Hypothesis Testing How to set your hypotheses 1) Set the researcher’s hypothesis as alternative hypothesis. 2) When you are testing if a parameter differs from a certain value, set that particular value as the null value. 3) If you are testing a difference between two samples, set 0 as the null value.
  • 3. 3 5 Basics of Hypothesis Testing Definition of P-value The probability of observing more extreme observations (or observing more extreme test statistics). • Decisions are taken based on P-values. • P-value stands for probability value. 6 Basics of Hypothesis Testing Two-tailed test If the sample statistic falls in this region, we would not reject H0. We would reject H0 if the sample statistic falls in these regions. e.g. H0: 1 = 2 H1: 1 2
  • 4. 4 7 Basics of Hypothesis Testing One-tailed test If the sample statistic falls in this region, we would not reject H0. We would reject H0 if the sample statistic falls in these regions. e.g. H0: 1 = 2 H1: 1 > 2 8 Basics of Hypothesis Testing One-tailed test If the sample statistic falls in this region, we would not reject H0. We would reject H0 if the sample statistic falls in these regions. e.g. H0: 1 = 2 H1: 1 < 2
  • 5. 5 9 Basics of Hypothesis Testing You reject your null hypothesis when the p-value is lower than α i.e. there is more chance of observing more extreme observations than those obtained from the sample. • The area of the rejection region is α. • α is called the level of significance. 10 One Sample t-test (Test of Population Mean) Suppose that we want to answer the question: Can you conclude that a certain population mean is not 50? The null hypothesis is H0: = 50 and the alternative hypothesis is H1: 50.
  • 6. 6 11 One Sample t-test (Test of Population Mean) For example, using the hsb2.sav data file, say we wish to test whether the average writing score (write) differs significantly from 50. We can do this as shown below. t-test /testval = 50 /variable = write. 12 One Sample t-test (Test of Population Mean) Decision: We can reject the null hypothesis in favor of the alternative hypothesis.
  • 7. 7 13 Two Sample t-test (Test of Two Population Means) Suppose we want to show that the students in one group have a different average score than those of another. Then we might formulate the null hypothesis that there is no difference, namely, H0: 1 = 2. The alternative hypothesis is H1: 1 2. 14 Two Sample t-test (Test of Two Population Means) For example, using the hsb2.sav data file, say we wish to test whether the mean for write is the same for males and females. We can do that as follows: t-test groups = female(0 1) /variables = write.
  • 8. 8 15 Two Sample t-test (Test of Two Population Means) Decision: We can reject the null hypothesis in favor of the alternative hypothesis. 16 Two Sample Paired t-test Reasons for pairing It frequently happens that true differences do not exist between two populations with respect to the variable of interest, but the presence of extraneous sources of variation may cause rejection of the null hypotheses of no difference or may mask true differences. When used Frequently employed for assessing the effectiveness of a treatment or experimental procedure.
  • 9. 9 17 Two Sample Paired t-test A paired (samples) t-test is used when you have two related observations and you want to see if the means on these two variables differ from one another. For example, using the hsb2.sav data file we will test whether the mean of read is equal to the mean of write. t-test pairs = read with write (paired). 18 Two Sample Paired t-test Decision: These results indicate that the mean of read is not statistically significantly different from the mean of write (t = -0.867, p = 0.387).
  • 10. 10 19 Analysis of Variance (Test of k Population Means) We test the null hypothesis that all population or treatment means are equal against the alternative that the members of at least one pair are not equal. We may state the hypothesis formally as follows: H0: 1 = 2 = ….. = k H1: Not all j are equal. 20 Analysis of Variance (Test of k Population Means) Sources of variation Sum of squares Degrees of freedom Mean square Variance ratio (F statistic) Among samples SSA k-1 MSA = SSA/(k-1) V.R. = MSA/MSW Within sample SSW N-k MSW = SSW/(N-k) Total SST N-1
  • 11. 11 21 Analysis of Variance (Test of k Population Means) For example, using the hsb2.sav data file, say we wish to test whether the mean of write differs between the three program types (prog). The command for this test would be: oneway write by prog. 22 Analysis of Variance (Test of k Population Means) Decision: The mean of the dependent variable write differs significantly among the levels of program type.
  • 12. 12 23 Test of Association or Test Contingency Table Suppose we want to test if a categorical variable is associated with another categorical variable. We first make a contingency table and perform Chi- square test of association. We may state the hypothesis formally as follows: H0: No association H1: There is association. 24 Test of Association or Test Contingency Table Educated Uneducated Row Total Male 80 20 100 Female 60 40 100 Column Total 140 60 Total=200 Gender Education
  • 13. 13 25 Test of Association or Test Contingency Table Using the hsb2.sav data file, let's see if there is a relationship between the type of school attended (schtyp) and students' gender (female). Remember that the chi-square test assumes that the expected value for each cell is five or higher. crosstabs /tables = schtyp by female /statistic = chisq. 26 Test of Association or Test Contingency Table Decision: These results indicate that there is no statistically significant relationship between the type of school attended and gender.
  • 14. 14 Thank you for your patience! For further query: nawan@isrt.ac.bd The End