SlideShare une entreprise Scribd logo
1  sur  16
SUBJECT: PROBABLITY AND INTRODUCTION TO STATISTICS (CODE-2142505)
BE Second Level Second Semester (Self Finance)
TOPIC: Test of Hypotheses
Prepared By:
GUJARAT TECHNOLOGY UNIVERSITY
BIRLA VISHVAKARMA MAHAVIDYALAYA
(ENGINEERING COLLEGE)
VALLABH VIDYANAGAR
Name Enrollment No
Krushal Kakadiya 130080125006
Dhruvit Kardani 130080125007
Tirth Lad 130080125008
Milan Lakhani 130080125009
Vishal Lapsiwala 130080125010
Guided By: Prof. A.H.Jariya
Significance Testing
 Also called “hypothesis testing”
 Objective: to test a claim about parameter μ
 Procedure:
A. State hypotheses H0 and Ha
B. Calculate test statistic
C. Convert test statistic to P-value and interpret
D. Consider significance level (optional)
Hypotheses
 H0 (null hypothesis) claims “no difference”
 Ha (alternative hypothesis) contradicts the null
 Example: We test whether a population gained weight on average…
H0: no average weight gain in population
Ha: H0 is wrong (i.e., “weight gain”)
 Next  collect data  quantify the extent to which the data provides
evidence against H0
One-Sample Test of Mean
 To test a single mean, the null hypothesis is
H0: μ = μ0, where μ0 represents the “null value” (null value comes from the
research question, not from data!)
 The alternative hypothesis can take these forms:
Ha: μ > μ0 (one-sided to right) or
Ha: μ < μ0 (one-side to left) or
Ha: μ ≠ μ0 (two-sided)
 For the weight gain illustrative example:
H0: μ = 0
Ha: μ > 0 (one-sided) or Ha: μ ≠ μ0 (two-sided)
Note: μ0 = 0 in this example
Illustrative Example: Weight Gain
 Let X ≡ weight gain
 X ~N(μ, σ = 1), the value of μ
unknown
 Under H0, μ = 0
 Take SRS of n = 10
 σx-bar = 1 / √(10) = 0.316
 Thus, under H0
x-bar~N(0, 0.316) .
Figure: Two possible
xbars when H0 true
T test for two samples
 What is the probability that two samples have the same mean?
Sample A Sample B
1 1
3 2
5 5
5 4
7 8
9 9
10 10
Sample
Mean 5.714286 5.571429
The T test Analysis
 Go to the Data
tab
 Click on data
analysis
 Select t-Test for
Two-Sample(s)
with Equal
Variance
With Our Data and .05 Confidence
Level
t stat = 0.08
t critical for two-
tail (H1 = not
equal) = 2.18.
T stat < t Critical,
so do not reject
the null
hypothesis of
equal means.
Also, α is 0.94,
which is far larger
than .05
T Test:
Two-Sample, Equal Variance
 If the variances of the two samples are believed to be the same, use this
option.
 It is the strongest t test—most likely to reject the null hypothesis of equality
if the means really are different.
T Test:
Two-Sample, Unequal Variance
 Does not require equal variances
 Use if you know they are unequal
 Use is you do not feel that you should assume equality
 You lose some discriminatory power
 Slightly less likely to reject the null hypothesis of equality if it is true
T Test:
Two-Sample, Paired
 In the sampling, the each value in one distribution is paired with a value in
the other distribution on some basis.
 For example, equal ability on some skill.
z Test for Two Sample Means
 Population
standard
deviation is
unknown.
 Must compute
the sample
variances.
z test
 Data tab
 Data
analysis
 z test
sample for
two means.
13
Z value is greater than z Critical for two tails (not equal),
so reject the null hypothesis of the means being equal.
Also, α = 2.31109E-08 < .05, so reject.
Chi-Square Test
 A fundamental problem is genetics is
determining whether the experimentally
determined data fits the results expected from
theory.
Goodness of Fit
 Mendel has no way of solving this problem. Shortly after the rediscovery of his
work in 1900, Karl Pearson and R.A. Fisher developed the “chi-square” test for
this purpose.
 The chi-square test is a “goodness of fit” test: it answers the question of how well
do experimental data fit expectations.
 We start with a theory for how the offspring will be distributed: the “null
hypothesis”. We will discuss the offspring of a self-pollination of a heterozygote.
The null hypothesis is that the offspring will appear in a ratio of 3/4 dominant to
1/4 recessive.
Formula
 The “Χ” is the Greek letter chi;
the “∑” is a sigma; it means to
sum the following terms for all
phenotypes. “obs” is the
number of individuals of the
given phenotype observed;
“exp” is the number of that
phenotype expected from the
null hypothesis.
 Note that you must use the
number of individuals, the
counts, and NOT proportions,
ratios, or frequencies.



exp
exp)( 2
2 obs

Contenu connexe

Tendances

Tendances (20)

Linearity cochran test
Linearity cochran testLinearity cochran test
Linearity cochran test
 
Chi sqyre test
Chi sqyre testChi sqyre test
Chi sqyre test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
Linear Regression Using SPSS
Linear Regression Using SPSSLinear Regression Using SPSS
Linear Regression Using SPSS
 
Chi – square test
Chi – square testChi – square test
Chi – square test
 
Chi‑square test
Chi‑square test Chi‑square test
Chi‑square test
 
The Chi Square Test
The Chi Square TestThe Chi Square Test
The Chi Square Test
 
Chi square & related procedure
Chi square & related procedureChi square & related procedure
Chi square & related procedure
 
Chi square test
Chi square testChi square test
Chi square test
 
Research methodology chi square test
Research methodology  chi square testResearch methodology  chi square test
Research methodology chi square test
 
Chi squared test
Chi squared testChi squared test
Chi squared test
 
One-Way ANOVA
One-Way ANOVAOne-Way ANOVA
One-Way ANOVA
 
Chi square test
Chi square testChi square test
Chi square test
 
Decision between homoscedasticity or heteroscedasticity for linearity data (C...
Decision between homoscedasticity or heteroscedasticity for linearity data (C...Decision between homoscedasticity or heteroscedasticity for linearity data (C...
Decision between homoscedasticity or heteroscedasticity for linearity data (C...
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square test
Chi square testChi square test
Chi square test
 
Chi square test
Chi square testChi square test
Chi square test
 
chi square
 chi square chi square
chi square
 
Chi square
Chi squareChi square
Chi square
 
Chi square
Chi squareChi square
Chi square
 

En vedette

2013 Callan Risk Management Survey
2013 Callan Risk Management Survey2013 Callan Risk Management Survey
2013 Callan Risk Management Survey
Callan
 
Procedure For Hypothesis Testing
Procedure For Hypothesis TestingProcedure For Hypothesis Testing
Procedure For Hypothesis Testing
shubham6395
 
Chapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testingChapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testing
BOmebratu
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
Geetika Gulyani
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
vikramlawand
 

En vedette (7)

2013 Callan Risk Management Survey
2013 Callan Risk Management Survey2013 Callan Risk Management Survey
2013 Callan Risk Management Survey
 
Procedure For Hypothesis Testing
Procedure For Hypothesis TestingProcedure For Hypothesis Testing
Procedure For Hypothesis Testing
 
The hypothesis process 2
The hypothesis process 2The hypothesis process 2
The hypothesis process 2
 
Chapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testingChapter8 introduction to hypothesis testing
Chapter8 introduction to hypothesis testing
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Test of hypothesis
Test of hypothesisTest of hypothesis
Test of hypothesis
 

Similaire à TEST of hypothesis

Chi square test social research refer.ppt
Chi square test social research refer.pptChi square test social research refer.ppt
Chi square test social research refer.ppt
Snehamurali18
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
svmmcradonco1
 

Similaire à TEST of hypothesis (20)

Day 3 SPSS
Day 3 SPSSDay 3 SPSS
Day 3 SPSS
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Parametric test
Parametric testParametric test
Parametric test
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics
 
Thesigntest
ThesigntestThesigntest
Thesigntest
 
Statistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-TestStatistical tests of significance and Student`s T-Test
Statistical tests of significance and Student`s T-Test
 
Nonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contdNonparametric and Distribution- Free Statistics _contd
Nonparametric and Distribution- Free Statistics _contd
 
More Statistics
More StatisticsMore Statistics
More Statistics
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptxBIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
BIOSTATISTICS T TEST Z TEST F TEST HYPOTHESIS TYPES OF ERROR.pptx
 
A Bayesian Alternative To Null Hypothesis Significance Testing
A Bayesian Alternative To Null Hypothesis Significance TestingA Bayesian Alternative To Null Hypothesis Significance Testing
A Bayesian Alternative To Null Hypothesis Significance Testing
 
Chapter 6 Ranksumtest
Chapter 6 RanksumtestChapter 6 Ranksumtest
Chapter 6 Ranksumtest
 
Chi square test social research refer.ppt
Chi square test social research refer.pptChi square test social research refer.ppt
Chi square test social research refer.ppt
 
Hmisiri nonparametrics book
Hmisiri nonparametrics bookHmisiri nonparametrics book
Hmisiri nonparametrics book
 
SNM-1.pdf
SNM-1.pdfSNM-1.pdf
SNM-1.pdf
 
hypothesisTestPPT.pptx
hypothesisTestPPT.pptxhypothesisTestPPT.pptx
hypothesisTestPPT.pptx
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
Chi-Square test.pptx
Chi-Square test.pptxChi-Square test.pptx
Chi-Square test.pptx
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
 

Plus de Krushal Kakadia (7)

Fmd riveted joints
Fmd riveted jointsFmd riveted joints
Fmd riveted joints
 
Planimeter
PlanimeterPlanimeter
Planimeter
 
Levelling
LevellingLevelling
Levelling
 
Entropy
EntropyEntropy
Entropy
 
Capacitors
CapacitorsCapacitors
Capacitors
 
Steam and its properties
Steam and its propertiesSteam and its properties
Steam and its properties
 
FUNCTION CPU
FUNCTION CPUFUNCTION CPU
FUNCTION CPU
 

Dernier

Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Dr.Costas Sachpazis
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
rknatarajan
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Dernier (20)

University management System project report..pdf
University management System project report..pdfUniversity management System project report..pdf
University management System project report..pdf
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 

TEST of hypothesis

  • 1. SUBJECT: PROBABLITY AND INTRODUCTION TO STATISTICS (CODE-2142505) BE Second Level Second Semester (Self Finance) TOPIC: Test of Hypotheses Prepared By: GUJARAT TECHNOLOGY UNIVERSITY BIRLA VISHVAKARMA MAHAVIDYALAYA (ENGINEERING COLLEGE) VALLABH VIDYANAGAR Name Enrollment No Krushal Kakadiya 130080125006 Dhruvit Kardani 130080125007 Tirth Lad 130080125008 Milan Lakhani 130080125009 Vishal Lapsiwala 130080125010 Guided By: Prof. A.H.Jariya
  • 2. Significance Testing  Also called “hypothesis testing”  Objective: to test a claim about parameter μ  Procedure: A. State hypotheses H0 and Ha B. Calculate test statistic C. Convert test statistic to P-value and interpret D. Consider significance level (optional)
  • 3. Hypotheses  H0 (null hypothesis) claims “no difference”  Ha (alternative hypothesis) contradicts the null  Example: We test whether a population gained weight on average… H0: no average weight gain in population Ha: H0 is wrong (i.e., “weight gain”)  Next  collect data  quantify the extent to which the data provides evidence against H0
  • 4. One-Sample Test of Mean  To test a single mean, the null hypothesis is H0: μ = μ0, where μ0 represents the “null value” (null value comes from the research question, not from data!)  The alternative hypothesis can take these forms: Ha: μ > μ0 (one-sided to right) or Ha: μ < μ0 (one-side to left) or Ha: μ ≠ μ0 (two-sided)  For the weight gain illustrative example: H0: μ = 0 Ha: μ > 0 (one-sided) or Ha: μ ≠ μ0 (two-sided) Note: μ0 = 0 in this example
  • 5. Illustrative Example: Weight Gain  Let X ≡ weight gain  X ~N(μ, σ = 1), the value of μ unknown  Under H0, μ = 0  Take SRS of n = 10  σx-bar = 1 / √(10) = 0.316  Thus, under H0 x-bar~N(0, 0.316) . Figure: Two possible xbars when H0 true
  • 6. T test for two samples  What is the probability that two samples have the same mean? Sample A Sample B 1 1 3 2 5 5 5 4 7 8 9 9 10 10 Sample Mean 5.714286 5.571429
  • 7. The T test Analysis  Go to the Data tab  Click on data analysis  Select t-Test for Two-Sample(s) with Equal Variance
  • 8. With Our Data and .05 Confidence Level t stat = 0.08 t critical for two- tail (H1 = not equal) = 2.18. T stat < t Critical, so do not reject the null hypothesis of equal means. Also, α is 0.94, which is far larger than .05
  • 9. T Test: Two-Sample, Equal Variance  If the variances of the two samples are believed to be the same, use this option.  It is the strongest t test—most likely to reject the null hypothesis of equality if the means really are different.
  • 10. T Test: Two-Sample, Unequal Variance  Does not require equal variances  Use if you know they are unequal  Use is you do not feel that you should assume equality  You lose some discriminatory power  Slightly less likely to reject the null hypothesis of equality if it is true
  • 11. T Test: Two-Sample, Paired  In the sampling, the each value in one distribution is paired with a value in the other distribution on some basis.  For example, equal ability on some skill.
  • 12. z Test for Two Sample Means  Population standard deviation is unknown.  Must compute the sample variances.
  • 13. z test  Data tab  Data analysis  z test sample for two means. 13 Z value is greater than z Critical for two tails (not equal), so reject the null hypothesis of the means being equal. Also, α = 2.31109E-08 < .05, so reject.
  • 14. Chi-Square Test  A fundamental problem is genetics is determining whether the experimentally determined data fits the results expected from theory.
  • 15. Goodness of Fit  Mendel has no way of solving this problem. Shortly after the rediscovery of his work in 1900, Karl Pearson and R.A. Fisher developed the “chi-square” test for this purpose.  The chi-square test is a “goodness of fit” test: it answers the question of how well do experimental data fit expectations.  We start with a theory for how the offspring will be distributed: the “null hypothesis”. We will discuss the offspring of a self-pollination of a heterozygote. The null hypothesis is that the offspring will appear in a ratio of 3/4 dominant to 1/4 recessive.
  • 16. Formula  The “Χ” is the Greek letter chi; the “∑” is a sigma; it means to sum the following terms for all phenotypes. “obs” is the number of individuals of the given phenotype observed; “exp” is the number of that phenotype expected from the null hypothesis.  Note that you must use the number of individuals, the counts, and NOT proportions, ratios, or frequencies.    exp exp)( 2 2 obs

Notes de l'éditeur

  1. Monday, June 29, 2015