SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Downloaden Sie, um offline zu lesen
Lecture 7
Test of Hypothesis for Small Sample
size
Dr. Ashish. C. Patel
Assistant Professor,
Dept. of Animal Genetics & Breeding,
Veterinary College, Anand
STAT-531
Data Analysis using Statistical Packages
Test of Hypothesis for Small Sample size (“t-test”)
• This test is used in case of small samples (Generally
n<30).
• Following are the assumption of the t-test:
1. The population is normal
2. Sample has been selected randomly
3. Sample size is small
4. Population standard deviation is not known.
• The t-statistic was introduced in 1908 by William
Sealy Gosset, a chemist working for the Guinness
brewery in Dublin, Ireland.
• Gosset had been hired due to Claude Guinness’s
policy of recruiting the best graduates from Oxford
and Cambridge to apply biochemistry and statistics
to Guinness’s industrial processes.
• Gosset planned the t-test as a cheap way to
monitor the quality of stout.
• The t-test work was submitted to and accepted in
the journal Biometrika, the journal that Karl
Pearson had co-founded and for which he served as
the Editor-in-Chief.
• The company allowed Gosset to publish his
mathematical work, but only if he used a
pseudonym (he chose “Student”).
• Gosset left Guinness on study-leave during the
first two terms of the 1906-1907 academic year
to study in Professor Karl Pearson’s Biometric
Laboratory at University College London.
• Gosset’s work on the t-test was published in
Biometrika in 1908.
• Although it was William Gosset after whom the
term "Student" is penned, it was actually through
the work of Ronald Fisher that the distribution
became well known as "Student's distribution"
and "Student's t-test".
Following are the main applications of t-test:
• To compare a sample mean with the population mean
(“Student’s” t- test)
• Comparison of two means from two independent
samples (Fisher’s-t test)
• Testing the significance of a mean difference in case of
paired observation (Paired t-test)
1. To compare a sample mean with the population mean
(“Student’s” t- test)
• The student t-distribution is used for testing hypotheses
about the population mean for a small sample (say n <
30) drawn from a normal population.
• The test statistic is a t random variable:
t =
EXERCISE 1. : The data are lactation milk yields of
10 cows. Is the arithmetic mean of the sample,
3800 kg, significantly different from 4000 kg? The
sample standard deviation is 500 kg.
The hypothetical mean is ÎĽ0 = 4000 kg and the hypotheses
are as follows:
Ho: μ = 4000 kg , Ha: μ ≠ 4000 kg
• The sample mean is = 3800 kg.
• The sample standard deviation is s = 500 kg.
• The standard error is: =
• The calculated value of the t-statistic is:
t = = = -1.26
•
• For α level of significance or upper limit of rejection =
0.05 and degrees of freedom (n – 1) = 9, the critical
value is tα/2 = –2.262.
• Since the calculated t = –1.26 is not more extreme
than the critical value tα/2 = –2.262, H0 is not rejected
with an α = 0.05 level of significance.
• The sample mean is not significantly different from
4000 kg.
•
2. Comparison of two means from two
independent samples when variances are
homogeneous (Fisher’s-t test)
• In experimental work generally it becomes necessary
to test whether the two samples differ from one-
another significantly in their means, or whether they
may be regarded as belonging to the same
population.
• Suppose we got two samples, X11, X12,…..,X1n1 and
X21,X22,…..X2n2 . The following statistics will be
calculated for testing the significance of the
difference between their means.
• = . = .
• = . = .
• =
• Where, is the pooled variance, also known as
combined variance and , are the variance of
sample 1 and 2 respectively.
• Now, t-test is given by the following equations :
• t =
• Where, D.F. = .
• EXERCISE 2: Two groups of 18 & 20 cows were fed two
different rations A and B respectively to determine
which of those two rations will yield more milk in
lactation. At the end of the experiment the following
sample means and variances (in thousand kg) were
calculated:
Ration A Ration B
Mean ( ) 5.50 6.80
Sample variance (s2) 0.206 0.379
Size (n) 18 20
Find out of there is any difference in the effect of
both the ration.
• The hypotheses for a two-sided test are:
• H0: μ1 – μ2 = 0
• H1: μ1 – μ2 ≠ 0
• To estimate pooled variance,
• = =
= 0.297
• The calculated value of the t statistic is :
t = =
• so, calculated t-value is -7.432. The critical value is
tα/2 = t0.025 = –2.03.
• Since the calculated value of t = –7.342 is more
extreme than the critical value –t0.025 = –2.03, the
null hypothesis is rejected with 0.05 level of
significance, which implies that feeding cows ration B
will cause them to give more milk than feeding
ration A.
iii). To compare the sample mean of paired samples
or dependent samples (Paired t-test)
• Under some circumstances two samples are not
independent of each other.
• A typical example is taking measurements on the same
animal before and after applying a treatment.
• The effect of the treatment can be thought of as the
average difference between the two measurements.
• The value of the second measurement is related to or
depends on the value of the first measurement.
• In that case the difference between measurements
before and after the treatment for each animal is
calculated and the mean of those differences is tested to
determine if it is significantly different from zero.
• Let di denote the difference for an animal i. The
test statistic for dependent samples is:
• t =
• where, and are the mean and standard
deviation of the differences, and n is the number
of animals. The testing procedure and definition of
critical values is as before, except that degrees of
freedom are (n – 1). For this test to be valid the
distribution of observations must be approximately
normal.
EXERCISE 5. The effect of a treatment is tested
on milk production of dairy cows. The cows
were in the same parity and stage of lactation.
The milk yields were measured before (1) and
after (2) administration of the treatment:
• Test that whether there is any effect of
treatment.
•
The hypotheses for a two-sided test in case of paired test are:
H0: μD = 0 H1: μD ≠ 0
n= 9, so = . = = 3.11
Measuremen
t
Cow
1
Cow
2
Cow
3
Cow
4
Cow
5
Cow
6
Cow
7
Cow
8
Cow
9
Total
1 27 45 38 20 22 50 40 33 18
2 31 54 43 28 21 49 41 34 20
Difference
(d)
04 09 05 08 -01 -01 01 01 02 28
d2 16 81 25 64 01 01 01 01 04 194
= =
( )
= 3.58
Now, calculated t-statistic is, t = = = 2.613
• The critical value for (n – 1) = 8 degrees of
freedom is t0.05 = 2.306. Since the calculated
value t = 2.553 is more extreme than the
critical value 2.306, the null hypothesis is
rejected with α = 0.05 level of significance.
The treatment thus influences milk yield.
T test in SPSS
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture
Small Sample t-Test Lecture

Weitere ähnliche Inhalte

Was ist angesagt?

Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Long Beach City College
 
Practice Test 4A Hypothesis Testing Solution
Practice Test 4A Hypothesis Testing SolutionPractice Test 4A Hypothesis Testing Solution
Practice Test 4A Hypothesis Testing SolutionLong Beach City College
 
Real Applications of Normal Distributions
Real Applications of Normal Distributions Real Applications of Normal Distributions
Real Applications of Normal Distributions Long Beach City College
 
Chapter15
Chapter15Chapter15
Chapter15rwmiller
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distributionSanjay Basukala
 
Two Variances or Standard Deviations
Two Variances or Standard DeviationsTwo Variances or Standard Deviations
Two Variances or Standard DeviationsLong Beach City College
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' TheoremLong Beach City College
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaLong Beach City College
 
Student t t est
Student t t estStudent t t est
Student t t estAshok Reddy
 
Probability concept and Probability distribution_Contd
Probability concept and Probability distribution_ContdProbability concept and Probability distribution_Contd
Probability concept and Probability distribution_ContdSouthern Range, Berhampur, Odisha
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsLong Beach City College
 

Was ist angesagt? (20)

Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance Estimating a Population Standard Deviation or Variance
Estimating a Population Standard Deviation or Variance
 
Z test
Z testZ test
Z test
 
Practice Test 4A Hypothesis Testing Solution
Practice Test 4A Hypothesis Testing SolutionPractice Test 4A Hypothesis Testing Solution
Practice Test 4A Hypothesis Testing Solution
 
Real Applications of Normal Distributions
Real Applications of Normal Distributions Real Applications of Normal Distributions
Real Applications of Normal Distributions
 
Chapter15
Chapter15Chapter15
Chapter15
 
The Standard Normal Distribution
The Standard Normal DistributionThe Standard Normal Distribution
The Standard Normal Distribution
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
 
Two Variances or Standard Deviations
Two Variances or Standard DeviationsTwo Variances or Standard Deviations
Two Variances or Standard Deviations
 
Complements and Conditional Probability, and Bayes' Theorem
 Complements and Conditional Probability, and Bayes' Theorem Complements and Conditional Probability, and Bayes' Theorem
Complements and Conditional Probability, and Bayes' Theorem
 
Two Means, Independent Samples
Two Means, Independent SamplesTwo Means, Independent Samples
Two Means, Independent Samples
 
Practice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anovaPractice test ch 10 correlation reg ch 11 gof ch12 anova
Practice test ch 10 correlation reg ch 11 gof ch12 anova
 
Mc namer test of correlation
Mc namer test of correlationMc namer test of correlation
Mc namer test of correlation
 
Chi Square & Anova
Chi Square & AnovaChi Square & Anova
Chi Square & Anova
 
Mc Nemar
Mc NemarMc Nemar
Mc Nemar
 
Student t t est
Student t t estStudent t t est
Student t t est
 
Probability concept and Probability distribution_Contd
Probability concept and Probability distribution_ContdProbability concept and Probability distribution_Contd
Probability concept and Probability distribution_Contd
 
Goodness of Fit Notation
Goodness of Fit NotationGoodness of Fit Notation
Goodness of Fit Notation
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
Probability Distributions
Probability DistributionsProbability Distributions
Probability Distributions
 

Ă„hnlich wie Small Sample t-Test Lecture

Test of significance
Test of significanceTest of significance
Test of significanceDr. Imran Zaheer
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptxssuser504dda
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdfShivakumar B N
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitativePandurangi Raghavendra
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethicsAbhishek Thakur
 
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 testdr.balan shaikh
 
Chapter11
Chapter11Chapter11
Chapter11rwmiller
 
t-test and one way ANOVA.ppt game.ppt
t-test and one way ANOVA.ppt game.pptt-test and one way ANOVA.ppt game.ppt
t-test and one way ANOVA.ppt game.pptMohammedAbdela7
 
Chapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxChapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxmccormicknadine86
 
ANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course materialANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course materialAmanuelIbrahim
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsSindhura Kopparthi
 
Sociology 601 class 7
Sociology 601 class 7Sociology 601 class 7
Sociology 601 class 7Rishabh Gupta
 
spss
spss spss
spss SHEZA18
 
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxChemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxHakimuNsubuga2
 
CHI SQUARE biostat easy explained .pptx
CHI SQUARE biostat easy explained    .pptxCHI SQUARE biostat easy explained    .pptx
CHI SQUARE biostat easy explained .pptxDrDeveshPandey1
 
Hypothesis and t-tests
Hypothesis and t-testsHypothesis and t-tests
Hypothesis and t-testsManvendra shrimal
 

Ă„hnlich wie Small Sample t-Test Lecture (20)

Test of significance
Test of significanceTest of significance
Test of significance
 
T- test .pptx
T- test .pptxT- test .pptx
T- test .pptx
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptx
 
Inferential Statistics.pdf
Inferential Statistics.pdfInferential Statistics.pdf
Inferential Statistics.pdf
 
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-testHypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _Two-sample t-test, Z-test, Proportion Z-test
 
Stat5 the t test
Stat5 the t testStat5 the t test
Stat5 the t test
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitative
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
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
 
Chapter11
Chapter11Chapter11
Chapter11
 
t-test and one way ANOVA.ppt game.ppt
t-test and one way ANOVA.ppt game.pptt-test and one way ANOVA.ppt game.ppt
t-test and one way ANOVA.ppt game.ppt
 
Chapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxChapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docx
 
ANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course materialANOVA_PDF.pdf biostatistics course material
ANOVA_PDF.pdf biostatistics course material
 
K.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f testsK.A.Sindhura-t,z,f tests
K.A.Sindhura-t,z,f tests
 
Chapter11
Chapter11Chapter11
Chapter11
 
Sociology 601 class 7
Sociology 601 class 7Sociology 601 class 7
Sociology 601 class 7
 
spss
spss spss
spss
 
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptxChemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
Chemometrics-ANALYTICAL DATA SIGNIFICANCE TESTS.pptx
 
CHI SQUARE biostat easy explained .pptx
CHI SQUARE biostat easy explained    .pptxCHI SQUARE biostat easy explained    .pptx
CHI SQUARE biostat easy explained .pptx
 
Hypothesis and t-tests
Hypothesis and t-testsHypothesis and t-tests
Hypothesis and t-tests
 

Mehr von Aashish Patel

P G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 RegressionP G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 RegressionAashish Patel
 
PG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data AnalysisPG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data AnalysisAashish Patel
 
PG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of Data
PG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of DataPG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of Data
PG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of DataAashish Patel
 
PG STAT 531 lecture 1 introduction about statistics and collection, compilati...
PG STAT 531 lecture 1 introduction about statistics and collection, compilati...PG STAT 531 lecture 1 introduction about statistics and collection, compilati...
PG STAT 531 lecture 1 introduction about statistics and collection, compilati...Aashish Patel
 
Chromosomal abeeration
Chromosomal abeerationChromosomal abeeration
Chromosomal abeerationAashish Patel
 
Cytoplasmic inheritance
Cytoplasmic inheritanceCytoplasmic inheritance
Cytoplasmic inheritanceAashish Patel
 
sex determination
sex determinationsex determination
sex determinationAashish Patel
 
sex linked inheritance, Sex Influence inheritance and sex limited characters
sex linked inheritance, Sex Influence inheritance and sex limited characterssex linked inheritance, Sex Influence inheritance and sex limited characters
sex linked inheritance, Sex Influence inheritance and sex limited charactersAashish Patel
 
Modification of Normal Mendelian ratios with Lethal gene effcets and Epistasis
Modification of Normal Mendelian ratios with Lethal gene effcets and EpistasisModification of Normal Mendelian ratios with Lethal gene effcets and Epistasis
Modification of Normal Mendelian ratios with Lethal gene effcets and EpistasisAashish Patel
 
karyotyping and cell division.ppt..
karyotyping and cell division.ppt..karyotyping and cell division.ppt..
karyotyping and cell division.ppt..Aashish Patel
 
Chromosome and its structure
Chromosome and its structureChromosome and its structure
Chromosome and its structureAashish Patel
 
Cell & Its Orgenells
Cell & Its OrgenellsCell & Its Orgenells
Cell & Its OrgenellsAashish Patel
 
Introduction of Animal Genetics & History of Genetics
Introduction of Animal Genetics & History of GeneticsIntroduction of Animal Genetics & History of Genetics
Introduction of Animal Genetics & History of GeneticsAashish Patel
 
X ray crystellography
X ray crystellographyX ray crystellography
X ray crystellographyAashish Patel
 
SAGE- Serial Analysis of Gene Expression
SAGE- Serial Analysis of Gene ExpressionSAGE- Serial Analysis of Gene Expression
SAGE- Serial Analysis of Gene ExpressionAashish Patel
 
Protein protein interaction
Protein protein interactionProtein protein interaction
Protein protein interactionAashish Patel
 
Nuclear magnetic resonance final
Nuclear magnetic resonance finalNuclear magnetic resonance final
Nuclear magnetic resonance finalAashish Patel
 
MASSIVELY PARELLEL SIGNATURE SEQUENCING
MASSIVELY PARELLEL SIGNATURE SEQUENCINGMASSIVELY PARELLEL SIGNATURE SEQUENCING
MASSIVELY PARELLEL SIGNATURE SEQUENCINGAashish Patel
 
Mass spectrometry final.pptx
Mass spectrometry final.pptxMass spectrometry final.pptx
Mass spectrometry final.pptxAashish Patel
 

Mehr von Aashish Patel (20)

P G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 RegressionP G STAT 531 Lecture 10 Regression
P G STAT 531 Lecture 10 Regression
 
PG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data AnalysisPG STAT 531 Lecture 4 Exploratory Data Analysis
PG STAT 531 Lecture 4 Exploratory Data Analysis
 
PG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of Data
PG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of DataPG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of Data
PG STAT 531 Lecture 3 Graphical and Diagrammatic Representation of Data
 
PG STAT 531 lecture 1 introduction about statistics and collection, compilati...
PG STAT 531 lecture 1 introduction about statistics and collection, compilati...PG STAT 531 lecture 1 introduction about statistics and collection, compilati...
PG STAT 531 lecture 1 introduction about statistics and collection, compilati...
 
Chromosomal abeeration
Chromosomal abeerationChromosomal abeeration
Chromosomal abeeration
 
Cytoplasmic inheritance
Cytoplasmic inheritanceCytoplasmic inheritance
Cytoplasmic inheritance
 
sex determination
sex determinationsex determination
sex determination
 
sex linked inheritance, Sex Influence inheritance and sex limited characters
sex linked inheritance, Sex Influence inheritance and sex limited characterssex linked inheritance, Sex Influence inheritance and sex limited characters
sex linked inheritance, Sex Influence inheritance and sex limited characters
 
Modification of Normal Mendelian ratios with Lethal gene effcets and Epistasis
Modification of Normal Mendelian ratios with Lethal gene effcets and EpistasisModification of Normal Mendelian ratios with Lethal gene effcets and Epistasis
Modification of Normal Mendelian ratios with Lethal gene effcets and Epistasis
 
Meiosis.ppt..
Meiosis.ppt..Meiosis.ppt..
Meiosis.ppt..
 
karyotyping and cell division.ppt..
karyotyping and cell division.ppt..karyotyping and cell division.ppt..
karyotyping and cell division.ppt..
 
Chromosome and its structure
Chromosome and its structureChromosome and its structure
Chromosome and its structure
 
Cell & Its Orgenells
Cell & Its OrgenellsCell & Its Orgenells
Cell & Its Orgenells
 
Introduction of Animal Genetics & History of Genetics
Introduction of Animal Genetics & History of GeneticsIntroduction of Animal Genetics & History of Genetics
Introduction of Animal Genetics & History of Genetics
 
X ray crystellography
X ray crystellographyX ray crystellography
X ray crystellography
 
SAGE- Serial Analysis of Gene Expression
SAGE- Serial Analysis of Gene ExpressionSAGE- Serial Analysis of Gene Expression
SAGE- Serial Analysis of Gene Expression
 
Protein protein interaction
Protein protein interactionProtein protein interaction
Protein protein interaction
 
Nuclear magnetic resonance final
Nuclear magnetic resonance finalNuclear magnetic resonance final
Nuclear magnetic resonance final
 
MASSIVELY PARELLEL SIGNATURE SEQUENCING
MASSIVELY PARELLEL SIGNATURE SEQUENCINGMASSIVELY PARELLEL SIGNATURE SEQUENCING
MASSIVELY PARELLEL SIGNATURE SEQUENCING
 
Mass spectrometry final.pptx
Mass spectrometry final.pptxMass spectrometry final.pptx
Mass spectrometry final.pptx
 

KĂĽrzlich hochgeladen

ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4JOYLYNSAMANIEGO
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsManeerUddin
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationRosabel UA
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 

KĂĽrzlich hochgeladen (20)

ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4Daily Lesson Plan in Mathematics Quarter 4
Daily Lesson Plan in Mathematics Quarter 4
 
Food processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture honsFood processing presentation for bsc agriculture hons
Food processing presentation for bsc agriculture hons
 
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
 
Activity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translationActivity 2-unit 2-update 2024. English translation
Activity 2-unit 2-update 2024. English translation
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 

Small Sample t-Test Lecture

  • 1. Lecture 7 Test of Hypothesis for Small Sample size Dr. Ashish. C. Patel Assistant Professor, Dept. of Animal Genetics & Breeding, Veterinary College, Anand STAT-531 Data Analysis using Statistical Packages
  • 2. Test of Hypothesis for Small Sample size (“t-test”) • This test is used in case of small samples (Generally n<30). • Following are the assumption of the t-test: 1. The population is normal 2. Sample has been selected randomly 3. Sample size is small 4. Population standard deviation is not known.
  • 3. • The t-statistic was introduced in 1908 by William Sealy Gosset, a chemist working for the Guinness brewery in Dublin, Ireland. • Gosset had been hired due to Claude Guinness’s policy of recruiting the best graduates from Oxford and Cambridge to apply biochemistry and statistics to Guinness’s industrial processes. • Gosset planned the t-test as a cheap way to monitor the quality of stout. • The t-test work was submitted to and accepted in the journal Biometrika, the journal that Karl Pearson had co-founded and for which he served as the Editor-in-Chief.
  • 4. • The company allowed Gosset to publish his mathematical work, but only if he used a pseudonym (he chose “Student”). • Gosset left Guinness on study-leave during the first two terms of the 1906-1907 academic year to study in Professor Karl Pearson’s Biometric Laboratory at University College London. • Gosset’s work on the t-test was published in Biometrika in 1908. • Although it was William Gosset after whom the term "Student" is penned, it was actually through the work of Ronald Fisher that the distribution became well known as "Student's distribution" and "Student's t-test".
  • 5. Following are the main applications of t-test: • To compare a sample mean with the population mean (“Student’s” t- test) • Comparison of two means from two independent samples (Fisher’s-t test) • Testing the significance of a mean difference in case of paired observation (Paired t-test)
  • 6. 1. To compare a sample mean with the population mean (“Student’s” t- test) • The student t-distribution is used for testing hypotheses about the population mean for a small sample (say n < 30) drawn from a normal population. • The test statistic is a t random variable: t =
  • 7. EXERCISE 1. : The data are lactation milk yields of 10 cows. Is the arithmetic mean of the sample, 3800 kg, significantly different from 4000 kg? The sample standard deviation is 500 kg. The hypothetical mean is ÎĽ0 = 4000 kg and the hypotheses are as follows: Ho: ÎĽ = 4000 kg , Ha: ÎĽ ≠ 4000 kg • The sample mean is = 3800 kg. • The sample standard deviation is s = 500 kg. • The standard error is: = • The calculated value of the t-statistic is: t = = = -1.26 •
  • 8. • For α level of significance or upper limit of rejection = 0.05 and degrees of freedom (n – 1) = 9, the critical value is tα/2 = –2.262. • Since the calculated t = –1.26 is not more extreme than the critical value tα/2 = –2.262, H0 is not rejected with an α = 0.05 level of significance. • The sample mean is not significantly different from 4000 kg. •
  • 9. 2. Comparison of two means from two independent samples when variances are homogeneous (Fisher’s-t test) • In experimental work generally it becomes necessary to test whether the two samples differ from one- another significantly in their means, or whether they may be regarded as belonging to the same population. • Suppose we got two samples, X11, X12,…..,X1n1 and X21,X22,…..X2n2 . The following statistics will be calculated for testing the significance of the difference between their means.
  • 10. • = . = . • = . = . • = • Where, is the pooled variance, also known as combined variance and , are the variance of sample 1 and 2 respectively. • Now, t-test is given by the following equations : • t = • Where, D.F. = .
  • 11. • EXERCISE 2: Two groups of 18 & 20 cows were fed two different rations A and B respectively to determine which of those two rations will yield more milk in lactation. At the end of the experiment the following sample means and variances (in thousand kg) were calculated: Ration A Ration B Mean ( ) 5.50 6.80 Sample variance (s2) 0.206 0.379 Size (n) 18 20 Find out of there is any difference in the effect of both the ration.
  • 12. • The hypotheses for a two-sided test are: • H0: ÎĽ1 – ÎĽ2 = 0 • H1: ÎĽ1 – ÎĽ2 ≠ 0 • To estimate pooled variance, • = = = 0.297 • The calculated value of the t statistic is : t = =
  • 13. • so, calculated t-value is -7.432. The critical value is tα/2 = t0.025 = –2.03. • Since the calculated value of t = –7.342 is more extreme than the critical value –t0.025 = –2.03, the null hypothesis is rejected with 0.05 level of significance, which implies that feeding cows ration B will cause them to give more milk than feeding ration A.
  • 14. iii). To compare the sample mean of paired samples or dependent samples (Paired t-test) • Under some circumstances two samples are not independent of each other. • A typical example is taking measurements on the same animal before and after applying a treatment. • The effect of the treatment can be thought of as the average difference between the two measurements. • The value of the second measurement is related to or depends on the value of the first measurement. • In that case the difference between measurements before and after the treatment for each animal is calculated and the mean of those differences is tested to determine if it is significantly different from zero.
  • 15. • Let di denote the difference for an animal i. The test statistic for dependent samples is: • t = • where, and are the mean and standard deviation of the differences, and n is the number of animals. The testing procedure and definition of critical values is as before, except that degrees of freedom are (n – 1). For this test to be valid the distribution of observations must be approximately normal.
  • 16. EXERCISE 5. The effect of a treatment is tested on milk production of dairy cows. The cows were in the same parity and stage of lactation. The milk yields were measured before (1) and after (2) administration of the treatment: • Test that whether there is any effect of treatment. •
  • 17. The hypotheses for a two-sided test in case of paired test are: H0: ÎĽD = 0 H1: ÎĽD ≠ 0 n= 9, so = . = = 3.11 Measuremen t Cow 1 Cow 2 Cow 3 Cow 4 Cow 5 Cow 6 Cow 7 Cow 8 Cow 9 Total 1 27 45 38 20 22 50 40 33 18 2 31 54 43 28 21 49 41 34 20 Difference (d) 04 09 05 08 -01 -01 01 01 02 28 d2 16 81 25 64 01 01 01 01 04 194 = = ( ) = 3.58 Now, calculated t-statistic is, t = = = 2.613
  • 18. • The critical value for (n – 1) = 8 degrees of freedom is t0.05 = 2.306. Since the calculated value t = 2.553 is more extreme than the critical value 2.306, the null hypothesis is rejected with α = 0.05 level of significance. The treatment thus influences milk yield.
  • 19. T test in SPSS