SlideShare una empresa de Scribd logo
1 de 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

Más contenido relacionado

La actualidad más candente

wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank testraj shekar
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewRizwan S A
 
Parametric tests
Parametric testsParametric tests
Parametric testsheena45
 
Non parametric methods
Non parametric methodsNon parametric methods
Non parametric methodsPedro Moreira
 
Non parametric test
Non parametric testNon parametric test
Non parametric testNeetathakur3
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsTransweb Global Inc
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Upama Dwivedi
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestSahil Jain
 
Introduction to ANOVA
Introduction to ANOVAIntroduction to ANOVA
Introduction to ANOVAAKASH GHANATE
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestAzmi Mohd Tamil
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testBPKIHS
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and sizeTarek Tawfik Amin
 

La actualidad más candente (20)

Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
wilcoxon signed rank test
wilcoxon signed rank testwilcoxon signed rank test
wilcoxon signed rank test
 
Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Parametric tests
Parametric testsParametric tests
Parametric tests
 
T test
T testT test
T test
 
Non parametric methods
Non parametric methodsNon parametric methods
Non parametric methods
 
Normality
NormalityNormality
Normality
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Mann Whitney U Test | Statistics
Mann Whitney U Test | StatisticsMann Whitney U Test | Statistics
Mann Whitney U Test | Statistics
 
Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)Brm (one tailed and two tailed hypothesis)
Brm (one tailed and two tailed hypothesis)
 
T test statistics
T test statisticsT test statistics
T test statistics
 
Wilcoxon Rank-Sum Test
Wilcoxon Rank-Sum TestWilcoxon Rank-Sum Test
Wilcoxon Rank-Sum Test
 
Introduction to ANOVA
Introduction to ANOVAIntroduction to ANOVA
Introduction to ANOVA
 
Data Analysis Using Spss T Test
Data Analysis Using Spss   T TestData Analysis Using Spss   T Test
Data Analysis Using Spss T Test
 
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate TestStudent's T-test, Paired T-Test, ANOVA & Proportionate Test
Student's T-test, Paired T-Test, ANOVA & Proportionate Test
 
Confidence interval
Confidence intervalConfidence interval
Confidence interval
 
t distribution, paired and unpaired t-test
t distribution, paired and unpaired t-testt distribution, paired and unpaired t-test
t distribution, paired and unpaired t-test
 
Non parametric test
Non parametric testNon parametric test
Non parametric test
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 

Similar a Non parametric presentation

Parametric vs non parametric test
Parametric vs non parametric testParametric vs non parametric test
Parametric vs non parametric testar9530
 
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 Dr. Rupendra Bharti
 
biki1 biostat.pdf
biki1 biostat.pdfbiki1 biostat.pdf
biki1 biostat.pdfGoogle
 
Non parametrict test
Non parametrict testNon parametrict test
Non parametrict testdobhalshiv
 
Alternatives to t test
Alternatives to t testAlternatives to t test
Alternatives to t testLONDIWE SHANGE
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxJoicePjiji
 
Friedman Test- A Presentation
Friedman Test- A PresentationFriedman Test- A Presentation
Friedman Test- A PresentationIrene Gabiana
 
bio statistics for clinical research
bio statistics for clinical researchbio statistics for clinical research
bio statistics for clinical researchRanjith Paravannoor
 
Week 7 spss 2 2013
Week 7 spss 2 2013Week 7 spss 2 2013
Week 7 spss 2 2013wawaaa789
 
non parametric test.pptx
non parametric test.pptxnon parametric test.pptx
non parametric test.pptxSoujanyaLk1
 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantPRAJAKTASAWANT33
 
Presentation chi-square test & Anova
Presentation   chi-square test & AnovaPresentation   chi-square test & Anova
Presentation chi-square test & AnovaSonnappan Sridhar
 
Non parametric test 8
Non parametric test 8Non parametric test 8
Non parametric test 8Sundar B N
 
tests of significance
tests of significancetests of significance
tests of significancebenita regi
 

Similar a 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
 
Non parametric test
Non parametric testNon parametric test
Non parametric 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
 
Parametric vs Non-Parametric
Parametric vs Non-ParametricParametric vs Non-Parametric
Parametric vs Non-Parametric
 

Último

week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptxJonalynLegaspi2
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxDhatriParmar
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...DhatriParmar
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptxmary850239
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxkarenfajardo43
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxSayali Powar
 
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
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfPrerana Jadhav
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...Nguyen Thanh Tu Collection
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
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
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17Celine George
 

Último (20)

week 1 cookery 8 fourth - quarter .pptx
week 1 cookery 8  fourth  -  quarter .pptxweek 1 cookery 8  fourth  -  quarter .pptx
week 1 cookery 8 fourth - quarter .pptx
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptxMan or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
Man or Manufactured_ Redefining Humanity Through Biopunk Narratives.pptx
 
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
Blowin' in the Wind of Caste_ Bob Dylan's Song as a Catalyst for Social Justi...
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx4.11.24 Poverty and Inequality in America.pptx
4.11.24 Poverty and Inequality in America.pptx
 
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptxGrade Three -ELLNA-REVIEWER-ENGLISH.pptx
Grade Three -ELLNA-REVIEWER-ENGLISH.pptx
 
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptxBIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.pptx
BIOCHEMISTRY-CARBOHYDRATE METABOLISM CHAPTER 2.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
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Narcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdfNarcotic and Non Narcotic Analgesic..pdf
Narcotic and Non Narcotic Analgesic..pdf
 
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
31 ĐỀ THI THỬ VÀO LỚP 10 - TIẾNG ANH - FORM MỚI 2025 - 40 CÂU HỎI - BÙI VĂN V...
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
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
 
How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17How to Fix XML SyntaxError in Odoo the 17
How to Fix XML SyntaxError in Odoo the 17
 

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)