You are on page 1of 10

MAT-2001

V S AKSHIT 19BEE0435
Experiment No.1:
Q.) Collect at least 60 students and analyse
the data using descriptive Statistics and
interpret the results.

Consider the data (discrete) which I took marks


obtained in a class strength of 60 students in a class
test out of 10 marks.
Now, consider this table:
Serial Number Marks obtained out of 10

1 1

2 2

3 3

4 4

5 5

6 6

7 7

8 8

9 9

10 10
11 9.5

12 8.5

V S AKSHIT 19BEE0435
13 7.5

14 6.5

15 5.5

16 4.5

17 3.5

18 2.5

19 1.5

20 0.5

21 9

22 9

23 9

24 9

25 9

26 9

27 9

28 7.5

29 4.5

30 5

31 6

32 2

33 3

34 8

35 8.5

36 8

37 7

V S AKSHIT 19BEE0435
38 4.5

39 10

40 3.5

41 9

42 8.5

43 6

44 7

45 6.5

46 5.5

47 3

48 9

49 10

50 10

51 1

52 2

53 3

54 4

55 5

56 6

57 7

58 8

59 9

60 9.5

Aim: From the table shown above calculate the


following data:
V S AKSHIT 19BEE0435
1) Mean
2) Median
3) Mode
4) Variance
5) Standard deviation and
6) Upper and Lower quartiles.

Solution(s):
1) Calculation of Mean: Mean is nothing but the
average value of all quantities. (arithmetic mean)

The mean value for the above question in R


programming can be given as:

2)Calculation of median: Median is nothing but


the middle point of the given data.

V S AKSHIT 19BEE0435
The median value in
the above question in
R programming can
be given as:

3)Calculation of Mode: It’s nothing but how long the


one value is coming or how frequently one value is
coming the number with the highest frequency will
be the mode of the given data.
The mode value in the above question using R
programming can be given as:

V S AKSHIT 19BEE0435
4)Calculation of Variance: The variance measures
how far a set of numbers are spread out from their
average value.

The variance value in the above question using R


Programming can be given as:

5)Calculation of Standard Deviation: The standard


deviation is a measure of the amount of Variation of a
set of values.

V S AKSHIT 19BEE0435
The standard deviation value in the above question
using R programming can be given as:

6) Calculation of Quartiles (Upper and Lower): The


lower quartile value is the median of lower half
of the data while the upper quartile value is the
median of upper half of the data.

The quartile values in the above question can be


calculated in R programming:

Result:

V S AKSHIT 19BEE0435
1) Mean = 6.241667
2) Median= 6.75
3) Mode= 9
4) Variance= 7.716031
5) Standard Deviation= 2.777774
6) Quartile Values= 4(lower quartile value)
9(upper quartile value)
***Inner quartile range = Upper quartilevalue- Lower quartile Value= 9-4=5

Screenshot And Procedure:

V S AKSHIT 19BEE0435
***THE END***

V S AKSHIT 19BEE0435

You might also like