Its simple presentation of non parametric procedures through spss
Size: 1.14 MB
Language: en
Added: Jul 22, 2017
Slides: 27 pages
Slide Content
By MURAD KHAN & MUHAMMAD SALEEM M.Phil Statistics 1 st Semester NONPARAMETRIC TESTS Presentation
Parametric or nonparametric – Determination 2 Type of D ata Categorical Metric Are the data approximately normal ly 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. Test of goodness of fit Test of independence 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)