SlideShare a Scribd company logo
1 of 68
Quantitative Research Methods
Lecture 10
Nonparametric Statistics
1. Wilcoxon Rank Sum Test
2. Sign Test
3. Kruskal-Wallis Test
4. Friedman test
5. Spearman rank correlation
Statistical analyses
ā€¢ Group differences (nominal variable) on one interval
variable:
ā–« T-tests (2 groups)
ā–« ANOVA (3 or more groups)
ļ‚– One factor: one way ANOVA
ļ‚– Two factor: two way/factor ANOVA
ā€¢ The relationship between two nominal variable:
ā–« Chi-square test
ā€¢ The relationship between two interval variable:
ā–« Correlation, simple linear regression
ā€¢ The relationship between multiple interval variable on one
interval variable
ā–« Multiple regression
ā€¢ The relationship between multiple interval variable on one
nominal variable (yes/no)
ā–« Logistic regression
19.3
Nonparametric Tests
So far all statistics are dealing with nominal and interval
data.
Ordinal data is the result of a rating system such as
Excellent, good, fair, and poor
We can record the responses using any numbering system
as long as the order is maintained. For example,
Excellent = 4
Good = 3
Fair = 2
Poor = 1
19.4
Ordinal Dataā€¦
or
Excellent = 85
Good = 40
Fair = 25
Poor = 10
Both numbering systems are valid.
19.5
Ordinal Dataā€¦
The difference between interval and ordinal data is that with
interval data the differences are meaningful and consistent. With
ordinal data the differences between values has no meaning. For
example, what is the difference between Excellent and Good.
Is it
4-3 = 1 ?
or
85-40 = 45 ?
The answer is neither. All we can say about the difference
between Excellent and Good is that Excellent is ranked higher.
We cannot interpret the magnitude of the difference.
19.6
Nonparametric Statistics
When the data are ordinal, the mean is not an
appropriate measure of central location.
Instead, we will test characteristics of populations
without referring to specific parameters, hence the
term nonparametric.
Although nonparametric methods are designed to test
ordinal data, they have another area of application.
The statistical tests described before require that the
populations be normally distributed.
19.7
Nonparametric Statistics
If the data are extremely nonnormal, the t-tests are
invalid.
Nonparametric techniques can be used instead.
For this reason, nonparametric procedures are
often (perhaps more accurately) called
distribution-free statistics.
19.8
Nonparametric Statistics
In such circumstances we will treat the interval
data as if they were ordinal.
For this reason, even when the data are interval
and the mean is the appropriate measure of
location, we will choose instead to test
population locations.
Group differences (nominal variable) on one
interval variable:
T-tests (2 groups)
Independent T-test
Paired T-test
ANOVA (3 or more groups)
One factor: one way ANOVA
Two factor/ Two way (blocks) ANOVA
The relationship between two nominal
variable:
Chi-square test
The relationship between two interval
variable:
Correlation (Pearson), simple linear
regression
The relationship between multiple interval
variable on one interval variable
Multiple regression
The relationship between multiple interval
variable on one nominal variable (yes/no)
Logistic regression
Group difference on Ordinal, nonnormal
interval variable:
2 groups : Wilcoxon Rank Sum Test (Independent)
Matched Pairs: Sign Test (ordinal)
Wilcoxon sign test (interval)
3 or more groups:
Kruskal-Wallis Test
Friedman test (blocks)
The relationship between two Ordianl,
nonnormal variables
Spearman rank correlation
Parametric Nonparametric
Parametric and Nonparametric
19.10
Example 19.2
A pharmaceutical company is planning to introduce a new
painkiller. In a preliminary experiment to determine its
effectiveness, 30 people were randomly selected, of whom 15
were given the new painkiller and 15 were given aspirin. All 30
were told to use the drug when headaches or other minor pains
occurred and to indicate which of the following statements most
accurately represented the effectiveness of the drug they took.
5 = The drug was extremely effective.
4 = The drug was quite effective.
3 = The drug was somewhat effective.
2 = The drug was slightly effective.
1 = The drug was not at all effective.
19.11
Example 19.2
The responses are listed here (and stored in Xm19-02)
using the codes. Can we conclude at the 5% significance
level that the new painkiller is perceived to be more
effective?
New painkiller: 3, 5, 4, 3, 2, 5, 1, 4, 5, 3, 3, 5, 5, 5, 4
Aspirin: 4, 1, 3, 2, 4, 1, 3, 4, 2, 2, 2, 4, 3, 4, 5
19.12
Identifying Factors
Factors that identify the Wilcoxon Rank Sumā€¦
19.13
Example 19.2
The problem objective is to compare two populations.
The data are ordinal and the samples are independent.
The appropriate technique is the Wilcoxon rank sum
test.
If the drug is effective, weā€™d likely see its location ā€œto
the right ofā€ the location of aspirin users, hence:
H1: The location of population 1 is to the right
of the location of population 2, and so:
H0: The two population locations are the same.
19.14
Example 19.2
(though not shown here) The rank sum for the new
painkiller is T1=276.5, and the rank sum for
aspirin: T2=188.5
Set T= T1=276.5, and begin calculatingā€¦
19.15
Example 19.2
The p-value of the test is:
p-value = P(Z > 1.83) = .5 - .4664 = .0336
(or Z=1.83 > ZĪ± = Z.05 =1.645), hence:
ā€œThere is sufficient evidence to infer that
the new painkiller is perceived to be more
effective than aspirinā€
19.16
Using SPSS
19.17
Using SPSS
19.18
SPSS Output
1 tail is 0.033
19.19
Tests for Matched Pairs Experiments
We will now look at two nonparametric techniques (Sign
Test and Wilcoxon Signed Rank Sum Test) that test
hypotheses in problems with the following characteristics:
ā€” We want to compare two populations,
ā€” The data are either ordinal or interval (nonnormal),
ā€” and the samples are matched pairs.
As before, weā€™ll compute matched pair differences and work
from thereā€¦
19.20
Example 19.4
In an experiment to determine which of two cars is perceived to
have the more comfortable ride, 25 people rode (separately) in
the back seat of an expensive European model and also in the
back seat of a North American midsize car. Each of the 25 people
was asked to rate the ride on the following 5-point scale.
1 = Ride is very uncomfortable.
2 = Ride is quite uncomfortable.
3 = Ride is neither uncomfortable nor comfortable.
4 = Ride is quite comfortable.
5 = Ride is very comfortable.
The results are stored in Xm19-04. Do these data allow us to
conclude at the 5% significance level that the European car is
perceived to be more comfortable than the North American car?
19.21
Identifying Factors I
Factors that Identify the Sign Testā€¦
19.22
Example 19.4
The problem objective is to compare two populations. The
data are ordinal and the experimental design is matched
pairs. Thus the correct technique is the sign test. Because we
want to test whether there is enough evidence to infer that
the European car is perceived to have a smoother ride than
the North American car the hypotheses are
H0 :The two population locations are the same.
H1 : The location of population 1 (European car rating) is
to the right of the location of population 2 (North American
car rating)
19.23
Using SPSS
19.24
Using SPSS
19.25
SPSS Output
1 tail is 0.0173
19.26
Example 19.4
There is enough evidence to infer that the European car
is perceived to have a smoother ride than the North
American car the hypotheses are supported.
19.27
Checking the Required Conditions
The sign test requires:
ļƒ¼ The populations be similar in shape and
spread:
Sign Test required conditions:
1. Problem objective: compare two populations. the
two populations be identical in shape and spread.
2. Ordinal data
3. Matched pairs.
ļƒ¼ The sample size exceeds 10 (n=23).
0
5
10
1 2 3 4 5
Frequency
North American Car Rating
Histogram
0
5
10
1 2 3 4 5
Frequency
European Car Rating
Histogram
19.28
Example 19.5
Traffic congestion on roads and highways costs industry
billions of dollars annually as workers struggle to get to and
from work.
Several suggestions have been made about how to improve
this situation, one of which is called flextime, which
involves allowing workers to determine their own schedules
(provided they work a full shift).
Such workers will likely choose an arrival and departure
time to avoid rush-hour traffic.
19.29
Example 19.5
In a preliminary experiment designed to investigate such a
program the general manager of a large company wanted to
compare the times it took workers to travel from their homes to
work at 8:00 A.M. with travel time under the flextime program.
A random sample of 32 workers was selected. The employees
recorded the time (in minutes) it took to arrive at work at 8:00
A.M. on Wednesday of one week.
The following week, the same employees arrived at work at times
of their own choosing.
The travel time on Wednesday of that week was recorded.
19.30
Example 19.5
These results are listed in the Xm19-05. Can we
conclude at the 5% significance level that travel
times under the flextime program are different
from travel times to arrive at work at 8:00 A.M.?
19.31
Identifying Factors II
Factors that Identify the Wilcoxon Signed Rank Sum Testā€¦
19.32
Wilcoxon Signed Rank Sum Test
Weā€™ll use Wilcoxon Signed Rank Sum test when
we want to compare two populations of interval (but
not normally distributed) date in a matched pairs type
experiment.
j Compute paired differences, discard zeros.
k Rank absolute values of differences smallest (1)
to largest (n), averaging ranks of tied observations.
l Sum the ranks of positive differences (T+) and of
negative differences (Tā€“).
m Use T=T+ as our test statisticā€¦
19.33
Example 19.5
The appropriate technique is the Wilcoxon signed rank
sum test. Because we want to know whether the
population locations differ we have
H0: The two population locations are the same.
H1: The two population locations are different
This is a two-tail test.
19.34
Example 19.5
The Original Data
ranks of +ve differencesā€¦
ranks of -ve differencesā€¦
Rank Sums
Sorted ascending by |difference|
19.35
Using SPSS
19.36
SPSS Output
2 tailed as it tests the
difference of the two population
19.37
Example 19.5 Conclusion
There is not enough evidence to infer that
flextime commute times differ from 8:00 am start
commute times.
14.38
Kruskal-Wallis Test
ā€¢ Checking the Required Conditions of ANOVA
The F-test of the analysis of variance requires that the
random variable be normally distributed with equal
variances.
ā€¢ If the data are not normally distributed we can
replace the one-way analysis of variance with its
nonparametric counterpart, which is the
Kruskal-Wallis test.
19.39
Kruskal-Wallis Test
The Kruskal-Wallis test is applied to problems
where we want to compare two or more
populations of ordinal or nonnormal interval data
from independent samples.
Our hypotheses will be:
H0: The locations of all k populations are the same.
H1: At least two population locations differ.
19.40
Test Statistic
In order to calculate the Kruskal-Wallis test statistic, we
need to:
j Rank all the observations from smallest (1) to largest (n),
and average the ranks in the case of ties.
k We calculate rank sums for each sample: T1, T2, ā€¦, Tk
l Lastly, we calculate the test statistic (denoted H):
19.41
Sampling Distribution of the Test Statistic:
For sample sizes greater than or equal to 5, the test statistic
H is approximately Chi-squared distributed with kā€“1
degrees of freedom.
Our rejection region is:
And our p-value is:
19.42
Example GSS2008
Do Democrats, Independents, Republicans differ in the
number of times per week that they read newspaper?
PARTYID3: 1.Democrats, 2. Independents, 3. Republicans
NEWS: Do you read newspapersā€¦
1 = Every day,
2 = Few times per week,
3 = Once per week,
4 = Less than once per week,
5 = Never.
19.43
Example GSS2008
The problem objective is to compare three populations of
ordinal data (the ratings of the three shifts), and the
samples are independent. These factors are sufficient to
determine the use of the Kruskal-Wallis test. The null and
alternative hypotheses are
H0:The locations of all three populations are the same.
H1: At least two population locations differ
SPSS output
19.47
Using SPSS
ā€œThere is enough evidence to infer that a difference
in frequency on newspaper reading exists between
the three parties. ā€
19.48
Identifying Factors
Factors that Identify the Kruskal-Wallis Testā€¦
19.49
Friedman Test
The Friedman Test is a technique used to
compare two or more populations of ordinal or
nonnormal interval data that are generated from a
randomized block experiment.
The hypotheses are the same as in the Kruskal-
Wallis test.
H0: The locations of all k populations are the same.
H1: At least two population locations differ.
19.50
Friedman Test ā€“ Test Statistic
Since this is a blocked experiment, we first rank each
observation within each of b blocks from smallest to
largest (i.e. from 1 to k), averaging any ties. We then
compute the rank sums: T1, T2, ā€¦, Tk. The we calculate our
test statistic:
This test statistic is approximate Chi-squared with kā€“1
degrees of freedom (provided either k or b ā‰„ 5). Our
rejection region and p-value are:
19.51
Example 19.6
The personnel manager of a national accounting firm has been
receiving complaints from senior managers about the quality of recent
hirings. All new accountants are hired through a process whereby four
managers interview the candidate and rate her or him on several
dimensions, including academic credentials, previous work experience,
and personal suitability. Each manager then summarizes the results
and produces an evaluation of the candidate. There are five
possibilities:
1 The candidate is in the top 5% of applicants.
2 The candidate is in the top 10% of applicants, but not in the top 5%.
3 The candidate is in the top 25% of applicants, but not in the top 10%.
4 The candidate is in the top 50% of applicants, but not in the top 25%.
5 The candidate is in the bottom 50% of applicants.
19.52
Example 19.6
The evaluations are then combined in making the final
decision. The personnel manager believes that the
quality problem is caused by the evaluation system.
However, she needs to know whether there is general
agreement or disagreement between the interviewing
managers in their evaluations. To test for differences
between the managers, she takes a random sample of
the evaluations of eight applicants. The results are
shown below and stored in Xm19-06. What
conclusions can the personnel manager draw from
these data? Employ a 5% significance level.
19.53
Example 19.6
Manager
Applicant 1 2 3 4
1 2 1 2 2
2 4 2 3 2
3 2 2 2 3
4 3 1 3 2
5 3 2 3 5
6 2 2 3 4
7 4 1 5 5
8 3 2 5 3
Using SPSS
ā€¢ Analyze > Nonparametric Tests > Legacy Dialog
> K Related Samples
14.55
19.56
SPSS Output
The value of our Friedman test statistic is 12.864 and the p-
value is 0.005. Thus, there is sufficient evidence to reject
H0 in favor of H1.
It appears that the managersā€™
evaluations of applicants
do indeed differ
19.57
Spearman Rank Correlation Coefficient
Previously we looked at the t-test of the coefficient
of correlation ( ). In many situations, one or both
variables may be ordinal; or if both variables are
interval, the normality requirement may not be
satisfied.
In such cases, we measure and test to determine
whether a relationship exists by employing a
nonparametric technique, the Spearman
rank correlation coefficient.
19.58
Spearman Rank Correlation Coefficient
We are interested whether a relationship exists between the
two variables, hence the hypotheses to be tested are:
H0: = 0 (no linear pattern, hence no correlation)
H1: ā‰  0 (correlation; we can also do one-tail tests)
Since is a population parameter, our sample statistic is rs,
and is calculated as:
(where a and b are the ranks of x and y respectively)
[ is referred to as the Spearman correlation coefficient]
19.59
Spearman Rank Correlation Coefficient
The statistic rs is approximately normally
distributed with
ā€” a mean of zero, and
ā€” a standard deviation of
Hence our standardized test statistic is:
19.60
Example 19.7
The production manager of a firm wants to examine the
relationship between aptitude test scores given prior to hiring of
production-line workers and performance ratings received by the
employees 3 months after starting work. The results of the study
would allow the firm to decide how much weight to give to these
aptitude tests relative to other work-history information
obtained, including references. The aptitude test results range
from 0 to 100. The performance ratings are as follows:
1 = Employee has performed well below average.
2 = Employee has performed somewhat below average.
3 = Employee has performed at the average level.
4 = Employee has performed somewhat above average.
5 = Employee has performed well above average.
19.61
Example 19.7
A random sample of 20 production workers yielded the results
listed here. Can the firm's manager infer at the 5% significance
level that aptitude test scores are correlated with performance
rating?
Employee Aptitude Test Score Performance Rating
1 59 3
2 47 2
3 58 4
4 66 3
5 77 2
. . . .
.
Xm19-07
19.62
Example 19.7
The problem is weā€™re trying to correlate interval &
ordinal data. Weā€™ll treat the aptitude scores as
ordinal, and apply the Spearman rank correlation
coefficientā€¦
IDENTIFY
19.63
Example 19.7
We specify our hypotheses as:
H0: = 0
H1: ā‰  0
IDENTIFY
Spearman rank order correlation
19.65
SPSS output Example 19.7
INTERPRET
There is not enough evidence to believe that the aptitude test scores
and performance rating are related. This conclusion suggests that the
aptitude test should be improved to better measure the knowledge
and skill required by a production-line worker. If this proves
impossible, the aptitude test should be discarded.
19.66
Identifying Factors
Factors that Identify the Spearman Rank
Correlation Coefficient Testā€¦
Why do we learn?
ā€¢ Post course survey
ā€¢ https://dba902.wordpress.com/2018/11/14/pos
t-class/
Week 5 assignment
ā€¢ Reading Chapter 18-19
ā€¢ Assignment:
ā–« P680 16.139
ā–« P708 17.10
ā–« P723 17.57
ā–« P761 18.49
ā€¢ Data sets are available on blackboard. Due on
blackboard November 20th.

More Related Content

What's hot

Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisShailendra Tomar
Ā 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis pptElkana Rorio
Ā 
Chapter13
Chapter13Chapter13
Chapter13rwmiller
Ā 
Applications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationshipApplications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationshipRithish Kumar
Ā 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionHuma Ansari
Ā 
Introduction to Regression Analysis and R
Introduction to Regression Analysis and R   Introduction to Regression Analysis and R
Introduction to Regression Analysis and R Rachana Taneja Bhatia
Ā 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regressionzcreichenbach
Ā 
Nonparametric methods and chi square tests (1)
Nonparametric methods and chi square tests (1)Nonparametric methods and chi square tests (1)
Nonparametric methods and chi square tests (1)Shakeel Nouman
Ā 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysisNimrita Koul
Ā 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in RAlichy Sowmya
Ā 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easyWeam Banjar
Ā 
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...Smarten Augmented Analytics
Ā 
Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression AnalysisJ P Verma
Ā 
Scatterplots, Correlation, and Regression
Scatterplots, Correlation, and RegressionScatterplots, Correlation, and Regression
Scatterplots, Correlation, and RegressionLong Beach City College
Ā 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regressionJames Neill
Ā 
Simple linear regression
Simple linear regression Simple linear regression
Simple linear regression ShubhamBhardwaj195
Ā 

What's hot (20)

Simple & Multiple Regression Analysis
Simple & Multiple Regression AnalysisSimple & Multiple Regression Analysis
Simple & Multiple Regression Analysis
Ā 
Regression analysis ppt
Regression analysis pptRegression analysis ppt
Regression analysis ppt
Ā 
Chapter13
Chapter13Chapter13
Chapter13
Ā 
Applications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationshipApplications of regression analysis - Measurement of validity of relationship
Applications of regression analysis - Measurement of validity of relationship
Ā 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Ā 
Introduction to Regression Analysis and R
Introduction to Regression Analysis and R   Introduction to Regression Analysis and R
Introduction to Regression Analysis and R
Ā 
Correlation and regression
Correlation and regressionCorrelation and regression
Correlation and regression
Ā 
Nonparametric methods and chi square tests (1)
Nonparametric methods and chi square tests (1)Nonparametric methods and chi square tests (1)
Nonparametric methods and chi square tests (1)
Ā 
Correlation in Statistics
Correlation in StatisticsCorrelation in Statistics
Correlation in Statistics
Ā 
Linear regression analysis
Linear regression analysisLinear regression analysis
Linear regression analysis
Ā 
Regression analysis in R
Regression analysis in RRegression analysis in R
Regression analysis in R
Ā 
Chi Square & Anova
Chi Square & AnovaChi Square & Anova
Chi Square & Anova
Ā 
Regression analysis made easy
Regression analysis made easyRegression analysis made easy
Regression analysis made easy
Ā 
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...What is Simple Linear Regression and How Can an Enterprise Use this Technique...
What is Simple Linear Regression and How Can an Enterprise Use this Technique...
Ā 
Presentation on Regression Analysis
Presentation on Regression AnalysisPresentation on Regression Analysis
Presentation on Regression Analysis
Ā 
Regression
RegressionRegression
Regression
Ā 
Scatterplots, Correlation, and Regression
Scatterplots, Correlation, and RegressionScatterplots, Correlation, and Regression
Scatterplots, Correlation, and Regression
Ā 
Linearity cochran test
Linearity cochran testLinearity cochran test
Linearity cochran test
Ā 
Multiple linear regression
Multiple linear regressionMultiple linear regression
Multiple linear regression
Ā 
Simple linear regression
Simple linear regression Simple linear regression
Simple linear regression
Ā 

Similar to 10 Nonparamatric statistics

PRM project report
PRM project reportPRM project report
PRM project reportneha singh
Ā 
Chapter 12
Chapter 12Chapter 12
Chapter 12Tuul Tuul
Ā 
Evaluation Of A Correlation Analysis Essay
Evaluation Of A Correlation Analysis EssayEvaluation Of A Correlation Analysis Essay
Evaluation Of A Correlation Analysis EssayCrystal Alvarez
Ā 
Chapter 12
Chapter 12Chapter 12
Chapter 12bmcfad01
Ā 
QNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.comQNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.comBromleyz33
Ā 
QNT 275 Exceptional Education - snaptutorial.com
QNT 275   Exceptional Education - snaptutorial.comQNT 275   Exceptional Education - snaptutorial.com
QNT 275 Exceptional Education - snaptutorial.comDavisMurphyB22
Ā 
Nonparametric tests assignment
Nonparametric tests assignmentNonparametric tests assignment
Nonparametric tests assignmentROOHASHAHID1
Ā 
Analysis of Variance
Analysis of Variance Analysis of Variance
Analysis of Variance jyothimonc
Ā 
Chi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupChi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupNeelam Zafar
Ā 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.pptHazelEdillor
Ā 
Qnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.comQnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.comBaileya33
Ā 
Elementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyElementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyAtcharaporn Khoomtong
Ā 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research dataAtula Ahuja
Ā 
3Nonparametric Tests power point presentationpdf
3Nonparametric Tests power point presentationpdf3Nonparametric Tests power point presentationpdf
3Nonparametric Tests power point presentationpdfMitikuTeka1
Ā 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantPRAJAKTASAWANT33
Ā 

Similar to 10 Nonparamatric statistics (20)

PRM project report
PRM project reportPRM project report
PRM project report
Ā 
Chapter 12
Chapter 12Chapter 12
Chapter 12
Ā 
Evaluation Of A Correlation Analysis Essay
Evaluation Of A Correlation Analysis EssayEvaluation Of A Correlation Analysis Essay
Evaluation Of A Correlation Analysis Essay
Ā 
Chapter 12
Chapter 12Chapter 12
Chapter 12
Ā 
UNIT 5.pptx
UNIT 5.pptxUNIT 5.pptx
UNIT 5.pptx
Ā 
QNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.comQNT 275 Inspiring Innovation / tutorialrank.com
QNT 275 Inspiring Innovation / tutorialrank.com
Ā 
QNT 275 Exceptional Education - snaptutorial.com
QNT 275   Exceptional Education - snaptutorial.comQNT 275   Exceptional Education - snaptutorial.com
QNT 275 Exceptional Education - snaptutorial.com
Ā 
Nonparametric tests assignment
Nonparametric tests assignmentNonparametric tests assignment
Nonparametric tests assignment
Ā 
Analysis of Variance
Analysis of Variance Analysis of Variance
Analysis of Variance
Ā 
Chi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & groupChi square and t tests, Neelam zafar & group
Chi square and t tests, Neelam zafar & group
Ā 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.ppt
Ā 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.ppt
Ā 
chi sqare test.ppt
chi sqare test.pptchi sqare test.ppt
chi sqare test.ppt
Ā 
chapter18.ppt
chapter18.pptchapter18.ppt
chapter18.ppt
Ā 
Qnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.comQnt 275 Enhance teaching / snaptutorial.com
Qnt 275 Enhance teaching / snaptutorial.com
Ā 
Elementary statistics for Food Indusrty
Elementary statistics for Food IndusrtyElementary statistics for Food Indusrty
Elementary statistics for Food Indusrty
Ā 
elementary statistic
elementary statisticelementary statistic
elementary statistic
Ā 
Analyzing experimental research data
Analyzing experimental research dataAnalyzing experimental research data
Analyzing experimental research data
Ā 
3Nonparametric Tests power point presentationpdf
3Nonparametric Tests power point presentationpdf3Nonparametric Tests power point presentationpdf
3Nonparametric Tests power point presentationpdf
Ā 
NON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta SawantNON-PARAMETRIC TESTS by Prajakta Sawant
NON-PARAMETRIC TESTS by Prajakta Sawant
Ā 

More from Penny Jiang

Step 9 Evaluating the Strategic Plan
Step 9 Evaluating the Strategic PlanStep 9 Evaluating the Strategic Plan
Step 9 Evaluating the Strategic PlanPenny Jiang
Ā 
Step 8 Implementing the Strategic Plan
Step 8 Implementing the Strategic PlanStep 8 Implementing the Strategic Plan
Step 8 Implementing the Strategic PlanPenny Jiang
Ā 
Step 7 Selecting Tactics
Step 7 Selecting TacticsStep 7 Selecting Tactics
Step 7 Selecting TacticsPenny Jiang
Ā 
Step 6 Developing the Message Strategy
Step 6 Developing the Message StrategyStep 6 Developing the Message Strategy
Step 6 Developing the Message StrategyPenny Jiang
Ā 
Chinese calligraphy
Chinese calligraphyChinese calligraphy
Chinese calligraphyPenny Jiang
Ā 
7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square testPenny Jiang
Ā 
6 estimation hypothesis testing t test
6 estimation hypothesis testing t test6 estimation hypothesis testing t test
6 estimation hypothesis testing t testPenny Jiang
Ā 
5 numerical descriptive statitics
5 numerical descriptive statitics5 numerical descriptive statitics
5 numerical descriptive statiticsPenny Jiang
Ā 
4 sampling
4 sampling4 sampling
4 samplingPenny Jiang
Ā 
3 survey, questionaire, graphic techniques
3 survey, questionaire, graphic techniques3 survey, questionaire, graphic techniques
3 survey, questionaire, graphic techniquesPenny Jiang
Ā 
2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniques2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniquesPenny Jiang
Ā 
1 introduction
1 introduction1 introduction
1 introductionPenny Jiang
Ā 
2 elements of design line
2 elements of design line2 elements of design line
2 elements of design linePenny Jiang
Ā 

More from Penny Jiang (13)

Step 9 Evaluating the Strategic Plan
Step 9 Evaluating the Strategic PlanStep 9 Evaluating the Strategic Plan
Step 9 Evaluating the Strategic Plan
Ā 
Step 8 Implementing the Strategic Plan
Step 8 Implementing the Strategic PlanStep 8 Implementing the Strategic Plan
Step 8 Implementing the Strategic Plan
Ā 
Step 7 Selecting Tactics
Step 7 Selecting TacticsStep 7 Selecting Tactics
Step 7 Selecting Tactics
Ā 
Step 6 Developing the Message Strategy
Step 6 Developing the Message StrategyStep 6 Developing the Message Strategy
Step 6 Developing the Message Strategy
Ā 
Chinese calligraphy
Chinese calligraphyChinese calligraphy
Chinese calligraphy
Ā 
7 anova chi square test
 7 anova chi square test 7 anova chi square test
7 anova chi square test
Ā 
6 estimation hypothesis testing t test
6 estimation hypothesis testing t test6 estimation hypothesis testing t test
6 estimation hypothesis testing t test
Ā 
5 numerical descriptive statitics
5 numerical descriptive statitics5 numerical descriptive statitics
5 numerical descriptive statitics
Ā 
4 sampling
4 sampling4 sampling
4 sampling
Ā 
3 survey, questionaire, graphic techniques
3 survey, questionaire, graphic techniques3 survey, questionaire, graphic techniques
3 survey, questionaire, graphic techniques
Ā 
2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniques2 statistics, measurement, graphical techniques
2 statistics, measurement, graphical techniques
Ā 
1 introduction
1 introduction1 introduction
1 introduction
Ā 
2 elements of design line
2 elements of design line2 elements of design line
2 elements of design line
Ā 

Recently uploaded

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
Ā 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxPoojaSen20
Ā 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
Ā 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
Ā 
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø9953056974 Low Rate Call Girls In Saket, Delhi NCR
Ā 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptxSherlyMaeNeri
Ā 
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...Nguyen Thanh Tu Collection
Ā 
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
Ā 
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
Ā 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
Ā 
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
Ā 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
Ā 
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
Ā 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
Ā 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
Ā 
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
Ā 
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
Ā 
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
Ā 

Recently uploaded (20)

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
Ā 
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptxCulture Uniformity or Diversity IN SOCIOLOGY.pptx
Culture Uniformity or Diversity IN SOCIOLOGY.pptx
Ā 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
Ā 
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
Ā 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
Ā 
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļøcall girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
call girls in Kamla Market (DELHI) šŸ” >ą¼’9953330565šŸ” genuine Escort Service šŸ”āœ”ļøāœ”ļø
Ā 
Judging the Relevance and worth of ideas part 2.pptx
Judging the Relevance  and worth of ideas part 2.pptxJudging the Relevance  and worth of ideas part 2.pptx
Judging the Relevance and worth of ideas part 2.pptx
Ā 
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Hį»ŒC Tį»T TIįŗ¾NG ANH 11 THEO CHĘÆĘ NG TRƌNH GLOBAL SUCCESS ĐƁP ƁN CHI TIįŗ¾T - Cįŗ¢ NĂ...
Ā 
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
Ā 
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
Ā 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
Ā 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
Ā 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
Ā 
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
Ā 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
Ā 
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
Ā 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
Ā 
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
Ā 
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
Ā 
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
Ā 

10 Nonparamatric statistics

  • 1. Quantitative Research Methods Lecture 10 Nonparametric Statistics 1. Wilcoxon Rank Sum Test 2. Sign Test 3. Kruskal-Wallis Test 4. Friedman test 5. Spearman rank correlation
  • 2. Statistical analyses ā€¢ Group differences (nominal variable) on one interval variable: ā–« T-tests (2 groups) ā–« ANOVA (3 or more groups) ļ‚– One factor: one way ANOVA ļ‚– Two factor: two way/factor ANOVA ā€¢ The relationship between two nominal variable: ā–« Chi-square test ā€¢ The relationship between two interval variable: ā–« Correlation, simple linear regression ā€¢ The relationship between multiple interval variable on one interval variable ā–« Multiple regression ā€¢ The relationship between multiple interval variable on one nominal variable (yes/no) ā–« Logistic regression
  • 3. 19.3 Nonparametric Tests So far all statistics are dealing with nominal and interval data. Ordinal data is the result of a rating system such as Excellent, good, fair, and poor We can record the responses using any numbering system as long as the order is maintained. For example, Excellent = 4 Good = 3 Fair = 2 Poor = 1
  • 4. 19.4 Ordinal Dataā€¦ or Excellent = 85 Good = 40 Fair = 25 Poor = 10 Both numbering systems are valid.
  • 5. 19.5 Ordinal Dataā€¦ The difference between interval and ordinal data is that with interval data the differences are meaningful and consistent. With ordinal data the differences between values has no meaning. For example, what is the difference between Excellent and Good. Is it 4-3 = 1 ? or 85-40 = 45 ? The answer is neither. All we can say about the difference between Excellent and Good is that Excellent is ranked higher. We cannot interpret the magnitude of the difference.
  • 6. 19.6 Nonparametric Statistics When the data are ordinal, the mean is not an appropriate measure of central location. Instead, we will test characteristics of populations without referring to specific parameters, hence the term nonparametric. Although nonparametric methods are designed to test ordinal data, they have another area of application. The statistical tests described before require that the populations be normally distributed.
  • 7. 19.7 Nonparametric Statistics If the data are extremely nonnormal, the t-tests are invalid. Nonparametric techniques can be used instead. For this reason, nonparametric procedures are often (perhaps more accurately) called distribution-free statistics.
  • 8. 19.8 Nonparametric Statistics In such circumstances we will treat the interval data as if they were ordinal. For this reason, even when the data are interval and the mean is the appropriate measure of location, we will choose instead to test population locations.
  • 9. Group differences (nominal variable) on one interval variable: T-tests (2 groups) Independent T-test Paired T-test ANOVA (3 or more groups) One factor: one way ANOVA Two factor/ Two way (blocks) ANOVA The relationship between two nominal variable: Chi-square test The relationship between two interval variable: Correlation (Pearson), simple linear regression The relationship between multiple interval variable on one interval variable Multiple regression The relationship between multiple interval variable on one nominal variable (yes/no) Logistic regression Group difference on Ordinal, nonnormal interval variable: 2 groups : Wilcoxon Rank Sum Test (Independent) Matched Pairs: Sign Test (ordinal) Wilcoxon sign test (interval) 3 or more groups: Kruskal-Wallis Test Friedman test (blocks) The relationship between two Ordianl, nonnormal variables Spearman rank correlation Parametric Nonparametric Parametric and Nonparametric
  • 10. 19.10 Example 19.2 A pharmaceutical company is planning to introduce a new painkiller. In a preliminary experiment to determine its effectiveness, 30 people were randomly selected, of whom 15 were given the new painkiller and 15 were given aspirin. All 30 were told to use the drug when headaches or other minor pains occurred and to indicate which of the following statements most accurately represented the effectiveness of the drug they took. 5 = The drug was extremely effective. 4 = The drug was quite effective. 3 = The drug was somewhat effective. 2 = The drug was slightly effective. 1 = The drug was not at all effective.
  • 11. 19.11 Example 19.2 The responses are listed here (and stored in Xm19-02) using the codes. Can we conclude at the 5% significance level that the new painkiller is perceived to be more effective? New painkiller: 3, 5, 4, 3, 2, 5, 1, 4, 5, 3, 3, 5, 5, 5, 4 Aspirin: 4, 1, 3, 2, 4, 1, 3, 4, 2, 2, 2, 4, 3, 4, 5
  • 12. 19.12 Identifying Factors Factors that identify the Wilcoxon Rank Sumā€¦
  • 13. 19.13 Example 19.2 The problem objective is to compare two populations. The data are ordinal and the samples are independent. The appropriate technique is the Wilcoxon rank sum test. If the drug is effective, weā€™d likely see its location ā€œto the right ofā€ the location of aspirin users, hence: H1: The location of population 1 is to the right of the location of population 2, and so: H0: The two population locations are the same.
  • 14. 19.14 Example 19.2 (though not shown here) The rank sum for the new painkiller is T1=276.5, and the rank sum for aspirin: T2=188.5 Set T= T1=276.5, and begin calculatingā€¦
  • 15. 19.15 Example 19.2 The p-value of the test is: p-value = P(Z > 1.83) = .5 - .4664 = .0336 (or Z=1.83 > ZĪ± = Z.05 =1.645), hence: ā€œThere is sufficient evidence to infer that the new painkiller is perceived to be more effective than aspirinā€
  • 19. 19.19 Tests for Matched Pairs Experiments We will now look at two nonparametric techniques (Sign Test and Wilcoxon Signed Rank Sum Test) that test hypotheses in problems with the following characteristics: ā€” We want to compare two populations, ā€” The data are either ordinal or interval (nonnormal), ā€” and the samples are matched pairs. As before, weā€™ll compute matched pair differences and work from thereā€¦
  • 20. 19.20 Example 19.4 In an experiment to determine which of two cars is perceived to have the more comfortable ride, 25 people rode (separately) in the back seat of an expensive European model and also in the back seat of a North American midsize car. Each of the 25 people was asked to rate the ride on the following 5-point scale. 1 = Ride is very uncomfortable. 2 = Ride is quite uncomfortable. 3 = Ride is neither uncomfortable nor comfortable. 4 = Ride is quite comfortable. 5 = Ride is very comfortable. The results are stored in Xm19-04. Do these data allow us to conclude at the 5% significance level that the European car is perceived to be more comfortable than the North American car?
  • 21. 19.21 Identifying Factors I Factors that Identify the Sign Testā€¦
  • 22. 19.22 Example 19.4 The problem objective is to compare two populations. The data are ordinal and the experimental design is matched pairs. Thus the correct technique is the sign test. Because we want to test whether there is enough evidence to infer that the European car is perceived to have a smoother ride than the North American car the hypotheses are H0 :The two population locations are the same. H1 : The location of population 1 (European car rating) is to the right of the location of population 2 (North American car rating)
  • 26. 19.26 Example 19.4 There is enough evidence to infer that the European car is perceived to have a smoother ride than the North American car the hypotheses are supported.
  • 27. 19.27 Checking the Required Conditions The sign test requires: ļƒ¼ The populations be similar in shape and spread: Sign Test required conditions: 1. Problem objective: compare two populations. the two populations be identical in shape and spread. 2. Ordinal data 3. Matched pairs. ļƒ¼ The sample size exceeds 10 (n=23). 0 5 10 1 2 3 4 5 Frequency North American Car Rating Histogram 0 5 10 1 2 3 4 5 Frequency European Car Rating Histogram
  • 28. 19.28 Example 19.5 Traffic congestion on roads and highways costs industry billions of dollars annually as workers struggle to get to and from work. Several suggestions have been made about how to improve this situation, one of which is called flextime, which involves allowing workers to determine their own schedules (provided they work a full shift). Such workers will likely choose an arrival and departure time to avoid rush-hour traffic.
  • 29. 19.29 Example 19.5 In a preliminary experiment designed to investigate such a program the general manager of a large company wanted to compare the times it took workers to travel from their homes to work at 8:00 A.M. with travel time under the flextime program. A random sample of 32 workers was selected. The employees recorded the time (in minutes) it took to arrive at work at 8:00 A.M. on Wednesday of one week. The following week, the same employees arrived at work at times of their own choosing. The travel time on Wednesday of that week was recorded.
  • 30. 19.30 Example 19.5 These results are listed in the Xm19-05. Can we conclude at the 5% significance level that travel times under the flextime program are different from travel times to arrive at work at 8:00 A.M.?
  • 31. 19.31 Identifying Factors II Factors that Identify the Wilcoxon Signed Rank Sum Testā€¦
  • 32. 19.32 Wilcoxon Signed Rank Sum Test Weā€™ll use Wilcoxon Signed Rank Sum test when we want to compare two populations of interval (but not normally distributed) date in a matched pairs type experiment. j Compute paired differences, discard zeros. k Rank absolute values of differences smallest (1) to largest (n), averaging ranks of tied observations. l Sum the ranks of positive differences (T+) and of negative differences (Tā€“). m Use T=T+ as our test statisticā€¦
  • 33. 19.33 Example 19.5 The appropriate technique is the Wilcoxon signed rank sum test. Because we want to know whether the population locations differ we have H0: The two population locations are the same. H1: The two population locations are different This is a two-tail test.
  • 34. 19.34 Example 19.5 The Original Data ranks of +ve differencesā€¦ ranks of -ve differencesā€¦ Rank Sums Sorted ascending by |difference|
  • 36. 19.36 SPSS Output 2 tailed as it tests the difference of the two population
  • 37. 19.37 Example 19.5 Conclusion There is not enough evidence to infer that flextime commute times differ from 8:00 am start commute times.
  • 38. 14.38 Kruskal-Wallis Test ā€¢ Checking the Required Conditions of ANOVA The F-test of the analysis of variance requires that the random variable be normally distributed with equal variances. ā€¢ If the data are not normally distributed we can replace the one-way analysis of variance with its nonparametric counterpart, which is the Kruskal-Wallis test.
  • 39. 19.39 Kruskal-Wallis Test The Kruskal-Wallis test is applied to problems where we want to compare two or more populations of ordinal or nonnormal interval data from independent samples. Our hypotheses will be: H0: The locations of all k populations are the same. H1: At least two population locations differ.
  • 40. 19.40 Test Statistic In order to calculate the Kruskal-Wallis test statistic, we need to: j Rank all the observations from smallest (1) to largest (n), and average the ranks in the case of ties. k We calculate rank sums for each sample: T1, T2, ā€¦, Tk l Lastly, we calculate the test statistic (denoted H):
  • 41. 19.41 Sampling Distribution of the Test Statistic: For sample sizes greater than or equal to 5, the test statistic H is approximately Chi-squared distributed with kā€“1 degrees of freedom. Our rejection region is: And our p-value is:
  • 42. 19.42 Example GSS2008 Do Democrats, Independents, Republicans differ in the number of times per week that they read newspaper? PARTYID3: 1.Democrats, 2. Independents, 3. Republicans NEWS: Do you read newspapersā€¦ 1 = Every day, 2 = Few times per week, 3 = Once per week, 4 = Less than once per week, 5 = Never.
  • 43. 19.43 Example GSS2008 The problem objective is to compare three populations of ordinal data (the ratings of the three shifts), and the samples are independent. These factors are sufficient to determine the use of the Kruskal-Wallis test. The null and alternative hypotheses are H0:The locations of all three populations are the same. H1: At least two population locations differ
  • 44.
  • 45.
  • 47. 19.47 Using SPSS ā€œThere is enough evidence to infer that a difference in frequency on newspaper reading exists between the three parties. ā€
  • 48. 19.48 Identifying Factors Factors that Identify the Kruskal-Wallis Testā€¦
  • 49. 19.49 Friedman Test The Friedman Test is a technique used to compare two or more populations of ordinal or nonnormal interval data that are generated from a randomized block experiment. The hypotheses are the same as in the Kruskal- Wallis test. H0: The locations of all k populations are the same. H1: At least two population locations differ.
  • 50. 19.50 Friedman Test ā€“ Test Statistic Since this is a blocked experiment, we first rank each observation within each of b blocks from smallest to largest (i.e. from 1 to k), averaging any ties. We then compute the rank sums: T1, T2, ā€¦, Tk. The we calculate our test statistic: This test statistic is approximate Chi-squared with kā€“1 degrees of freedom (provided either k or b ā‰„ 5). Our rejection region and p-value are:
  • 51. 19.51 Example 19.6 The personnel manager of a national accounting firm has been receiving complaints from senior managers about the quality of recent hirings. All new accountants are hired through a process whereby four managers interview the candidate and rate her or him on several dimensions, including academic credentials, previous work experience, and personal suitability. Each manager then summarizes the results and produces an evaluation of the candidate. There are five possibilities: 1 The candidate is in the top 5% of applicants. 2 The candidate is in the top 10% of applicants, but not in the top 5%. 3 The candidate is in the top 25% of applicants, but not in the top 10%. 4 The candidate is in the top 50% of applicants, but not in the top 25%. 5 The candidate is in the bottom 50% of applicants.
  • 52. 19.52 Example 19.6 The evaluations are then combined in making the final decision. The personnel manager believes that the quality problem is caused by the evaluation system. However, she needs to know whether there is general agreement or disagreement between the interviewing managers in their evaluations. To test for differences between the managers, she takes a random sample of the evaluations of eight applicants. The results are shown below and stored in Xm19-06. What conclusions can the personnel manager draw from these data? Employ a 5% significance level.
  • 53. 19.53 Example 19.6 Manager Applicant 1 2 3 4 1 2 1 2 2 2 4 2 3 2 3 2 2 2 3 4 3 1 3 2 5 3 2 3 5 6 2 2 3 4 7 4 1 5 5 8 3 2 5 3
  • 54.
  • 55. Using SPSS ā€¢ Analyze > Nonparametric Tests > Legacy Dialog > K Related Samples 14.55
  • 56. 19.56 SPSS Output The value of our Friedman test statistic is 12.864 and the p- value is 0.005. Thus, there is sufficient evidence to reject H0 in favor of H1. It appears that the managersā€™ evaluations of applicants do indeed differ
  • 57. 19.57 Spearman Rank Correlation Coefficient Previously we looked at the t-test of the coefficient of correlation ( ). In many situations, one or both variables may be ordinal; or if both variables are interval, the normality requirement may not be satisfied. In such cases, we measure and test to determine whether a relationship exists by employing a nonparametric technique, the Spearman rank correlation coefficient.
  • 58. 19.58 Spearman Rank Correlation Coefficient We are interested whether a relationship exists between the two variables, hence the hypotheses to be tested are: H0: = 0 (no linear pattern, hence no correlation) H1: ā‰  0 (correlation; we can also do one-tail tests) Since is a population parameter, our sample statistic is rs, and is calculated as: (where a and b are the ranks of x and y respectively) [ is referred to as the Spearman correlation coefficient]
  • 59. 19.59 Spearman Rank Correlation Coefficient The statistic rs is approximately normally distributed with ā€” a mean of zero, and ā€” a standard deviation of Hence our standardized test statistic is:
  • 60. 19.60 Example 19.7 The production manager of a firm wants to examine the relationship between aptitude test scores given prior to hiring of production-line workers and performance ratings received by the employees 3 months after starting work. The results of the study would allow the firm to decide how much weight to give to these aptitude tests relative to other work-history information obtained, including references. The aptitude test results range from 0 to 100. The performance ratings are as follows: 1 = Employee has performed well below average. 2 = Employee has performed somewhat below average. 3 = Employee has performed at the average level. 4 = Employee has performed somewhat above average. 5 = Employee has performed well above average.
  • 61. 19.61 Example 19.7 A random sample of 20 production workers yielded the results listed here. Can the firm's manager infer at the 5% significance level that aptitude test scores are correlated with performance rating? Employee Aptitude Test Score Performance Rating 1 59 3 2 47 2 3 58 4 4 66 3 5 77 2 . . . . . Xm19-07
  • 62. 19.62 Example 19.7 The problem is weā€™re trying to correlate interval & ordinal data. Weā€™ll treat the aptitude scores as ordinal, and apply the Spearman rank correlation coefficientā€¦ IDENTIFY
  • 63. 19.63 Example 19.7 We specify our hypotheses as: H0: = 0 H1: ā‰  0 IDENTIFY
  • 64. Spearman rank order correlation
  • 65. 19.65 SPSS output Example 19.7 INTERPRET There is not enough evidence to believe that the aptitude test scores and performance rating are related. This conclusion suggests that the aptitude test should be improved to better measure the knowledge and skill required by a production-line worker. If this proves impossible, the aptitude test should be discarded.
  • 66. 19.66 Identifying Factors Factors that Identify the Spearman Rank Correlation Coefficient Testā€¦
  • 67. Why do we learn? ā€¢ Post course survey ā€¢ https://dba902.wordpress.com/2018/11/14/pos t-class/
  • 68. Week 5 assignment ā€¢ Reading Chapter 18-19 ā€¢ Assignment: ā–« P680 16.139 ā–« P708 17.10 ā–« P723 17.57 ā–« P761 18.49 ā€¢ Data sets are available on blackboard. Due on blackboard November 20th.