📘 CodingMarble Learn

Organisation of Data: Variables, Classification and Frequency Distribution

Raw data is a heap of numbers with no order. We organise it by classification: grouping similar values. A variable can be discrete (whole jumps, like number of children) or continuous (any value, like height). A frequency distribution puts values into classes and counts how many fall in each. Each class has a lower limit, an upper limit, a width (class interval) and a middle value (class mark). Classes can be exclusive or inclusive.

🎬 Step-by-step story

  1. Here are the marks of 20 students, scattered like a heap. From this we cannot see any pattern. This is raw data.
  2. A variable is something that changes. Discrete variables jump in whole steps like stairs. Continuous variables can take any value, like a ramp.
  3. Now each mark drops into its class bin: 10–20, 20–30 and so on. The pile in each bin is the frequency of that class.
  4. Look at one class, 30–40. Lower limit 30, upper limit 40, width 10, and the middle, called the class mark, is 35.
  5. Inclusive classes like 30–39 and 40–49 leave a gap. Take 0.5 off the lower limit and add 0.5 to the upper one. The gap closes.
  6. Free play: choose a class width of 5, 10 or 20. See how narrow classes show more detail and wide ones hide it.

Tip: drag the 3D scene to turn it. Use two fingers to zoom.

🤔 Common doubts, cleared

Why can't we just read raw data?

With many values, raw data shows no pattern. Grouping reveals where most values lie.

Is age discrete or continuous?

Age measured exactly is continuous. Age in completed years is often treated as discrete.

Where does a value equal to a class limit go?

In the exclusive method it goes into the class where it is the lower limit: 20 goes to 20–30.

Why is the class mark used?

It stands for all values of the class in calculations like the mean.

Why 0.5 in the adjustment?

It is half the gap between classes (1 ÷ 2). If the gap were 0.1, we would use 0.05.

How many classes should I make?

Usually 5 to 15. Too few hide detail; too many make the table long.

Raw data and why we organise it

Raw data is data just as it was collected, with no order. It is hard to read. Classification means putting data into groups (classes) of similar items. It makes data short, clear and easy to compare.

Kinds of classification

Types of variables

A variable is a quantity whose value changes from one item to another, like age or income.

Frequency distribution

A frequency distribution is a table that shows classes and the number of values in each class. Frequency (f) = how many times a value or class occurs.

Words to know

How to make one

  1. Find the range: largest − smallest.
  2. Decide the number of classes (often 5 to 15) and the width.
  3. Write the classes, go through the data and put a tally for each value.
  4. Count the tallies to get f. Check that Σf equals the number of values.

Exclusive and inclusive methods

Adjusting inclusive classes

Find the gap: lower limit of next class − upper limit of this class (10 − 9 = 1). Half of it is 0.5. Subtract 0.5 from every lower limit and add 0.5 to every upper limit: 0–9 becomes −0.5–9.5, 10–19 becomes 9.5–19.5.

Equal and unequal classes, loss of information

Usually all classes have equal width. Sometimes, when data is very spread out (like incomes), unequal classes are used. When we group data, we treat all values in a class as if they were the class mark. So some detail is lost. This is called loss of information. Wider classes lose more.

Frequency array and bivariate distribution

A frequency array is used for a discrete variable: each value is written with its frequency (family size 1: 5 families, 2: 15, 3: 25 …).

A bivariate frequency distribution shows two variables at once in one table, for example sales of 20 companies in rows and their advertising spending in columns. Each cell tells how many companies fall in both classes.

Try it: sort your family's ages

Write the ages of 15 relatives or neighbours. Make classes 0–10, 10–20, 20–30 and so on. Put a tally for each age, then count. Which class has the highest frequency? Now try classes of width 20. Which table tells you more? Check the same idea with the width picker on the last 3D step.

Board exam pattern

Expect questions like: make a frequency distribution with given classes (4 marks), convert inclusive classes into exclusive, find class marks, and difference between discrete and continuous variables. Always show the tally column and check Σf.

Key formulas and definitions

Worked examples

1. Find the class mark and width of the class 40–60.

Class mark = (40 + 60) ÷ 2 = 50. Width = 60 − 40 = 20.

2. Is "number of cars sold in a day" discrete or continuous? And "petrol used in a day"?

Cars sold is discrete (whole cars only). Petrol used is continuous (it can be 12.35 litres).

3. Convert 10–19, 20–29, 30–39 into exclusive classes.

Gap = 20 − 19 = 1, adjustment = 0.5. New classes: 9.5–19.5, 19.5–29.5, 29.5–39.5.

4. Make a frequency table with classes 0–10, 10–20, 20–30 for: 5, 12, 18, 25, 10, 3, 27, 20, 14, 8.

0–10: 5, 3, 8 → f = 3. 10–20: 12, 18, 10, 14 → f = 4 (10 goes here). 20–30: 25, 27, 20 → f = 3. Σf = 10.

5. The class marks of a table are 15, 25, 35, 45. Find the classes.

Width = 25 − 15 = 10. Half width = 5. Classes: 10–20, 20–30, 30–40, 40–50.

6. Marks range from 12 to 72. If you want 7 classes, what width should you use, and where should the first class start?

Range = 72 − 12 = 60. Width ≈ 60 ÷ 7 ≈ 8.6, round up to 10 for easy classes. Start at 10: 10–20, 20–30, … 70–80 covers all values (7 classes).

Common mistakes

Practice quiz

1. Height of students is a:
2. The class mark of 20–30 is:
3. In the exclusive method, the value 30 is counted in:
4. Grouping data by state is called:
5. Treating all values in a class as its class mark causes:

Practice: answer these yourself

Type or choose your answer, then press Check. Use a hint if you are stuck; the full solution appears after you answer.

Frequently asked questions

What is frequency distribution in economics?

A table that groups data into classes and shows how many values fall in each class.

What is the difference between exclusive and inclusive classes?

In exclusive classes the upper limit is left out (10–20, 20–30); in inclusive classes both limits are included (10–19, 20–29).

How do you find the class mark?

Add the lower and upper limits and divide by 2.

Where this is taught

CBSE (India)Class 11Collection, Organisation and Presentation of Data

Learn first

Learn next

Related lessons

All Economics lessons