SlideShare a Scribd company logo
1 of 45
Hypothesis testing
t and Anova in Excel, SPSS and PSPP
What is the t-distribution?
Hypothesis Testing
• Likert Scale data
• Research Hypothesis & Statistical Hypothesis
• Check Normality of Data
• Choose Parametric /Non Parametric test
• Check p value for Ho or Ha depending on
confidence interval
Hypothesis Testing
 Null and Alternative Hypotheses
 Both Ho and Ha are statements about population
parameters, not sample statistics.
 A decision to retain the null hypothesis implies a lackof
support for the alternative hypothesis.
 A decision to reject the null hypothesis implies supportfor the
alternative hypothesis.
Hypothesis Testing
Sample Statistics - Hypothesized Parameter
Test Statistic =
Standard error of statistic
Types of Tests
Parametric Test
The statistical test which makes assumptions
about the distribution of population
parameters are known as parametric tests.
Non Parametric Test
The alternative which makes no assumptions
about the distribution of population
parameters are known as non parametric
tests.
Statistical
Techniques
Parametric
Statistics
Non Parametric
Statistics
Comparative Relationship
2 Groups > 2 Groups Covariate 2 Variables > 2 Variables Regression
ITT
DTT
OSTT
One Way
ANOVA
RM- ANOVA
Bet-Bet
ANOVA
Bet-With
ANOVA
With -With
ANOVA
ANOVA
Simple
Correlation
Multiple
Correlation
Partial
Correlation
Linear
Multiple
Logistic
2 Groups > 2 Groups
Mann
Whitney U
test
Wilcoxon
Rank Test
1 Sample
Sign Test
Kruskal-
Wallis H test
Friedman
Test
Rank Order
Correlation
Contingency
Coefficient
Phi
Correlation
Tetrachoric
Correlation
Point Biserial
Correlation
Biserial
Correlation
Goodness of
fit
Test for
independence
Statistical
Techniques
Parametric
Statistics
Non Parametric
Statistics
Comparative Relationship Others
Chi Square
P value
• The level in which we are allowed to
reject the null hypothesis when it is
true or Type 1 Error
• A rule of thumb is if p-value < 0.05
(5% level of significance) we reject
null hypothesis
• if p-value > 0.05 (5% level of
significance) we fail to reject null
hypothesis.
Tcal and Ttab to decide Hypothesis
• Tcal < Ttab – Fail to Reject Null Hypothesis
• Tcal>Ttab – Reject Null Hypothesis
Tcal , Zcal ,Fcal will be obtained from formulae
Ttab ,Ztab,Ftab will be obtained from Tables
All Software give Tcal,Fcal along with p values
Parametric Test
T Test
Z Test
F Test
Various types of T Test
One sample T Test
Independent sample T Test
Dependent sample T Test
T Test
In t-test, independent variable is
in nominal scale and
dependent variable
is in ratio scale.
One Sample T Test
• Null hypothesis: There is no significance
differences between the population mean and
the sample mean.
• In one sample T Test, a sample mean is compared
with the known population mean
Sample
Independent Sample T Test
• In Independent sample T Test, means of two
groups are compared.
• Null hypothesis: There is no significant difference
in means of two groups
Dependent Sample T Test
• In dependent sample T Test, means of same
group is compared before and after the
treatment.
• Null hypothesis: There is no significant difference
in means before and after treatment.
One Way ANOVA
• In Independent sample T Test, means of more
than three groups are compared.
• Null hypothesis: There is no significance
differences in marks of more than two groups
• One Sample T Tests
Hypothesis Testing Examples
Example : A normal white blood count is assumed to be approximately 8
thousand cells per cc of blood. A random sample of 15 employees of a nuclear
plant yielded a mean white count of 7.81 with a standard deviation of 0.872 (in
thousands).Is there significant evidence that the mean white count is lower for
plant employees using a=0.05?
Example : A pill is supposed to contain 20 mg of Phenobarbital. A random sample
of 29 pills yielded a mean of 20.5 mg and a standard deviation of 1.5 mg. Test
using a=0.10 whether the true mean amount per pill is 20 mg
Example: When a process producing ball bearings is operating correctly the
weights of the ball bearings have a normal distribution with mean 5 ounces and
standard deviation 0.1 ounce .An adjustment has been made to the process and
the plant manager suspects that this has raised the mean weight of ball bearings
produced leaving the standard deviation unchanged . A random sample of sixteen
ball bearings is taken, and their mean weight is found to be 5.038 ounces. Test at
significance levels .05 and .10 (that is, at 5% and 10% levels) that the adjustment
has not increased the mean weights of the ball bearings
6) When a process producing ball bearings is operating
correctly the weights of the ball bearings have a
normal distribution with mean 5 ounces and standard
deviation 0.1 ounce .An adjustment has been made to
the process and the plant manager suspects that this
has raised the mean weight of ball bearings produced
leaving the standard deviation unchanged . A random
sample of sixteen ball bearings is taken, and their
mean weight is found to be 5.038 ounces. Test at
significance levels .05 and .10 (that is, at 5% and 10%
levels) that the adjustment has not increased the mean
weights of the ball bearings
Independent Sample t test
Hypothesis –Independent Samples
Example-Independent Samples
Example – Mobile bill for Gender
Male Female
431 411
432 412
444 413
432 444
411 424
432 456
422 432
435 435
413 444
415 412
436 418
438 421
445 427
411 428
447 435
448 437
411 440
423 441
427 442
428 437
435 432
Solution
t-Test: Two-Sample Assuming Equal Variances
Male Female
Mean 429.3333 430.5238
Variance 145.5333 157.7619
Observations 21 21
Pooled Variance 151.6476
Hypothesized Mean Difference 0
df 40
t Stat -0.31325
P(T<=t) one-tail 0.377857
t Critical one-tail 1.683851
P(T<=t) two-tail 0.755715
t Critical two-tail 2.021075
Paired Sample T Test
Paired Sample T Test
Paired Sample T Test Example
Solution
Example
Proble
m Systolic Blood Pressure Before and After Exercise
Null Hypothesis : There is no difference in Systolic Blood Pressure Before and After Exercise
Alternative Hypothesis : There is a significance difference in Systolic Blood Pressure Before and After Exercise
Statistical Test : Dependent Sample t test /Paired 2 Sample for Means (Excel)
Before Exercise After Exercise
116 126
126 132
128 146
132 144
134 148
136 134
138 144
138 146
140 136
142 152
144 150
148 152
150 162
154 156
162 162
170 174
Solution
t-Test: Paired Two Sample for Means
Before
Exercise After Exercise
Mean 141.125 147.75
Variance 185.5833333 152.4666667
Observations 16 16
Pearson Correlation 0.899063955
Hypothesized Mean
Difference 0
df 15
t Stat -4.442450112
P(T<=t) one-tail 0.00023741
t Critical one-tail 1.753050356
P(T<=t) two-tail 0.000474821
t Critical two-tail 2.131449546

More Related Content

Similar to Topic 9 T Distribution.pptx

Quantitative_analysis.ppt
Quantitative_analysis.pptQuantitative_analysis.ppt
Quantitative_analysis.ppt
mousaderhem1
 

Similar to Topic 9 T Distribution.pptx (20)

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
 
Student t test
Student t testStudent t test
Student t test
 
Testing of hypothesis.pptx
Testing of hypothesis.pptxTesting of hypothesis.pptx
Testing of hypothesis.pptx
 
Inferential statistics quantitative data - single sample and 2 groups
Inferential statistics   quantitative data - single sample and 2 groupsInferential statistics   quantitative data - single sample and 2 groups
Inferential statistics quantitative data - single sample and 2 groups
 
tests of significance
tests of significancetests of significance
tests of significance
 
Quantitative_analysis.ppt
Quantitative_analysis.pptQuantitative_analysis.ppt
Quantitative_analysis.ppt
 
Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics Parametric and non parametric test in biostatistics
Parametric and non parametric test in biostatistics
 
Epidemiological study design and it's significance
Epidemiological study design and it's significanceEpidemiological study design and it's significance
Epidemiological study design and it's significance
 
Hypothesis Testing.pptx
Hypothesis Testing.pptxHypothesis Testing.pptx
Hypothesis Testing.pptx
 
Unit-5.-t-test.ppt
Unit-5.-t-test.pptUnit-5.-t-test.ppt
Unit-5.-t-test.ppt
 
t Test- Thiyagu
t Test- Thiyagut Test- Thiyagu
t Test- Thiyagu
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square test
 
Statistical test
Statistical test Statistical test
Statistical test
 
Test of significance in Statistics
Test of significance in StatisticsTest of significance in Statistics
Test of significance in Statistics
 
Analysis of Variance
Analysis of VarianceAnalysis of Variance
Analysis of Variance
 
1. complete stats notes
1. complete stats notes1. complete stats notes
1. complete stats notes
 
T- test .pptx
T- test .pptxT- test .pptx
T- test .pptx
 
Stat topics
Stat topicsStat topics
Stat topics
 
Small sample test
Small sample testSmall sample test
Small sample test
 
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxChemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
 

More from CallplanetsDeveloper

More from CallplanetsDeveloper (20)

Deep Learning Basics.pptx
Deep Learning Basics.pptxDeep Learning Basics.pptx
Deep Learning Basics.pptx
 
Basics of Machine Learning.pptx
Basics of Machine Learning.pptxBasics of Machine Learning.pptx
Basics of Machine Learning.pptx
 
Artificial-Neural-Networks.pptx
Artificial-Neural-Networks.pptxArtificial-Neural-Networks.pptx
Artificial-Neural-Networks.pptx
 
Data Warehousing , Data Mining and BI.pptx
Data Warehousing , Data Mining and BI.pptxData Warehousing , Data Mining and BI.pptx
Data Warehousing , Data Mining and BI.pptx
 
Database Management Systems.pptx
Database Management Systems.pptxDatabase Management Systems.pptx
Database Management Systems.pptx
 
Regression.pptx
Regression.pptxRegression.pptx
Regression.pptx
 
Basics of Machine Learning.pptx
Basics of Machine Learning.pptxBasics of Machine Learning.pptx
Basics of Machine Learning.pptx
 
MIS.pptx
MIS.pptxMIS.pptx
MIS.pptx
 
Topic 13 Business Analytics.pptx
Topic 13 Business Analytics.pptxTopic 13 Business Analytics.pptx
Topic 13 Business Analytics.pptx
 
Topic 12 Miscellaneous Concepts in IT.pptx
Topic 12 Miscellaneous Concepts in IT.pptxTopic 12 Miscellaneous Concepts in IT.pptx
Topic 12 Miscellaneous Concepts in IT.pptx
 
Unit 11 AI , ML , DL and Expert Systems.pptx
Unit 11 AI , ML , DL and Expert Systems.pptxUnit 11 AI , ML , DL and Expert Systems.pptx
Unit 11 AI , ML , DL and Expert Systems.pptx
 
Unit 10 Business Intelligence.pptx
Unit 10 Business Intelligence.pptxUnit 10 Business Intelligence.pptx
Unit 10 Business Intelligence.pptx
 
9. Data Warehousing & Mining.pptx
9. Data Warehousing & Mining.pptx9. Data Warehousing & Mining.pptx
9. Data Warehousing & Mining.pptx
 
Class 12 Probability Distributions.pptx
Class 12 Probability Distributions.pptxClass 12 Probability Distributions.pptx
Class 12 Probability Distributions.pptx
 
Class 11 Basic Probability.pptx
Class 11 Basic Probability.pptxClass 11 Basic Probability.pptx
Class 11 Basic Probability.pptx
 
8.DBMS.pptx
8.DBMS.pptx8.DBMS.pptx
8.DBMS.pptx
 
Claas 11 Basic Probability.pptx
Claas 11 Basic Probability.pptxClaas 11 Basic Probability.pptx
Claas 11 Basic Probability.pptx
 
5.Developing IT Solution.pptx
5.Developing IT Solution.pptx5.Developing IT Solution.pptx
5.Developing IT Solution.pptx
 
4. E Commerce Types.pptx
4. E Commerce Types.pptx4. E Commerce Types.pptx
4. E Commerce Types.pptx
 
Class 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptxClass 9 Covariance & Correlation Concepts.pptx
Class 9 Covariance & Correlation Concepts.pptx
 

Recently uploaded

Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
EADTU
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
AnaAcapella
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
Peter Brusilovsky
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
Elizabeth Walsh
 

Recently uploaded (20)

HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
VAMOS CUIDAR DO NOSSO PLANETA! .
VAMOS CUIDAR DO NOSSO PLANETA!                    .VAMOS CUIDAR DO NOSSO PLANETA!                    .
VAMOS CUIDAR DO NOSSO PLANETA! .
 
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdfDiuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
Diuretic, Hypoglycemic and Limit test of Heavy metals and Arsenic.-1.pdf
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 
Orientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdfOrientation Canvas Course Presentation.pdf
Orientation Canvas Course Presentation.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 

Topic 9 T Distribution.pptx

  • 1. Hypothesis testing t and Anova in Excel, SPSS and PSPP
  • 2. What is the t-distribution?
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Hypothesis Testing • Likert Scale data • Research Hypothesis & Statistical Hypothesis • Check Normality of Data • Choose Parametric /Non Parametric test • Check p value for Ho or Ha depending on confidence interval
  • 11. Hypothesis Testing  Null and Alternative Hypotheses  Both Ho and Ha are statements about population parameters, not sample statistics.  A decision to retain the null hypothesis implies a lackof support for the alternative hypothesis.  A decision to reject the null hypothesis implies supportfor the alternative hypothesis.
  • 12. Hypothesis Testing Sample Statistics - Hypothesized Parameter Test Statistic = Standard error of statistic
  • 13. Types of Tests Parametric Test The statistical test which makes assumptions about the distribution of population parameters are known as parametric tests. Non Parametric Test The alternative which makes no assumptions about the distribution of population parameters are known as non parametric tests.
  • 14. Statistical Techniques Parametric Statistics Non Parametric Statistics Comparative Relationship 2 Groups > 2 Groups Covariate 2 Variables > 2 Variables Regression ITT DTT OSTT One Way ANOVA RM- ANOVA Bet-Bet ANOVA Bet-With ANOVA With -With ANOVA ANOVA Simple Correlation Multiple Correlation Partial Correlation Linear Multiple Logistic
  • 15. 2 Groups > 2 Groups Mann Whitney U test Wilcoxon Rank Test 1 Sample Sign Test Kruskal- Wallis H test Friedman Test Rank Order Correlation Contingency Coefficient Phi Correlation Tetrachoric Correlation Point Biserial Correlation Biserial Correlation Goodness of fit Test for independence Statistical Techniques Parametric Statistics Non Parametric Statistics Comparative Relationship Others Chi Square
  • 16. P value • The level in which we are allowed to reject the null hypothesis when it is true or Type 1 Error • A rule of thumb is if p-value < 0.05 (5% level of significance) we reject null hypothesis • if p-value > 0.05 (5% level of significance) we fail to reject null hypothesis.
  • 17.
  • 18. Tcal and Ttab to decide Hypothesis • Tcal < Ttab – Fail to Reject Null Hypothesis • Tcal>Ttab – Reject Null Hypothesis Tcal , Zcal ,Fcal will be obtained from formulae Ttab ,Ztab,Ftab will be obtained from Tables All Software give Tcal,Fcal along with p values
  • 20. Various types of T Test One sample T Test Independent sample T Test Dependent sample T Test
  • 21. T Test In t-test, independent variable is in nominal scale and dependent variable is in ratio scale.
  • 22. One Sample T Test • Null hypothesis: There is no significance differences between the population mean and the sample mean. • In one sample T Test, a sample mean is compared with the known population mean Sample
  • 23. Independent Sample T Test • In Independent sample T Test, means of two groups are compared. • Null hypothesis: There is no significant difference in means of two groups
  • 24. Dependent Sample T Test • In dependent sample T Test, means of same group is compared before and after the treatment. • Null hypothesis: There is no significant difference in means before and after treatment.
  • 25. One Way ANOVA • In Independent sample T Test, means of more than three groups are compared. • Null hypothesis: There is no significance differences in marks of more than two groups
  • 26. • One Sample T Tests
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32. Hypothesis Testing Examples Example : A normal white blood count is assumed to be approximately 8 thousand cells per cc of blood. A random sample of 15 employees of a nuclear plant yielded a mean white count of 7.81 with a standard deviation of 0.872 (in thousands).Is there significant evidence that the mean white count is lower for plant employees using a=0.05? Example : A pill is supposed to contain 20 mg of Phenobarbital. A random sample of 29 pills yielded a mean of 20.5 mg and a standard deviation of 1.5 mg. Test using a=0.10 whether the true mean amount per pill is 20 mg Example: When a process producing ball bearings is operating correctly the weights of the ball bearings have a normal distribution with mean 5 ounces and standard deviation 0.1 ounce .An adjustment has been made to the process and the plant manager suspects that this has raised the mean weight of ball bearings produced leaving the standard deviation unchanged . A random sample of sixteen ball bearings is taken, and their mean weight is found to be 5.038 ounces. Test at significance levels .05 and .10 (that is, at 5% and 10% levels) that the adjustment has not increased the mean weights of the ball bearings
  • 33. 6) When a process producing ball bearings is operating correctly the weights of the ball bearings have a normal distribution with mean 5 ounces and standard deviation 0.1 ounce .An adjustment has been made to the process and the plant manager suspects that this has raised the mean weight of ball bearings produced leaving the standard deviation unchanged . A random sample of sixteen ball bearings is taken, and their mean weight is found to be 5.038 ounces. Test at significance levels .05 and .10 (that is, at 5% and 10% levels) that the adjustment has not increased the mean weights of the ball bearings
  • 35.
  • 38. Example – Mobile bill for Gender Male Female 431 411 432 412 444 413 432 444 411 424 432 456 422 432 435 435 413 444 415 412 436 418 438 421 445 427 411 428 447 435 448 437 411 440 423 441 427 442 428 437 435 432
  • 39. Solution t-Test: Two-Sample Assuming Equal Variances Male Female Mean 429.3333 430.5238 Variance 145.5333 157.7619 Observations 21 21 Pooled Variance 151.6476 Hypothesized Mean Difference 0 df 40 t Stat -0.31325 P(T<=t) one-tail 0.377857 t Critical one-tail 1.683851 P(T<=t) two-tail 0.755715 t Critical two-tail 2.021075
  • 42. Paired Sample T Test Example
  • 44. Example Proble m Systolic Blood Pressure Before and After Exercise Null Hypothesis : There is no difference in Systolic Blood Pressure Before and After Exercise Alternative Hypothesis : There is a significance difference in Systolic Blood Pressure Before and After Exercise Statistical Test : Dependent Sample t test /Paired 2 Sample for Means (Excel) Before Exercise After Exercise 116 126 126 132 128 146 132 144 134 148 136 134 138 144 138 146 140 136 142 152 144 150 148 152 150 162 154 156 162 162 170 174
  • 45. Solution t-Test: Paired Two Sample for Means Before Exercise After Exercise Mean 141.125 147.75 Variance 185.5833333 152.4666667 Observations 16 16 Pearson Correlation 0.899063955 Hypothesized Mean Difference 0 df 15 t Stat -4.442450112 P(T<=t) one-tail 0.00023741 t Critical one-tail 1.753050356 P(T<=t) two-tail 0.000474821 t Critical two-tail 2.131449546