SlideShare a Scribd company logo
1 of 27
By MURAD KHAN &
MUHAMMAD SALEEM
M.Phil Statistics
1st Semester
Department of statistics Abdul
Wali Khan Unicersity Mardan
KPK
NONPARAMETRIC TESTS
Presentation
Parametric or nonparametric – Determination
2
Type of
Data
Categorical
Metric
Are the data
approximatel
y normally
distributed?
Yes
No
Are the
variances of
populations
equal?
Nonparametric Tests
Parametric Tests
Nonparametric Tests
No Nonparametric Tests
Yes
What is Nonparametric Test?
 A method commonly used in statistics to test and
analyze ordinal or nominal data with small sample
sizes. Unlike parametric tests, nonparametric tests do
not require the researcher to make any assumptions
about the distribution of the population, and so are
sometimes referred to as a distribution-free method.
 Typically, this method will be used when the data has
an unknown distribution, is non-normal, or has a
sample size is so small that the central limit theorem
can't be applied to assume the distribution.
USAGE
 Decision making/ forecasting.
 Studying populations that take on a ranked order
(such as movie reviews receiving one to four
stars)
 Simple analysis.
Types of Non-parametric test
 Chi-square test (χ2):
 Used to compare between observed and expected data.
1. Test of goodness of fit
2. Test of independence
3. Test of homogeneity
 Kruskal-Wallis test-
 for testing whether samples originate from the same
distribution.
 used for comparing more than two samples that are
independent, or not related
 Alternative to ANOVA.
 Wilcoxon signed-rank-
 used when comparing two related samples or repeated
measurements on a single sample to assess whether their
population mean ranks differ.
 Median test-
 Use to test the null hypothesis that the medians of the
populations from which two samples are drawn are
identical.
 The data in sample is assigned to two groups, one
consisting of data whose values are higher than the
median value in the two groups combined, and the
other consisting of data whose values are at the
median or below
 Sign test:
 can be used to test the hypothesis that there is "no
difference in medians" between the continuous
distributions of two random variables X and Y,
 Fisher's exact test:
 test used in the analysis of contingency where sample
sizes are small
Situation
To use
Parametric
To use Non
parametric
1.Data type Ratio or Interval Ordinal or Nominal
2. Usual central measure Mean Median
3.Correlation test Pearson spearman
4.Independent measure
two groups
Independent measure t-
test
Mann whitny-test
5.Independent measure
more than two groups
6.Repeated Measure two
conditions
7.Repeated measure
more than two conditions
One way independent
measure ANOVA
Matched Pair t-test
One way repeated
measure
ANOVA
Kruskal –wallis test
Wilcoxon test
Friedman’s test
SPSS EXAMPLES
Binomial Test
 Say we wish to test whether the proportion of
females from the variable “gender” differs
significantly from 50%, i.e., from 0.5. We will
use the exact statement to produce the exact
p-values.
 Get the data. Follow the steps as shown below
Continue…..
Continue…..
 Get the variable gender in the test variable list.
Result
Since p value is 0.690 it is insignificant and we
fail to reject null hypothesis and conclude that
the proportion of females from the variable
“gender” does not differ significantly from 50%.
Run Test for Randomness
 Let’s see whether the variable “AGE” in the dataset below is
random or not.
 Follow the following steps.
Continue…..
Continue…..
 Select “AGE” in the test variables list.
Result
Now p value is 0.450. So it is not significant and
we can say that AGE is randomly selected.
One-Sample Kolmogorov-Smirnov
Test
 is used to test the null hypothesis that a
sample comes from a particular distribution.
 If we want to compare the distributions of two
variables, use the two-sample Kolmogorov-
Smirnov test in the Two-Independent-Samples
Tests procedure.
Continue…..
 Follow the following steps.
Continue…..
Click OK
Result
The p value is 0.993 which is insignificant and
therefore we can say that “AGE” have an
approximate normal distribution.
Two-Independent-Samples Tests
 The nonparametric tests for two independent samples
are useful for determining whether or not the values of
a particular variable differ between two groups.
 Open the dataset
Continue…..
 Let’s compare between design 1 and 2.
Continue…..
 Enter variable sales in test variable list and design in grouping variable.
Define
Group 2 and
1
Result
Now two p values are displayed, asymptotic which is appropriate
for large sample and exact which is independent of sample size.
Therefore we will take the exact p value i. e. 0.548 which is not
significant and we conclude that there is no significant difference
in sales between the design group 1 and group 2.
Multiple Independent Samples Tests
 We can test more than two Independent samples
Continue…..
Minimum: 1
and
Maximum: 4
Continue…..
P value is 0.004 which is significant. Therefore we conclude that there
is significant difference between the groups (meaning- at least two
groups are different)
Non parametric presentation

More Related Content

What's hot

Nonparametric tests
Nonparametric testsNonparametric tests
Nonparametric tests
Arun Kumar
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
Sachin Shekde
 
Parametric tests seminar
Parametric tests seminarParametric tests seminar
Parametric tests seminar
drdeepika87
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inference
zahidacademy
 

What's hot (20)

Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Null hypothesis
Null hypothesisNull hypothesis
Null hypothesis
 
Analysis of variance (ANOVA)
Analysis of variance (ANOVA)Analysis of variance (ANOVA)
Analysis of variance (ANOVA)
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
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
 
Significance test
Significance testSignificance test
Significance test
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
 
Nonparametric tests
Nonparametric testsNonparametric tests
Nonparametric tests
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Kruskal Wall Test
Kruskal Wall TestKruskal Wall Test
Kruskal Wall Test
 
Parametric Statistical tests
Parametric Statistical testsParametric Statistical tests
Parametric Statistical tests
 
Wilcoxon signed rank test
Wilcoxon signed rank testWilcoxon signed rank test
Wilcoxon signed rank test
 
Measures of dispersion
Measures of dispersionMeasures of dispersion
Measures of dispersion
 
Parametric tests seminar
Parametric tests seminarParametric tests seminar
Parametric tests seminar
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Introduction to ANOVA
Introduction to ANOVAIntroduction to ANOVA
Introduction to ANOVA
 
Standard error
Standard error Standard error
Standard error
 
Basis of statistical inference
Basis of statistical inferenceBasis of statistical inference
Basis of statistical inference
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 

Similar to Non parametric presentation

Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric test
ar9530
 
Alternatives to t test
Alternatives to t testAlternatives to t test
Alternatives to t test
LONDIWE SHANGE
 

Similar to Non parametric presentation (20)

Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric test
 
Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student Non parametric study; Statistical approach for med student
Non parametric study; Statistical approach for med student
 
F unit 5.pptx
F unit 5.pptxF unit 5.pptx
F unit 5.pptx
 
biki1 biostat.pdf
biki1 biostat.pdfbiki1 biostat.pdf
biki1 biostat.pdf
 
Non parametrict test
Non parametrict testNon parametrict test
Non parametrict test
 
Alternatives to t test
Alternatives to t testAlternatives to t test
Alternatives to t test
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
Parametric tests
Parametric  testsParametric  tests
Parametric tests
 
Friedman Test- A Presentation
Friedman Test- A PresentationFriedman Test- A Presentation
Friedman Test- A Presentation
 
bio statistics for clinical research
bio statistics for clinical researchbio statistics for clinical research
bio statistics for clinical research
 
Week 7 spss 2 2013
Week 7 spss 2 2013Week 7 spss 2 2013
Week 7 spss 2 2013
 
non parametric test.pptx
non parametric test.pptxnon parametric test.pptx
non parametric test.pptx
 
Parametric Test
Parametric TestParametric Test
Parametric Test
 
Amrita kumari
Amrita kumariAmrita kumari
Amrita kumari
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
 
Presentation chi-square test & Anova
Presentation   chi-square test & AnovaPresentation   chi-square test & Anova
Presentation chi-square test & Anova
 
Non parametric test 8
Non parametric test 8Non parametric test 8
Non parametric test 8
 
tests of significance
tests of significancetests of significance
tests of significance
 
t-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodologyt-test Parametric test Biostatics and Research Methodology
t-test Parametric test Biostatics and Research Methodology
 
Sample Size Estimation and Statistical Test Selection
Sample Size Estimation  and Statistical Test SelectionSample Size Estimation  and Statistical Test Selection
Sample Size Estimation and Statistical Test Selection
 

Recently uploaded

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 

Recently uploaded (20)

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 

Non parametric presentation

  • 1. By MURAD KHAN & MUHAMMAD SALEEM M.Phil Statistics 1st Semester Department of statistics Abdul Wali Khan Unicersity Mardan KPK NONPARAMETRIC TESTS Presentation
  • 2. Parametric or nonparametric – Determination 2 Type of Data Categorical Metric Are the data approximatel y normally distributed? Yes No Are the variances of populations equal? Nonparametric Tests Parametric Tests Nonparametric Tests No Nonparametric Tests Yes
  • 3. What is Nonparametric Test?  A method commonly used in statistics to test and analyze ordinal or nominal data with small sample sizes. Unlike parametric tests, nonparametric tests do not require the researcher to make any assumptions about the distribution of the population, and so are sometimes referred to as a distribution-free method.  Typically, this method will be used when the data has an unknown distribution, is non-normal, or has a sample size is so small that the central limit theorem can't be applied to assume the distribution.
  • 4. USAGE  Decision making/ forecasting.  Studying populations that take on a ranked order (such as movie reviews receiving one to four stars)  Simple analysis.
  • 5. Types of Non-parametric test  Chi-square test (χ2):  Used to compare between observed and expected data. 1. Test of goodness of fit 2. Test of independence 3. Test of homogeneity  Kruskal-Wallis test-  for testing whether samples originate from the same distribution.  used for comparing more than two samples that are independent, or not related  Alternative to ANOVA.  Wilcoxon signed-rank-  used when comparing two related samples or repeated measurements on a single sample to assess whether their population mean ranks differ.
  • 6.  Median test-  Use to test the null hypothesis that the medians of the populations from which two samples are drawn are identical.  The data in sample is assigned to two groups, one consisting of data whose values are higher than the median value in the two groups combined, and the other consisting of data whose values are at the median or below  Sign test:  can be used to test the hypothesis that there is "no difference in medians" between the continuous distributions of two random variables X and Y,  Fisher's exact test:  test used in the analysis of contingency where sample sizes are small
  • 7. Situation To use Parametric To use Non parametric 1.Data type Ratio or Interval Ordinal or Nominal 2. Usual central measure Mean Median 3.Correlation test Pearson spearman 4.Independent measure two groups Independent measure t- test Mann whitny-test 5.Independent measure more than two groups 6.Repeated Measure two conditions 7.Repeated measure more than two conditions One way independent measure ANOVA Matched Pair t-test One way repeated measure ANOVA Kruskal –wallis test Wilcoxon test Friedman’s test
  • 8. SPSS EXAMPLES Binomial Test  Say we wish to test whether the proportion of females from the variable “gender” differs significantly from 50%, i.e., from 0.5. We will use the exact statement to produce the exact p-values.  Get the data. Follow the steps as shown below
  • 10. Continue…..  Get the variable gender in the test variable list.
  • 11. Result Since p value is 0.690 it is insignificant and we fail to reject null hypothesis and conclude that the proportion of females from the variable “gender” does not differ significantly from 50%.
  • 12. Run Test for Randomness  Let’s see whether the variable “AGE” in the dataset below is random or not.  Follow the following steps.
  • 14. Continue…..  Select “AGE” in the test variables list.
  • 15. Result Now p value is 0.450. So it is not significant and we can say that AGE is randomly selected.
  • 16. One-Sample Kolmogorov-Smirnov Test  is used to test the null hypothesis that a sample comes from a particular distribution.  If we want to compare the distributions of two variables, use the two-sample Kolmogorov- Smirnov test in the Two-Independent-Samples Tests procedure.
  • 17. Continue…..  Follow the following steps.
  • 19. Result The p value is 0.993 which is insignificant and therefore we can say that “AGE” have an approximate normal distribution.
  • 20. Two-Independent-Samples Tests  The nonparametric tests for two independent samples are useful for determining whether or not the values of a particular variable differ between two groups.  Open the dataset
  • 21. Continue…..  Let’s compare between design 1 and 2.
  • 22. Continue…..  Enter variable sales in test variable list and design in grouping variable. Define Group 2 and 1
  • 23. Result Now two p values are displayed, asymptotic which is appropriate for large sample and exact which is independent of sample size. Therefore we will take the exact p value i. e. 0.548 which is not significant and we conclude that there is no significant difference in sales between the design group 1 and group 2.
  • 24. Multiple Independent Samples Tests  We can test more than two Independent samples
  • 26. Continue….. P value is 0.004 which is significant. Therefore we conclude that there is significant difference between the groups (meaning- at least two groups are different)