Order Now  +1 678 648 4277 

Non parametric statistics homework solution

The Non-parametric statistics homework solution is on the amount of salaries graduates of the listed courses are paid after graduating. 

Using non-parametric statistics to carry out Kolmogorov-Simonov tests and Kruskal-Wallis tests

Here we will carry out both Kolmogorov-Simonov tests and Kruskal-Wallis tests when looking for the information of salaries of graduates of the courses listed.


(i) A number of different patterns were used by subjects climbing a portable straight ladder according to specified instructions. The ascent times for 5 subjects who used a lateral gait and 6 who used a diagonal gait were.

Lateral: 0.86, 1.31, 1.64, 1.51, 1.53

Diagonal: 1.27, 1.82, 1.66, 0.85, 1.45, 1.35

(a) Carry out the Kolmogorov-Smirnov test manually for these data. State your conclusions

(b) Ascent times for a further 4 subjects who used a mixed gait were also available. Describe the Kolmogorov-Smirnov test to compare the three groups

   (ii) To gain information on salaries for its graduates, a school of mathematics and statistics selected a random sample of students from each of the subjects (1) mathematics (2) statistics (3) applied mathematics, and (4) actuarial science. The salaries (in 1000’s of euro) three years after graduating were:

App. Mathematics     46.737.638.240.7
Actuarial Science

Compare the four groups manually using the Kruskal-Wallis test. State the assumptions made and state your conclusions.


 The problem objective is to describe the difference of the climbing times of the ladder in two populations, one which is later gait and the other which is Diagonal gait. On the basis of the available ample data now, we need to test whether a significant difference in the mean climbing times for the two gaits

let μ_1-μ_1=0 is the difference between mean climbing times for the lateral gait and diagonal giat.

The null hypothesis is given as:

The mean climbing for lateral gait is identical to that of the diagonal gait

Ho: μ_1-μ_2=0

The alternative hypothesis is given as

The mean climbing time for lateral gait differs significantly from that of diagonal gait

Ha: μ_1-μ_2≠0

Level of significance α=0.05


The samples are independent random samples and the two population distributions have the same shape and spread. Therefore, we can use the Kolmogorov Smirnov test for the significance of the above hypothesis.

Test static for Kolmogorov-smirnov statistics (D) =Maximum|Fo(X)-Ft(X)|=0.333

P-values of test = 0.818

Since the p-value is greater than 0.05, we fail to reject the null hypothesis. Therefore, we conclude that the mean climbing for lateral gait is identical to that of the diagonal gait

When we have a third group of mixed gait, we have



The Kolmogorov test can only be used for two samples; it cannot be used for three groups.


Assumption of Kruskalwalis test

1. The samples must be random

2. The samples are mutually independent

3. The measurement scale is at least ordinal and the variable is continuous

Null hypothesis: the population median is equal

Alternative hypothesis: the population median is not all equal

mathematics(1)statistics (2)applied maths (3)actuarial (4)


Rank 1Rank 2Rank 3Rank 4

H statisticv= 12/(N(N+1)) ∑〖(T^2/n)-3(N+1)〗



P-value = 0.95457

Critical value χ^2 (3)=7.81

Since Kruskalwalis test statistic (D) < critical value or since p > 0.05, we fail to reject the null hypothesis and conclude that the test is not statistically significant. Therefore, we can say that the distribution of the salaries after three years of graduating is the same.