SlideShare a Scribd company logo
TEST FOR PROPORTION(S)
USING SPSS
TEST FOR PROPORTION(S)
There are mainly two tests for proportion
• Test for single proportion
• Test for significant difference between proportion of two samples
SPSS does not have Z test to test the proportion(s).
But Chi-Square test can be used to the test the proportion in SPSS.
Chi- Square Statistic
If X~𝑁(𝜇, 𝜎2) then 𝑍 =
𝑋−𝜇
𝜎
~𝑁(0,1) and
𝑍2
=
𝑋−𝜇
𝜎
2
~𝜒2
with 1 d.f. and
𝑋−𝜇
𝜎
2
~𝜒2
with n d.f.
Test of Single
Proportion
Step 1: Null hypothesis H0: 𝑃 = 𝑃0
Step 2: Alternative hypothesis H1: 𝑃 ≠ 𝑃0 or 𝑃 > 𝑃0 or 𝑃 < 𝑃0
Step 3: Test statistics
𝑧 =
𝑝 −𝑃0
𝑃0 ∗𝑄0
𝑛
Denominator is the Standard Error of sample proportion i.e. S.E.(𝑝)
Step 4: Table value of z at 𝛼 % level of significance
Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Test of Single
Proportion
Step 1: Null hypothesis H0: 𝑃 = 𝑃0
Step 2: Alternative hypothesis H1: 𝑃 ≠ 𝑃0 or 𝑃 > 𝑃0 or 𝑃 < 𝑃0
Step 3: Check Assumptions
Step 4: Test statistic – Chi-square and p value
Step 5: Conclusion
• If p ≤ Level of significance (∝), We Reject Null hypothesis
• If p > Level of significance (∝), We fail to Reject Null hypothesis
Case Study
The CEO of a large water pump manufacturing company claims that more than 80 percent of
his customers are satisfied with the water pump. To test this claim, the local newspaper
surveyed 100 customers, using simple random sampling. Among the sampled customers, 73
percent say they are very satisfied. Based on these findings, what can we say about the
manufacturer’s claim ? Use a 0.05 level of significance.
Null & Alternative
Hypothesis
Step 1: H0: P = 0.80
[Not more than 80% of the customers are satisfied ]
Step 2: H1: P > 0.80
[More than 80% of the customers are satisfied ]
(One-tailed test)
Data in SPSS
The local newspaper
surveyed 100 customers,
using simple random
sampling. Among the
sampled customers, 73
percent say they are very
satisfied
Assigning weights
Chi-Square test
Chi-Square test
Output
The Chi-square value is 3.063 and
p value = (0.080)/ 2 = 0.04
As p < 0.05, We reject the Null hypothesis.
∴ More than 80% of the customers are
satisfied
𝑧 =
𝑝 −𝑃
𝑃∗𝑄
𝑛
=
0.73 −0.80
0.80∗0.20
100
= 1.75
Chi-Square = Square of z value
Test of significance of difference between two proportions
Step 1: Null hypothesis H0: 𝑃1= 𝑃2
Step 2: Alternative hypothesis H1: 𝑃1 ≠ 𝑃2 or 𝑃1 > 𝑃2 or 𝑃1 < 𝑃2
Step 3: Test statistics
𝑧 =
𝑝1 − 𝑝2
𝑃1∗𝑄1
𝑛1
+
𝑃2∗𝑄2
𝑛2
or
𝑝1 − 𝑝2
𝑃∗𝑄 (
1
𝑛1
+
1
𝑛2
)
where 𝑃 =
𝑛1𝑝1+𝑛2𝑝2
𝑛1+𝑛2
Denominator is the Standard Error of difference in sample proportion i.e. S.E.(𝑝1 − 𝑝2)
Step 4: Table value of z at 𝛼 % level of significance
Step 5: If z ≤ z table value, H0 is Accepted
If z > z table value, H0 is Rejected
Z test
for
two proportions
Step 1: Null hypothesis H0: 𝑃1 = 𝑃2
Step 2: Alternative hypothesis H1: 𝑃1≠ 𝑃2 or 𝑃1 > 𝑃2 or 𝑃1 < 𝑃2
Step 3: Check Assumptions
Step 4: Test statistic – Chi-square and p value
Step 5: Conclusion
• If p ≤ Level of significance (∝), We Reject Null hypothesis
• If p > Level of significance (∝), We fail to Reject Null hypothesis
Assumptions Tests
𝑛1 × 𝑝1 > 10 and 𝑛1 × (1 − 𝑝1) > 10
𝑛2 × 𝑝2 > 10 and 𝑛2 × (1 − 𝑝2) > 10
____
Case Study
Two brands of coffee - Starbucks and CCD were to be compared. A sample of 100 under-
graduate students were selected and of them randomly 50 students were given Starbucks
coffee and remaining 50 were given CCD coffee. Coffee were served to them without brand
labels. 42 students liked the taste of Starbucks coffee while 45 students liked the taste of CCD
coffee. Is there a significant difference in likeness of the two brands for the under-graduate
students?
Null & Alternative
Hypothesis
Step 1: H0: 𝑃1 = 𝑃1
[There is no significant difference in likeness of the two brands]
Step 2: H1: 𝑃1 ≠ 𝑃1
[There is significant difference in likeness of the two brands]
(Two-tailed test)
Data in SPSS
50 students were given
Starbucks coffee and
remaining 50 were given
CCD coffee. Coffee were
served to them without
brand labels. 42 students
liked the taste of Starbucks
coffee while 45 students
liked the taste of CCD
coffee
Assigning weights
Chi-Square test
Chi-Square test
Chi-Square test
Output
The Chi-square value is 0.796 and
p value = 0.372 > 0.05.
We fail to reject the Null hypothesis.
∴ There is no significant difference in likeness of the two
brands among under-graduate students
Z=
𝑝1 − 𝑝2
𝑃∗𝑄 (
1
𝑛1
+
1
𝑛2
)
=
0.84−0.90
0.87∗0.13 (
1
50
+
1
50
)
= 0.8955
Chi-Square = Square of z value
THANK YOU
Dr Parag Shah | M.Sc., M.Phil., Ph.D. ( Statistics)
pbshah@hlcollege.edu
www.paragstatistics.wordpress.com

More Related Content

What's hot

Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
Tesfamichael Getu
 
Gamma, Expoential, Poisson And Chi Squared Distributions
Gamma, Expoential, Poisson And Chi Squared DistributionsGamma, Expoential, Poisson And Chi Squared Distributions
Gamma, Expoential, Poisson And Chi Squared Distributions
DataminingTools Inc
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
Long Beach City College
 
Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)
jillmitchell8778
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
Shakeel Nouman
 
Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statisticsTarun Gehlot
 
Introduction to ANOVAs
Introduction to ANOVAsIntroduction to ANOVAs
Introduction to ANOVAs
florentinoz
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
Habibullah Bahar University College
 
Confounding in Experimental Design
Confounding in Experimental DesignConfounding in Experimental Design
Confounding in Experimental Design
MdShakilSikder
 
P value in proportion
P value in proportionP value in proportion
P value in proportion
Nadeem Uddin
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inferencezahidacademy
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
Parag Shah
 
Normal Distribution – Introduction and Properties
Normal Distribution – Introduction and PropertiesNormal Distribution – Introduction and Properties
Normal Distribution – Introduction and Properties
Sundar B N
 
Point estimation
Point estimationPoint estimation
Point estimation
Shahab Yaseen
 
ANOVA-One Way Classification
ANOVA-One Way ClassificationANOVA-One Way Classification
ANOVA-One Way ClassificationSharlaine Ruth
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
HanaaBayomy
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
Stephen Lange
 
Chi square test for homgeneity
Chi square test for homgeneityChi square test for homgeneity
Chi square test for homgeneity
amylute
 

What's hot (20)

Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Gamma, Expoential, Poisson And Chi Squared Distributions
Gamma, Expoential, Poisson And Chi Squared DistributionsGamma, Expoential, Poisson And Chi Squared Distributions
Gamma, Expoential, Poisson And Chi Squared Distributions
 
Basics of Hypothesis Testing
Basics of Hypothesis Testing  Basics of Hypothesis Testing
Basics of Hypothesis Testing
 
Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)Statistics lecture 8 (chapter 7)
Statistics lecture 8 (chapter 7)
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
Nonparametric statistics
Nonparametric statisticsNonparametric statistics
Nonparametric statistics
 
Introduction to ANOVAs
Introduction to ANOVAsIntroduction to ANOVAs
Introduction to ANOVAs
 
Discrete probability distributions
Discrete probability distributionsDiscrete probability distributions
Discrete probability distributions
 
Confounding in Experimental Design
Confounding in Experimental DesignConfounding in Experimental Design
Confounding in Experimental Design
 
P value in proportion
P value in proportionP value in proportion
P value in proportion
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inference
 
Chi square tests using SPSS
Chi square tests using SPSSChi square tests using SPSS
Chi square tests using SPSS
 
Normal Distribution – Introduction and Properties
Normal Distribution – Introduction and PropertiesNormal Distribution – Introduction and Properties
Normal Distribution – Introduction and Properties
 
Multiple regression
Multiple regressionMultiple regression
Multiple regression
 
Point estimation
Point estimationPoint estimation
Point estimation
 
ANOVA-One Way Classification
ANOVA-One Way ClassificationANOVA-One Way Classification
ANOVA-One Way Classification
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Two sample t-test
Two sample t-testTwo sample t-test
Two sample t-test
 
Chi square test for homgeneity
Chi square test for homgeneityChi square test for homgeneity
Chi square test for homgeneity
 
Test for independence
Test for independence Test for independence
Test for independence
 

Similar to Proportion test using Chi square

Test hypothesis
Test hypothesisTest hypothesis
Test hypothesis
Homework Guru
 
BasicStatistics.pdf
BasicStatistics.pdfBasicStatistics.pdf
BasicStatistics.pdf
sweetAI1
 
hypothesis teesting
 hypothesis teesting hypothesis teesting
hypothesis teesting
kpgandhi
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
Jorge Vega Rodríguez
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
MYRABACSAFRA2
 
hypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigmahypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigma
vdheerajk
 
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
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
Asmita Bhagdikar
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11thangv
 
CrashCourse_0622
CrashCourse_0622CrashCourse_0622
CrashCourse_0622Dexen Xi
 
10. sampling and hypotehsis
10. sampling and hypotehsis10. sampling and hypotehsis
10. sampling and hypotehsis
Karan Kukreja
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
Shivakumar B N
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
Farhan Alfin
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for Pharmacy
Parag Shah
 
Testing of Hypothesis.pdf
Testing of Hypothesis.pdfTesting of Hypothesis.pdf
Testing of Hypothesis.pdf
MuhammadFaizan389
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
Azmi Mohd Tamil
 
ChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdfChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdf
Dikshathawait
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
danielfoster65629
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
Vikash Keshri
 
Small sample test
Small sample testSmall sample test
Small sample test
Parag Shah
 

Similar to Proportion test using Chi square (20)

Test hypothesis
Test hypothesisTest hypothesis
Test hypothesis
 
BasicStatistics.pdf
BasicStatistics.pdfBasicStatistics.pdf
BasicStatistics.pdf
 
hypothesis teesting
 hypothesis teesting hypothesis teesting
hypothesis teesting
 
HypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdfHypothesisTesting_HANDOUT.pdf
HypothesisTesting_HANDOUT.pdf
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 
hypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigmahypothesis testing-tests of proportions and variances in six sigma
hypothesis testing-tests of proportions and variances in six sigma
 
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 ...
 
Non parametric-tests
Non parametric-testsNon parametric-tests
Non parametric-tests
 
Lesson05_Static11
Lesson05_Static11Lesson05_Static11
Lesson05_Static11
 
CrashCourse_0622
CrashCourse_0622CrashCourse_0622
CrashCourse_0622
 
10. sampling and hypotehsis
10. sampling and hypotehsis10. sampling and hypotehsis
10. sampling and hypotehsis
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
 
Ch5 Hypothesis Testing
Ch5 Hypothesis TestingCh5 Hypothesis Testing
Ch5 Hypothesis Testing
 
Basics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for PharmacyBasics of Hypothesis testing for Pharmacy
Basics of Hypothesis testing for Pharmacy
 
Testing of Hypothesis.pdf
Testing of Hypothesis.pdfTesting of Hypothesis.pdf
Testing of Hypothesis.pdf
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
ChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdfChandanChakrabarty_1.pdf
ChandanChakrabarty_1.pdf
 
[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx[The following information applies to the questions displayed belo.docx
[The following information applies to the questions displayed belo.docx
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
Small sample test
Small sample testSmall sample test
Small sample test
 

More from Parag Shah

Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
Parag Shah
 
Non- Parametric Tests
Non- Parametric TestsNon- Parametric Tests
Non- Parametric Tests
Parag Shah
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSS
Parag Shah
 
Chi square tests using spss
Chi square tests using spssChi square tests using spss
Chi square tests using spss
Parag Shah
 
t test using spss
t test using spsst test using spss
t test using spss
Parag Shah
 
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical SciencesExploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Parag Shah
 
Probability
Probability    Probability
Probability
Parag Shah
 
Basic stat analysis using excel
Basic stat analysis using excelBasic stat analysis using excel
Basic stat analysis using excel
Parag Shah
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
Parag Shah
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
Parag Shah
 
Testing of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square testTesting of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square test
Parag Shah
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
Parag Shah
 
Statistics for Physical Education
Statistics for Physical EducationStatistics for Physical Education
Statistics for Physical Education
Parag Shah
 
Career option for stats
Career option for statsCareer option for stats
Career option for stats
Parag Shah
 

More from Parag Shah (14)

Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
 
Non- Parametric Tests
Non- Parametric TestsNon- Parametric Tests
Non- Parametric Tests
 
Correlation & Regression Analysis using SPSS
Correlation & Regression Analysis  using SPSSCorrelation & Regression Analysis  using SPSS
Correlation & Regression Analysis using SPSS
 
Chi square tests using spss
Chi square tests using spssChi square tests using spss
Chi square tests using spss
 
t test using spss
t test using spsst test using spss
t test using spss
 
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical SciencesExploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
Exploratory Data Analysis for Biotechnology and Pharmaceutical Sciences
 
Probability
Probability    Probability
Probability
 
Basic stat analysis using excel
Basic stat analysis using excelBasic stat analysis using excel
Basic stat analysis using excel
 
Statistical inference: Estimation
Statistical inference: EstimationStatistical inference: Estimation
Statistical inference: Estimation
 
F test and ANOVA
F test and ANOVAF test and ANOVA
F test and ANOVA
 
Testing of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square testTesting of hypothesis - Chi-Square test
Testing of hypothesis - Chi-Square test
 
Testing of hypothesis - large sample test
Testing of hypothesis - large sample testTesting of hypothesis - large sample test
Testing of hypothesis - large sample test
 
Statistics for Physical Education
Statistics for Physical EducationStatistics for Physical Education
Statistics for Physical Education
 
Career option for stats
Career option for statsCareer option for stats
Career option for stats
 

Recently uploaded

Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
James Polillo
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
correoyaya
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
AlejandraGmez176757
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Linda486226
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
StarCompliance.io
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
Tiktokethiodaily
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
vcaxypu
 

Recently uploaded (20)

Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
Innovative Methods in Media and Communication Research by Sebastian Kubitschk...
 
Business update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMIBusiness update Q1 2024 Lar España Real Estate SOCIMI
Business update Q1 2024 Lar España Real Estate SOCIMI
 
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdfSample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
Sample_Global Non-invasive Prenatal Testing (NIPT) Market, 2019-2030.pdf
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
 
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
1.Seydhcuxhxyxhccuuxuxyxyxmisolids 2019.pptx
 
standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
一比一原版(ArtEZ毕业证)ArtEZ艺术学院毕业证成绩单
 

Proportion test using Chi square

  • 2. TEST FOR PROPORTION(S) There are mainly two tests for proportion • Test for single proportion • Test for significant difference between proportion of two samples SPSS does not have Z test to test the proportion(s). But Chi-Square test can be used to the test the proportion in SPSS.
  • 3. Chi- Square Statistic If X~𝑁(𝜇, 𝜎2) then 𝑍 = 𝑋−𝜇 𝜎 ~𝑁(0,1) and 𝑍2 = 𝑋−𝜇 𝜎 2 ~𝜒2 with 1 d.f. and 𝑋−𝜇 𝜎 2 ~𝜒2 with n d.f.
  • 4. Test of Single Proportion Step 1: Null hypothesis H0: 𝑃 = 𝑃0 Step 2: Alternative hypothesis H1: 𝑃 ≠ 𝑃0 or 𝑃 > 𝑃0 or 𝑃 < 𝑃0 Step 3: Test statistics 𝑧 = 𝑝 −𝑃0 𝑃0 ∗𝑄0 𝑛 Denominator is the Standard Error of sample proportion i.e. S.E.(𝑝) Step 4: Table value of z at 𝛼 % level of significance Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 5. Test of Single Proportion Step 1: Null hypothesis H0: 𝑃 = 𝑃0 Step 2: Alternative hypothesis H1: 𝑃 ≠ 𝑃0 or 𝑃 > 𝑃0 or 𝑃 < 𝑃0 Step 3: Check Assumptions Step 4: Test statistic – Chi-square and p value Step 5: Conclusion • If p ≤ Level of significance (∝), We Reject Null hypothesis • If p > Level of significance (∝), We fail to Reject Null hypothesis
  • 6. Case Study The CEO of a large water pump manufacturing company claims that more than 80 percent of his customers are satisfied with the water pump. To test this claim, the local newspaper surveyed 100 customers, using simple random sampling. Among the sampled customers, 73 percent say they are very satisfied. Based on these findings, what can we say about the manufacturer’s claim ? Use a 0.05 level of significance.
  • 7. Null & Alternative Hypothesis Step 1: H0: P = 0.80 [Not more than 80% of the customers are satisfied ] Step 2: H1: P > 0.80 [More than 80% of the customers are satisfied ] (One-tailed test)
  • 8. Data in SPSS The local newspaper surveyed 100 customers, using simple random sampling. Among the sampled customers, 73 percent say they are very satisfied
  • 12. Output The Chi-square value is 3.063 and p value = (0.080)/ 2 = 0.04 As p < 0.05, We reject the Null hypothesis. ∴ More than 80% of the customers are satisfied 𝑧 = 𝑝 −𝑃 𝑃∗𝑄 𝑛 = 0.73 −0.80 0.80∗0.20 100 = 1.75 Chi-Square = Square of z value
  • 13. Test of significance of difference between two proportions Step 1: Null hypothesis H0: 𝑃1= 𝑃2 Step 2: Alternative hypothesis H1: 𝑃1 ≠ 𝑃2 or 𝑃1 > 𝑃2 or 𝑃1 < 𝑃2 Step 3: Test statistics 𝑧 = 𝑝1 − 𝑝2 𝑃1∗𝑄1 𝑛1 + 𝑃2∗𝑄2 𝑛2 or 𝑝1 − 𝑝2 𝑃∗𝑄 ( 1 𝑛1 + 1 𝑛2 ) where 𝑃 = 𝑛1𝑝1+𝑛2𝑝2 𝑛1+𝑛2 Denominator is the Standard Error of difference in sample proportion i.e. S.E.(𝑝1 − 𝑝2) Step 4: Table value of z at 𝛼 % level of significance Step 5: If z ≤ z table value, H0 is Accepted If z > z table value, H0 is Rejected
  • 14. Z test for two proportions Step 1: Null hypothesis H0: 𝑃1 = 𝑃2 Step 2: Alternative hypothesis H1: 𝑃1≠ 𝑃2 or 𝑃1 > 𝑃2 or 𝑃1 < 𝑃2 Step 3: Check Assumptions Step 4: Test statistic – Chi-square and p value Step 5: Conclusion • If p ≤ Level of significance (∝), We Reject Null hypothesis • If p > Level of significance (∝), We fail to Reject Null hypothesis Assumptions Tests 𝑛1 × 𝑝1 > 10 and 𝑛1 × (1 − 𝑝1) > 10 𝑛2 × 𝑝2 > 10 and 𝑛2 × (1 − 𝑝2) > 10 ____
  • 15. Case Study Two brands of coffee - Starbucks and CCD were to be compared. A sample of 100 under- graduate students were selected and of them randomly 50 students were given Starbucks coffee and remaining 50 were given CCD coffee. Coffee were served to them without brand labels. 42 students liked the taste of Starbucks coffee while 45 students liked the taste of CCD coffee. Is there a significant difference in likeness of the two brands for the under-graduate students?
  • 16. Null & Alternative Hypothesis Step 1: H0: 𝑃1 = 𝑃1 [There is no significant difference in likeness of the two brands] Step 2: H1: 𝑃1 ≠ 𝑃1 [There is significant difference in likeness of the two brands] (Two-tailed test)
  • 17. Data in SPSS 50 students were given Starbucks coffee and remaining 50 were given CCD coffee. Coffee were served to them without brand labels. 42 students liked the taste of Starbucks coffee while 45 students liked the taste of CCD coffee
  • 22. Output The Chi-square value is 0.796 and p value = 0.372 > 0.05. We fail to reject the Null hypothesis. ∴ There is no significant difference in likeness of the two brands among under-graduate students Z= 𝑝1 − 𝑝2 𝑃∗𝑄 ( 1 𝑛1 + 1 𝑛2 ) = 0.84−0.90 0.87∗0.13 ( 1 50 + 1 50 ) = 0.8955 Chi-Square = Square of z value
  • 23. THANK YOU Dr Parag Shah | M.Sc., M.Phil., Ph.D. ( Statistics) pbshah@hlcollege.edu www.paragstatistics.wordpress.com