A variable is something that can be measured or counted, such as characters, numbers, or time.
In the example below, each column represents a variable.
Duration |
Average_Pulse |
Max_Pulse |
Calorie_Burnage |
Hours_Work |
Hours_Sleep |
30 |
80 |
120 |
240 |
10 |
7 |
30 |
85 |
120 |
250 |
10 |
7 |
45 |
90 |
130 |
260 |
8 |
7 |
45 |
95 |
130 |
270 |
8 |
7 |
45 |
100 |
140 |
280 |
0 |
7 |
60 |
105 |
140 |
290 |
7 |
8 |
60 |
110 |
145 |
300 |
7 |
8 |
60 |
115 |
145 |
310 |
8 |
8 |
75 |
120 |
150 |
320 |
0 |
8 |
75 |
125 |
150 |
330 |
8 |
8 |
There are 6 columns, which correspond to 6 variables (Duration, Average_Pulse, Max_Pulse, Calorie_Burnage, Hours_Work, Hours_Sleep).
With 11 rows, each variable has 10 observations.
If there are 11 rows, why are there only 10 observations? This is because the first row serves as the label, representing the name of each variable. |