SlideShare a Scribd company logo
Statistical Methods for Non parametric
Continuous Variables
Yilma ch, ass.t prof bio HI
2/28/2023 1
Objective
At the end of the presentation you will able to:
 list non parametric statistical tests
 describe sign test
 test hypothess using sign test
2/28/2023 2
• Wilcoxon Sign test
2/28/2023 3
Introduction
• When your data do not satisfy the distributional
assumptions required by parametric procedures,
other statistical methods are needed that is Non
parametric statistics.
2/28/2023 4
• The distributional assumptions required for non- parametric
procedures are usually less specific than those required for
parametric procedures.
• Many non-parametric tests have less power than the
corresponding parametric tests.
• Because power should never be given up unless absolutely
necessary, non-parametric methods should not be used when
parametric methods are appropriate.
2/28/2023 5
Cont...
• The sign test is an example of one of these non parametric
tests.
• Do not rush to use the NPT
• If your outcome variable is not normal, try to normalize using
log or ln.
• If it is still not normalized, go to non parametric tests
2/28/2023 6
What is the Sign Test?
 The sign test compares the sizes of two groups.
 It is a non-parametric or ā€œdistribution-freeā€ test, which means
the test doesn’t assume the data comes from a particular
distribution, like the normal distribution.
 The sign test is an alternative to a one-sample t-test.
 It can also be used for ordered (ranked) categorical data.
2/28/2023 7
Cont...
 The sign test is used to test the null hypothesis that the median
of a distribution is equal to some hypothetical ( standard) value.
It can be used;
 in place of a one-sample t-test
 in place of a paired t-test or
 for ordered categorical data where a numerical scale is
inappropriate but where it is possible to rank the observations.
2/28/2023 8
Assumptions of sign test
1. data is non normally distributed
2. a random sample of independent measurement for a
population with unknown median
3. the variable of interest is continuous or ranked
ordinal scale of measurement
4. the one sample test handle non symmetric data set
(skewed either to right or left)
2/28/2023 9
procedure
• Let A and B represent two materials or treatments to be
compared.
• Let x and y represent measurements made on A and B.
• Let the number of pairs of observations be n.
• The n pairs of observations and their differences may be
denoted by:
(X1, Y1), (X2, y2), .....,(Xn, Yn) and
X1 - Y1, X2 - Y2 .............. Xn - Yn.
2/28/2023 10
Cont...
2/28/2023 11
Cont...
• The sign test is based on the signs of these differences.
• The letter Bs will be used to denote the number of times the
maximum sign has occurred.
• If some of the differences are zero, we can cancel the
observation.
• BS= Maxļ½›N+,N-ļ½
2/28/2023 12
• As an example of the type of data for which the sign test is
appropriate, we may consider the following yields of two
hybrid lines of corn obtained from several different
experiments.
• In this example N =28
N+ = 7
N- = 21
BS = Maxļ½›N+,N-ļ½
BS= 21
2/28/2023 13
• we can find the critical values and p-values of Bs from the sign
test table.
• if the p-value is less than significance level or alpha value,
reject the null hypothesis
P<α → reject the null hypothesis which states no median
difference.
2/28/2023 14
2/28/2023 15
Example Hypothesis testing using sign test
N
o
Driver
injury (x)
passenger
injury (y)
sign (+,-)
(x-y)
Driver
injury (x)
passenger
injury (y)
sign (+,-)
(x-y)
1. 42 35 + 36 37 -
2. 42 35 + 36 37 -
3. 34 45 - 43 58 -
4 34 45 - 40 42 -
5. 45 45 0 43 58 -
6. 40 42 - 37 41 -
7. 42 46 - 37 41 -
8. 43 58 - 44 57 -
9. 45 43 + 42 42 0
Test at 95% confidence interval that the driver injury is equal to
passengers injury.
2/28/2023 16
Step 1. Ho : driver injury = passenger injury
HA : driver injury ≠ passenger injury
Step 2. N=18-2 =16 ( two observations canceled)
N+ = 3
N- = 13
BS= Maxļ½›N+,N-ļ½
BS= 13
Step 3. appropriate test is sign test α=5%
step 4. find p value from the table
2/28/2023 17
p-value = 0.021
2/28/2023 18
Step 5. Interpretation
 0.021< 0.05 ( 0.021 is obtained from sign test table at n=16, BS
13 and alpha 0.05, which is 0.021
 P<α → reject the null hypothesis
 There for the drivers injury is not equal to the passengers injury.
2/28/2023 19
Exercise
The table below shows the hours of relief provided by two
analgesic drugs in 12 patients suffering from arthritis. Is there
any evidence that one drug provides longer relief than the other?
Test at 95% confidence interval.
2/28/2023 20
Solution
 In this case our null hypothesis is that the median difference is
zero.
 Our actual differences (Drug B - Drug A) are: +1.5, +2.1,
+0.3,āˆ’0.2, +2.6,āˆ’0.1, +1.8,āˆ’0.6, +1.5, +2.0, +2.3, +12.4
 Our actual median difference is 1.65 hours.
 N+ = 9, Nāˆ’ = 3, n = 12,
 Bs = max(Nāˆ’, N+) = 9
 Our p-value at n=12, Bs= 9 and alpha =0.05
(from tables) is p = 0.146
 We would conclude that there is no evidence for a difference
between the two treatments on relief of pain.
2/28/2023 21
Sign test with large sample size
large sample size = N > 30 we use Z test.
Z= (X ± 0.5) -N/2
0.5 *√N
where : X= no of fewer sign
N = total pair of sample
we can use Z= (X + 0.5) -N/2 if N/2 >X
0.5* √N
2/28/2023 22
find the p value of Z from the table then:
P <α → reject the null hypothesis
2/28/2023 23
Example
 A researcher has taken 50 pair of students for the study and
obtained the data.
 can you conclude from the data by using sign test that the
training of the two groups differ significantly?
 Given no of
+ve sign = 37
 -ve sign =12
 of 0 =1
 solution
 HO= the training of one group=training of the other.
 N= 37+12 = 49
 N/2= 49/2=24.5
2/28/2023 24
x= 12
As 24.5 > 12 we use the formula
Z= (X + 0.5) -N/2
1/2 √N
= (12 +0.5)- 24.5
1/2 √49 Z= -3.43
3.43 > 1.96 or -3.43 < -1.96
• p-value of Z= -3.43 = 0.0003.
• Since the hypothesis is two sided, multiply 0.0003*2= 0.0006
0.0006 < 0.05 and 0.01
so, reject the null hypothesis at 5% as well as at 1%.
• Hence, training of two groups differ significantly.
2/28/2023 25
2/28/2023 26

More Related Content

PPTX
The Sign Test
Sharlaine Ruth
Ā 
PPT
Two sample t-test
Stephen Lange
Ā 
PPTX
Sign test
sukhpal0015
Ā 
PPT
Brm (one tailed and two tailed hypothesis)
Upama Dwivedi
Ā 
PPTX
Lecture 11 Paired t test.pptx
shakirRahman10
Ā 
PPT
Mann Whitney U Test
John Barlow
Ā 
PPTX
Friedman test Stat
Kate Malda
Ā 
PPTX
Mann - Whitney U test.pptx
Melba Shaya Sweety
Ā 
The Sign Test
Sharlaine Ruth
Ā 
Two sample t-test
Stephen Lange
Ā 
Sign test
sukhpal0015
Ā 
Brm (one tailed and two tailed hypothesis)
Upama Dwivedi
Ā 
Lecture 11 Paired t test.pptx
shakirRahman10
Ā 
Mann Whitney U Test
John Barlow
Ā 
Friedman test Stat
Kate Malda
Ā 
Mann - Whitney U test.pptx
Melba Shaya Sweety
Ā 

What's hot (20)

PPTX
Parametric Statistical tests
Sundar B N
Ā 
PPTX
Wilcoxon signed rank test
Biswash Sapkota
Ā 
PPTX
The mann whitney u test
Regent University
Ā 
PPTX
Experimental Design | Statistics
Transweb Global Inc
Ā 
PPTX
Parametric Test
AmritaKumari83
Ā 
PPTX
Kruskal Wall Test
Khadijah Sohail
Ā 
PPT
Mann Whitney U Test | Statistics
Transweb Global Inc
Ā 
PPTX
Z-test
femymoni
Ā 
PPTX
Experimental design
Dr.D.Kavitha Prabakar
Ā 
PPTX
Advance Statistics - Wilcoxon Signed Rank Test
Joshua Batalla
Ā 
PPT
Analysis of covariance
mikko656
Ā 
PPTX
Anova - One way and two way
AbarnaPeriasamy3
Ā 
PDF
Multiple Correlation - Thiyagu
Thiyagu K
Ā 
PPSX
Chi squared test
Dhruv Patel
Ā 
PPTX
NON-PARAMETRIC TESTS by Prajakta Sawant
PRAJAKTASAWANT33
Ā 
PPT
Chi – square test
Dr.M.Prasad Naidu
Ā 
PPTX
Parametric tests
heena45
Ā 
PPTX
Least Significance Difference:Biostatics and Research Methodology
Nigar Kadar Mujawar,Womens College of Pharmacy,Peth Vadgaon,Kolhapur,416112
Ā 
PPTX
Regression
Buddy Krishna
Ā 
PPTX
Non parametric test
Neetathakur3
Ā 
Parametric Statistical tests
Sundar B N
Ā 
Wilcoxon signed rank test
Biswash Sapkota
Ā 
The mann whitney u test
Regent University
Ā 
Experimental Design | Statistics
Transweb Global Inc
Ā 
Parametric Test
AmritaKumari83
Ā 
Kruskal Wall Test
Khadijah Sohail
Ā 
Mann Whitney U Test | Statistics
Transweb Global Inc
Ā 
Z-test
femymoni
Ā 
Experimental design
Dr.D.Kavitha Prabakar
Ā 
Advance Statistics - Wilcoxon Signed Rank Test
Joshua Batalla
Ā 
Analysis of covariance
mikko656
Ā 
Anova - One way and two way
AbarnaPeriasamy3
Ā 
Multiple Correlation - Thiyagu
Thiyagu K
Ā 
Chi squared test
Dhruv Patel
Ā 
NON-PARAMETRIC TESTS by Prajakta Sawant
PRAJAKTASAWANT33
Ā 
Chi – square test
Dr.M.Prasad Naidu
Ā 
Parametric tests
heena45
Ā 
Least Significance Difference:Biostatics and Research Methodology
Nigar Kadar Mujawar,Womens College of Pharmacy,Peth Vadgaon,Kolhapur,416112
Ā 
Regression
Buddy Krishna
Ā 
Non parametric test
Neetathakur3
Ā 
Ad

Similar to SIGN TEST SLIDE.ppt (20)

PDF
Thesigntest
Khirod Barik
Ā 
PPTX
Non parametric-tests
Asmita Bhagdikar
Ā 
PPTX
MPhil clinical psy Non-parametric statistics.pptx
rodrickrajamanickam
Ā 
PPTX
Test of significance
Dr. Imran Zaheer
Ā 
PPTX
Non-parametric.pptx qualitative and quantity data
NuhaminTesfaye
Ā 
PPT
Test of hypothesis (z)
Marlon Gomez
Ā 
PPT
9-NON PARAMETRIC TEST in public health .ppt
DrPARVATHYVINOD
Ā 
PPT
Les5e ppt 11
Subas Nandy
Ā 
PPTX
non parametric tests.pptx
SreeLatha98
Ā 
PPT
Non-parametric presentationnnnnnnnnnnnnnn
narmadapati
Ā 
PPT
Nonparametric and Distribution- Free Statistics
Southern Range, Berhampur, Odisha
Ā 
DOC
Ch 12 SIGNIFICANT TESTrr.doc
AbedurRahman5
Ā 
PDF
Overview of statistics: Statistical testing (Part I)
Bioinformatics and Computational Biosciences Branch
Ā 
PPTX
examples in test.pptx H V VM CCFFFFFFFXF
pierresemeko1989
Ā 
PDF
Business Research Methods PPT - III
Ravinder Singh
Ā 
PPT
Nonparametric and Distribution- Free Statistics _contd
Southern Range, Berhampur, Odisha
Ā 
PPT
Student t t est
Ashok Reddy
Ā 
PPTX
NON-PARAMETRIC TESTS.pptx
DrLasya
Ā 
PPTX
Test of significance
Dr Bushra Jabeen
Ā 
PDF
Day 12 t test for dependent samples and single samples pdf
Elih Sutisna Yanto
Ā 
Thesigntest
Khirod Barik
Ā 
Non parametric-tests
Asmita Bhagdikar
Ā 
MPhil clinical psy Non-parametric statistics.pptx
rodrickrajamanickam
Ā 
Test of significance
Dr. Imran Zaheer
Ā 
Non-parametric.pptx qualitative and quantity data
NuhaminTesfaye
Ā 
Test of hypothesis (z)
Marlon Gomez
Ā 
9-NON PARAMETRIC TEST in public health .ppt
DrPARVATHYVINOD
Ā 
Les5e ppt 11
Subas Nandy
Ā 
non parametric tests.pptx
SreeLatha98
Ā 
Non-parametric presentationnnnnnnnnnnnnnn
narmadapati
Ā 
Nonparametric and Distribution- Free Statistics
Southern Range, Berhampur, Odisha
Ā 
Ch 12 SIGNIFICANT TESTrr.doc
AbedurRahman5
Ā 
Overview of statistics: Statistical testing (Part I)
Bioinformatics and Computational Biosciences Branch
Ā 
examples in test.pptx H V VM CCFFFFFFFXF
pierresemeko1989
Ā 
Business Research Methods PPT - III
Ravinder Singh
Ā 
Nonparametric and Distribution- Free Statistics _contd
Southern Range, Berhampur, Odisha
Ā 
Student t t est
Ashok Reddy
Ā 
NON-PARAMETRIC TESTS.pptx
DrLasya
Ā 
Test of significance
Dr Bushra Jabeen
Ā 
Day 12 t test for dependent samples and single samples pdf
Elih Sutisna Yanto
Ā 
Ad

More from SikoBikoAreru (15)

PPTX
pancytopenia.pptx neonatal hematologic disorder anemia platelate defficiency
SikoBikoAreru
Ā 
PPT
Neonatal nursing care for GZIT[Autosaved].ppt
SikoBikoAreru
Ā 
PPTX
Bishaw assigment of gastro intestinal disorder.pptx
SikoBikoAreru
Ā 
PPTX
seminar (1).pptx
SikoBikoAreru
Ā 
PPTX
Abnormal labor neonatal pg (1).pptx
SikoBikoAreru
Ā 
PPTX
oxygen (1).pptx
SikoBikoAreru
Ā 
PPTX
ppt lymphadenitis (1).pptx
SikoBikoAreru
Ā 
PPTX
mengititis (1).pptx
SikoBikoAreru
Ā 
PPT
MODULE5.3-STAFFDEVELOPEMENT (1).ppt
SikoBikoAreru
Ā 
PPT
Test Blue Print (2).ppt
SikoBikoAreru
Ā 
PPTX
managing change.pptx
SikoBikoAreru
Ā 
PPT
conflict management.ppt
SikoBikoAreru
Ā 
PPTX
Nursing Theory 4 PG.pptx
SikoBikoAreru
Ā 
PDF
subject bench marking&CD.pdf
SikoBikoAreru
Ā 
PPTX
Unit V-Learning Activities.pptx
SikoBikoAreru
Ā 
pancytopenia.pptx neonatal hematologic disorder anemia platelate defficiency
SikoBikoAreru
Ā 
Neonatal nursing care for GZIT[Autosaved].ppt
SikoBikoAreru
Ā 
Bishaw assigment of gastro intestinal disorder.pptx
SikoBikoAreru
Ā 
seminar (1).pptx
SikoBikoAreru
Ā 
Abnormal labor neonatal pg (1).pptx
SikoBikoAreru
Ā 
oxygen (1).pptx
SikoBikoAreru
Ā 
ppt lymphadenitis (1).pptx
SikoBikoAreru
Ā 
mengititis (1).pptx
SikoBikoAreru
Ā 
MODULE5.3-STAFFDEVELOPEMENT (1).ppt
SikoBikoAreru
Ā 
Test Blue Print (2).ppt
SikoBikoAreru
Ā 
managing change.pptx
SikoBikoAreru
Ā 
conflict management.ppt
SikoBikoAreru
Ā 
Nursing Theory 4 PG.pptx
SikoBikoAreru
Ā 
subject bench marking&CD.pdf
SikoBikoAreru
Ā 
Unit V-Learning Activities.pptx
SikoBikoAreru
Ā 

Recently uploaded (20)

PPTX
Birth Preparedness & Complication Readiness
Pratiksha Rai
Ā 
PPTX
Digital Dichoptic Therapy for Amblyopia.
Gamal Saif
Ā 
PDF
ICF around the World - Keynote presentation
Olaf Kraus de Camargo
Ā 
PPTX
Biochemistry Quiz 2025-Metabologic PowerPoint
Prof Viyatprajna Acharya
Ā 
PPTX
Sources, types and collection of data.pptx
drmadhulikakgmu
Ā 
PPTX
Congenital abrnomalities of Urogenital of System
KesheniLemi
Ā 
DOCX
RUHS II MBBS Pharmacology Paper-II with Answer Key | 28 July 2025 (New Scheme)
Shivankan Kakkar
Ā 
PDF
Digital literacy note level 6 perioperative theatre technician
mercylindah47
Ā 
PPTX
Oro-antral Communications and its management strategies
Srinjoy Chatterjee
Ā 
DOCX
Paediatrics Question Papers – III MBBS (Part II), RUHS Main Exam 2025-2016
Shivankan Kakkar
Ā 
PPTX
12. Neurosurgery (part. 2) SURGERY OF VERTEBRAL COLUMN, SPINAL CORD AND PERIP...
Bolan University of Medical and Health Sciences ,Quetta
Ā 
PPTX
Omphalocele: PowerPoint presentation
Nathan Lupiya
Ā 
PPTX
the comoany external environment crafting
immrahaman62
Ā 
PPTX
Models of screening of Adrenergic Blocking Drugs.pptx
Dr Fatima Rani
Ā 
PPTX
perioperative management and ERAS protocol.pptx
Fahad Ahmad
Ā 
PPTX
IMPORTANCE of WORLD ORS DAY July 29 & ORS.pptx
MedicalSuperintenden19
Ā 
PPTX
CEPHALOPELVIC DISPROPORTION (Mufeez).pptx
mufeezwanim2
Ā 
PPTX
AUG 2025 ONCOLOGY CARTOONS BY DR KANHU CHARAN PATRO
Kanhu Charan
Ā 
PPTX
LOW GRADE GLIOMA MANAGEMENT BY DR KANHU CHARAN PATRO
Kanhu Charan
Ā 
PPTX
HANAU ARTICULATORS AND CLASSIFICATION.pptx
Priya Singaravelu
Ā 
Birth Preparedness & Complication Readiness
Pratiksha Rai
Ā 
Digital Dichoptic Therapy for Amblyopia.
Gamal Saif
Ā 
ICF around the World - Keynote presentation
Olaf Kraus de Camargo
Ā 
Biochemistry Quiz 2025-Metabologic PowerPoint
Prof Viyatprajna Acharya
Ā 
Sources, types and collection of data.pptx
drmadhulikakgmu
Ā 
Congenital abrnomalities of Urogenital of System
KesheniLemi
Ā 
RUHS II MBBS Pharmacology Paper-II with Answer Key | 28 July 2025 (New Scheme)
Shivankan Kakkar
Ā 
Digital literacy note level 6 perioperative theatre technician
mercylindah47
Ā 
Oro-antral Communications and its management strategies
Srinjoy Chatterjee
Ā 
Paediatrics Question Papers – III MBBS (Part II), RUHS Main Exam 2025-2016
Shivankan Kakkar
Ā 
12. Neurosurgery (part. 2) SURGERY OF VERTEBRAL COLUMN, SPINAL CORD AND PERIP...
Bolan University of Medical and Health Sciences ,Quetta
Ā 
Omphalocele: PowerPoint presentation
Nathan Lupiya
Ā 
the comoany external environment crafting
immrahaman62
Ā 
Models of screening of Adrenergic Blocking Drugs.pptx
Dr Fatima Rani
Ā 
perioperative management and ERAS protocol.pptx
Fahad Ahmad
Ā 
IMPORTANCE of WORLD ORS DAY July 29 & ORS.pptx
MedicalSuperintenden19
Ā 
CEPHALOPELVIC DISPROPORTION (Mufeez).pptx
mufeezwanim2
Ā 
AUG 2025 ONCOLOGY CARTOONS BY DR KANHU CHARAN PATRO
Kanhu Charan
Ā 
LOW GRADE GLIOMA MANAGEMENT BY DR KANHU CHARAN PATRO
Kanhu Charan
Ā 
HANAU ARTICULATORS AND CLASSIFICATION.pptx
Priya Singaravelu
Ā 

SIGN TEST SLIDE.ppt

  • 1. Statistical Methods for Non parametric Continuous Variables Yilma ch, ass.t prof bio HI 2/28/2023 1
  • 2. Objective At the end of the presentation you will able to:  list non parametric statistical tests  describe sign test  test hypothess using sign test 2/28/2023 2
  • 3. • Wilcoxon Sign test 2/28/2023 3
  • 4. Introduction • When your data do not satisfy the distributional assumptions required by parametric procedures, other statistical methods are needed that is Non parametric statistics. 2/28/2023 4
  • 5. • The distributional assumptions required for non- parametric procedures are usually less specific than those required for parametric procedures. • Many non-parametric tests have less power than the corresponding parametric tests. • Because power should never be given up unless absolutely necessary, non-parametric methods should not be used when parametric methods are appropriate. 2/28/2023 5
  • 6. Cont... • The sign test is an example of one of these non parametric tests. • Do not rush to use the NPT • If your outcome variable is not normal, try to normalize using log or ln. • If it is still not normalized, go to non parametric tests 2/28/2023 6
  • 7. What is the Sign Test?  The sign test compares the sizes of two groups.  It is a non-parametric or ā€œdistribution-freeā€ test, which means the test doesn’t assume the data comes from a particular distribution, like the normal distribution.  The sign test is an alternative to a one-sample t-test.  It can also be used for ordered (ranked) categorical data. 2/28/2023 7
  • 8. Cont...  The sign test is used to test the null hypothesis that the median of a distribution is equal to some hypothetical ( standard) value. It can be used;  in place of a one-sample t-test  in place of a paired t-test or  for ordered categorical data where a numerical scale is inappropriate but where it is possible to rank the observations. 2/28/2023 8
  • 9. Assumptions of sign test 1. data is non normally distributed 2. a random sample of independent measurement for a population with unknown median 3. the variable of interest is continuous or ranked ordinal scale of measurement 4. the one sample test handle non symmetric data set (skewed either to right or left) 2/28/2023 9
  • 10. procedure • Let A and B represent two materials or treatments to be compared. • Let x and y represent measurements made on A and B. • Let the number of pairs of observations be n. • The n pairs of observations and their differences may be denoted by: (X1, Y1), (X2, y2), .....,(Xn, Yn) and X1 - Y1, X2 - Y2 .............. Xn - Yn. 2/28/2023 10
  • 12. Cont... • The sign test is based on the signs of these differences. • The letter Bs will be used to denote the number of times the maximum sign has occurred. • If some of the differences are zero, we can cancel the observation. • BS= Maxļ½›N+,N-ļ½ 2/28/2023 12
  • 13. • As an example of the type of data for which the sign test is appropriate, we may consider the following yields of two hybrid lines of corn obtained from several different experiments. • In this example N =28 N+ = 7 N- = 21 BS = Maxļ½›N+,N-ļ½ BS= 21 2/28/2023 13
  • 14. • we can find the critical values and p-values of Bs from the sign test table. • if the p-value is less than significance level or alpha value, reject the null hypothesis P<α → reject the null hypothesis which states no median difference. 2/28/2023 14
  • 16. Example Hypothesis testing using sign test N o Driver injury (x) passenger injury (y) sign (+,-) (x-y) Driver injury (x) passenger injury (y) sign (+,-) (x-y) 1. 42 35 + 36 37 - 2. 42 35 + 36 37 - 3. 34 45 - 43 58 - 4 34 45 - 40 42 - 5. 45 45 0 43 58 - 6. 40 42 - 37 41 - 7. 42 46 - 37 41 - 8. 43 58 - 44 57 - 9. 45 43 + 42 42 0 Test at 95% confidence interval that the driver injury is equal to passengers injury. 2/28/2023 16
  • 17. Step 1. Ho : driver injury = passenger injury HA : driver injury ≠ passenger injury Step 2. N=18-2 =16 ( two observations canceled) N+ = 3 N- = 13 BS= Maxļ½›N+,N-ļ½ BS= 13 Step 3. appropriate test is sign test α=5% step 4. find p value from the table 2/28/2023 17
  • 19. Step 5. Interpretation  0.021< 0.05 ( 0.021 is obtained from sign test table at n=16, BS 13 and alpha 0.05, which is 0.021  P<α → reject the null hypothesis  There for the drivers injury is not equal to the passengers injury. 2/28/2023 19
  • 20. Exercise The table below shows the hours of relief provided by two analgesic drugs in 12 patients suffering from arthritis. Is there any evidence that one drug provides longer relief than the other? Test at 95% confidence interval. 2/28/2023 20
  • 21. Solution  In this case our null hypothesis is that the median difference is zero.  Our actual differences (Drug B - Drug A) are: +1.5, +2.1, +0.3,āˆ’0.2, +2.6,āˆ’0.1, +1.8,āˆ’0.6, +1.5, +2.0, +2.3, +12.4  Our actual median difference is 1.65 hours.  N+ = 9, Nāˆ’ = 3, n = 12,  Bs = max(Nāˆ’, N+) = 9  Our p-value at n=12, Bs= 9 and alpha =0.05 (from tables) is p = 0.146  We would conclude that there is no evidence for a difference between the two treatments on relief of pain. 2/28/2023 21
  • 22. Sign test with large sample size large sample size = N > 30 we use Z test. Z= (X ± 0.5) -N/2 0.5 *√N where : X= no of fewer sign N = total pair of sample we can use Z= (X + 0.5) -N/2 if N/2 >X 0.5* √N 2/28/2023 22
  • 23. find the p value of Z from the table then: P <α → reject the null hypothesis 2/28/2023 23
  • 24. Example  A researcher has taken 50 pair of students for the study and obtained the data.  can you conclude from the data by using sign test that the training of the two groups differ significantly?  Given no of +ve sign = 37  -ve sign =12  of 0 =1  solution  HO= the training of one group=training of the other.  N= 37+12 = 49  N/2= 49/2=24.5 2/28/2023 24
  • 25. x= 12 As 24.5 > 12 we use the formula Z= (X + 0.5) -N/2 1/2 √N = (12 +0.5)- 24.5 1/2 √49 Z= -3.43 3.43 > 1.96 or -3.43 < -1.96 • p-value of Z= -3.43 = 0.0003. • Since the hypothesis is two sided, multiply 0.0003*2= 0.0006 0.0006 < 0.05 and 0.01 so, reject the null hypothesis at 5% as well as at 1%. • Hence, training of two groups differ significantly. 2/28/2023 25