non parametric tests
DESCRIPTION
Educational material showing how to conduct various non-parametric tests in SPSS(reuploaded from other place)TRANSCRIPT
![Page 1: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/1.jpg)
By Hui Bian
Office for Faculty Excellence
![Page 2: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/2.jpg)
A parametric statistical test is a test whose model specifies certain conditions about the parameters of the population from which the research sample was drawn. Conditions include:
The observations must be independent.
The observations must be drawn from normally distributed populations
These populations must have the same variances
Variables involved must have been measured in at least an interval scale.
![Page 3: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/3.jpg)
A non-parametric statistical test is a test whose model does NOT specify conditions about the parameters of the population from which the sample was drawn.
Do not require measurement so strong as that required for the parametric tests.
Most non-parametric tests apply to data in an ordinal scale, and some apply to data in nominal scale.
![Page 4: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/4.jpg)
Why non-parametric tests? They do not make numerous or stringent assumptions about parameters.
Or call those tests distribution-free
![Page 5: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/5.jpg)
Statistical reference is concerned two types of problem:
Estimation of population parameters
Tests of hypotheses
When the data under analysis are met those assumptions for parametric tests, we should choose parametric tests because they are more powerful than non-parametric tests.
![Page 6: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/6.jpg)
Non-parametric tests focus on order or ranking Data are changed from scores to ranks or signs
A parametric test focuses on the mean difference, and equivalent non-parametric test focuses on the difference between medians.
![Page 7: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/7.jpg)
![Page 8: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/8.jpg)
Three types of tests A one-sample test analyzes one field.
A test for related samples compares two or more fields for the same set of cases.
An independent-samples test analyzes one field that is grouped by categories of another field.
![Page 9: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/9.jpg)
What is your objective? Automatically compare observed data to hypothesized. Binomial test: categorical fields with only two categories; Chi-Square test: all other categorical fields; and Kolmogorov-Smirnov test: continuous fields.
Test sequence for randomness. Runs test: test the observed sequence of data values for randomness.
Custom analysis. Manually choose your test (Click Settings tab). This setting is automatically selected if you subsequently make changes to options on the Settings tab that are incompatible with the currently selected objective.
![Page 10: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/10.jpg)
How to run one-sample nonparametric tests Go to Analyze > Nonparametric Tests > One Sample
![Page 11: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/11.jpg)
Example 1: Binomial test (variable with only two categories)
We want to know if there is no difference between the proportion of males and females (H0).
Use Q2 (gender) as Field variable
![Page 12: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/12.jpg)
Binomial test: Click Field tab, then click Run
![Page 13: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/13.jpg)
SPSS output of binomial test
the proportions of females and males in this sample significantly differ.
![Page 14: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/14.jpg)
Double click the table in the output, we can get a new window called Model Viewer
Model Viewer
![Page 15: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/15.jpg)
Another way to get Binomial test Go to Analyze > Nonparametric Tests > Legacy Dialogue > Binomial Test
![Page 16: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/16.jpg)
SPSS Output
![Page 17: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/17.jpg)
Chi-square goodness of fit: it allows us to test whether the observed proportions for a categorical variable differ from hypothesized proportions.
Example: we want to know whether the four grade levels have equal frequencies.
Use Q3r (has four grade levels: 9th, 10th, 11th, and 12th)
We can let SPSS automatically choose expected values for us (the probability should be 25% for each grade level)
![Page 18: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/18.jpg)
We can also customize our analysis
Objective: customize analysis
Fields: Q3r
Settings: Choose Customize tests, check the second box
![Page 19: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/19.jpg)
Click Options: we want equal probability
In the Category column, specify category values. In the Relative Frequency column, specify a value greater than 0 for each category. Custom frequencies are treated as ratios so that, for example, specifying frequencies 1, 2, and 3 is equivalent to specifying frequencies 10, 20, and 30, and both specify that 1/6 of the records are expected to fall into the first category, 1/3 into the second, and 1/2 into the third.
![Page 20: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/20.jpg)
SPSS Output
![Page 21: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/21.jpg)
Kolmogorov-Smirnov test: it is applied to continuous fields. This produces a one-sample test of whether the sample cumulative distribution function for a field is homogenous with a uniform, normal, Poisson, or exponential distribution.
Example: we want to know If Q30 has a normal distribution.
![Page 22: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/22.jpg)
We can let SPSS automatically choose test for us or customize analysis
Q30 is a continuous variable.
![Page 23: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/23.jpg)
Click Options: check Normal
![Page 24: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/24.jpg)
SPSS outputs
![Page 25: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/25.jpg)
One sample median test: Wilcoxon signed rank test that allows us to test whether a sample median differs significantly from a hypothesized value.
Example: we use Q80 as a field. We want to know whether the median of Q80 differs from 3.
![Page 26: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/26.jpg)
Click settings
![Page 27: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/27.jpg)
SPSS Outputs
![Page 28: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/28.jpg)
Independent sample nonparametric tests identify differences between two or more groups using one or more nonparametric tests. Nonparametric tests do not assume your data follow the normal distribution.
2 Independent samples: grouping variable has two categories.
K Independent samples: grouping variable has more than two (k) categories
![Page 29: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/29.jpg)
2 Independent samples
Example: we want to know whether there are gender difference on Q30 and Q80
Go to analyze > Nonparametric Test > Legacy Dialogue > 2 Independent Samples
![Page 30: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/30.jpg)
Another way to run the analysis
Go to Analyze > Non Parametric Tests > Independent Samples
Choose Automatically compare distributions across groups
![Page 31: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/31.jpg)
![Page 32: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/32.jpg)
Click Settings
![Page 33: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/33.jpg)
We can let SPSS make decision for us.
We also can customize tests Mann-Whitney U for two groups
Kruskal-Wallis 1-way ANOVA for more than two groups
![Page 34: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/34.jpg)
2 Independent samples
SPSS Outputs
![Page 35: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/35.jpg)
SPSS Outputs
![Page 36: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/36.jpg)
K Independent samples (more than two groups)
Example: we want to know whether there are grade (Q3r) difference on Q30 and Q80
Go to analyze > Nonparametric Test > Legacy Dialogue > K Independent Samples
![Page 37: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/37.jpg)
Another way to analyze data
![Page 38: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/38.jpg)
K Independent samples: SPSS output
![Page 39: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/39.jpg)
SPSS Output
![Page 40: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/40.jpg)
2 Related samples: Wilcoxon signed rank sum test (identify differences between two related fields).
Example: we want to know whether there is a difference between pre and post test scores of drug use (assume Q30 is a pre score and Q41 is a post score)
Go to Analyze > Nonparametric Tests > Legacy Dialogue > 2 Related Samples
![Page 41: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/41.jpg)
2 Related samples
![Page 42: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/42.jpg)
2 Related samples : SPSS Outputs
![Page 43: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/43.jpg)
Another way to analyze data
Go to Analyze > Nonparametric Tests > Related Samples
![Page 44: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/44.jpg)
Click Settings
![Page 45: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/45.jpg)
McNemar’s test (2 samples): test for change in binary data.
Cochran’s Q (k samples) can be applied to categorical fields.
Test change for Multinomial data (2 samples): applied to ordinal fields.
Compare median difference to hypothesized (2 samples): applied to continuous fields.
Estimate confidence interval (2 samples): median difference of related samples
![Page 46: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/46.jpg)
Quantity association (k samples): produces a measure of agreement among judges or raters.
Compare distributions (k samples): applied to continuous fields.
![Page 47: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/47.jpg)
SPSS Output
![Page 48: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/48.jpg)
K related samples
Example: we use Q30, Q41, and Q42 as three related fields to test the change.
![Page 49: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/49.jpg)
From Legacy Dialogue
![Page 50: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/50.jpg)
![Page 51: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/51.jpg)
SPSS output
![Page 52: Non Parametric Tests](https://reader030.vdocument.in/reader030/viewer/2022020118/55cf8dd5550346703b8bbc14/html5/thumbnails/52.jpg)