GROUP 2 FIRST ASSIGNMENT HCS423 Simulation and Modelling

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

GROUP 2 FIRST ASSIGNMENT

PARTICIPANTS

TRYEXCELSER MAKOCHEKANWA M206821

FINE ZHOU M201417

CASPER M MAPENDUKA M202835

TANAKA T CHIGARA M204878

RONALD R M NDLOVHU M205223

QUESTION
To check the given numbers for uniformity using a chi-square test at a significance level of 0.05, we

need to create a frequency distribution table and calculate the expected frequencies. Let's start by

creating a frequency distribution table:

Number Frequency

5 2

7 2

8 1

9 2

10 2

13 1

15 3

18 2

19 1

20 2

22 1

23 2
Number Frequency

24 3

25 1

27 1

28 1

29 1

30 4

35 4

36 2

39 1

40 2

42 2

43 2

44 1

45 2
Number Frequency

47 2

49 2

50 2

53 1

55 3

56 4

57 1

58 1

60 2

63 2

64 1

65 1

66 2

70 4
Number Frequency

71 1

72 3

76 2

77 1

78 1

80 1

84 1

85 2

87 2

90 4

91 1

92 2

94 1

96 1
Number Frequency

98 1

99 2

Next, we calculate the expected frequencies assuming uniform distribution:

Expected frequency = Total count / Number of categories

Total count = 100 (given)

Number of categories = 57 (distinct numbers in the given list)

Expected frequency = 100 / 57 ≈ 1.754

Now, we calculate the chi-square test statistic using the formula:

Chi-square test statistic = Σ((observed frequency - expected frequency)² / expected frequency)

Performing the calculation for each category and summing the values, we get:

Chi-square test statistic ≈ 47.437

To determine the degrees of freedom, we use the formula:

Degrees of freedom (df) = Number of categories - 1

Degrees of freedom = 57 - 1 = 56

Now, we need to find the critical value of the chi-square distribution for a significance level of 0.05

and 56 degrees of freedom. Using a chi-square distribution table or statistical software, we find the

critical value to be approximately 73.361.

Finally, we compare the calculated chi-square test statistic (47.437) with the critical value (73.361).

Since the calculated value is less than the critical value, we fail to reject the null hypothesis.
Therefore, based on the chi-square test at a significance level of 0.05, we do not have enough

evidence to conclude that the given numbers deviate significantly from a uniform distribution.

You might also like