Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

UNIVERSITY OF PERADENIYA

POST GRADUATE INSTITUTE OF SCIENCE


SC 517 - Nonparametric & Categorical Data Analysis
Assignment #3

Due Date: On or before 03rd August 2022 at 11.59 pm. Answer All Questions.

1. The following data represent the time, in minutes, that a patient has to wait during 12 visits
to a doctor’s office before being seen by the doctor:

17 15 20 20 32 28 12 26 25 25 35 24

(i) Use the sign test at the 0.05 level of significance to test the doctor’s claim that the median
waiting time for her patients is not more than 20 minutes.
(ii) Use the Wilcoxon signed rank test at the 0.05 level of significance to test above claim.

2. It is claimed that a new diet will reduce a person’s weight by 4.5 kilograms, on average, in a
period of 2 weeks. The weights of 10 women were recorded before and after a 2-week period
during which they followed this diet, yielding the following data:

Use the Wilcoxon signed rank test at 0.05 level of significance to test the hypothesis that the
diet reduces the median weight by 4.5 kilograms against the alternative hypothesis that the
median weight loss is less than 4.5 kilograms.
3. A fishing line is being manufactured by two processes. To determine if there is a difference in
the mean breaking strength of the lines, 10 pieces manufactured by each process are selected
and then tested for breaking strength. The results are as follows:

Use the Mann-Whitney U test (Wilcoxon rank-sum test) with α = 0.1 to determine if there is a
difference between the mean breaking strengths of the lines manufactured by the two processes.
4. The following data represent the operating times in hours for three types of scientific pocket
calculators before a recharge is required:

Use the Kruskal-Wallis test, at the 0.01 level of significance, to test the hypothesis that the
operating times for all three calculators are equal.

5. In an industrial production line, items are inspected periodically for defectives. The following
is a sequence of defective items, D, and non-defective items, N, produced by this production
line:

D D N N N D N N D D N N N N
N D D D N N D N N N N D N D
Use the Wald-Wolfowitz runs test with a significance level of 0.05, to determine whether the
defectives are occurring at random.

6. The following table gives the recorded grades for 10 students on a midterm test and the final
examination in a calculus course:

Test the null hypothesis that the midterm test grades and the final examination grades are
independent each other against the alternative that these two grades are positively correlated
by using,

(a) Kendall’s tau correlation test


(b) Spearman’s rank correlation test.

Use 0.05 level of significance.

Page 2

You might also like