WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.820 --> 00:00:12.720
Hi. In this video we will learn how to analyze a categorical variable.

1
00:00:18.610 --> 00:00:21.620
Categorical variable is much easy to analyze. Uh,

2
00:00:21.620 --> 00:00:24.060
basically we can just plot counts, uh,

3
00:00:24.120 --> 00:00:28.090
of each categories in a bar chart or a pie chart.

4
00:00:29.050 --> 00:00:32.640
Uh, let's analyze the attack variable. Uh,

5
00:00:32.700 --> 00:00:37.640
we see in this horizontal bar chart that, uh, from all the observations, uh,

6
00:00:37.640 --> 00:00:39.640
the Smurf attack has, uh,

7
00:00:39.640 --> 00:00:43.320
highest number of occurrences and there is Neptune attack.

8
00:00:44.600 --> 00:00:48.620
And the third category is, uh, the normal, uh,

9
00:00:48.800 --> 00:00:51.620
that's basically the normal connections, not attacks.

10
00:00:54.820 --> 00:00:58.640
Uh, rest of the attacks have very small number of observations compared to,

11
00:00:58.740 --> 00:00:59.573
to these three.

12
00:01:02.680 --> 00:01:05.900
We can analyze also the protocol type variable. Now, uh,

13
00:01:05.960 --> 00:01:07.820
we see that from all the observations.

14
00:01:07.850 --> 00:01:12.340
Highest number of them are from I C M B protocol, uh,

15
00:01:12.410 --> 00:01:14.260
then T C P and U D P.

16
00:01:19.670 --> 00:01:24.130
We can plot also the flag variable in a normal bar chart as well.

17
00:01:24.710 --> 00:01:28.010
Uh, we see that these, uh, three categories, uh,

18
00:01:28.450 --> 00:01:30.770
dominate in number of observations. In

19
00:01:34.700 --> 00:01:39.420
our next video, we will learn how to make a b variate analysis, uh,

20
00:01:39.420 --> 00:01:41.460
that is analysis of two variables.
