Skip to content
We use only essential cookies to keep you signed in and remember your preferences. See our Cookie Policy.
TestStop
MocksPracticeResourcesIndiaBlogPricing
Sign in
Resources › Basic statistics › 1. Data
Basic statistics · Lesson 1 of 10

Types of data, and how to picture them

Before you can average anything you have to know what you are averaging. This lesson sorts data by kind, shows where economists get it from, and turns sixty household incomes into a picture you can reshape yourself.

← Basic statistics moduleLesson 1 of 10 · about 40 minutes
1Data2Averages3GM and HM4Spread5Shape6Correlation7Regression8Index numbers9Growth rates10Hard problems
A question to hold on to
The cumulative percentages in a frequency table have little or no meaning for one kind of data. Is it nominal, ordinal, interval or ratio?
Hyderabad 2014Solved at the end ↓
New here?What is Ashanagar?The invented district behind this page's examples: 60 households, with incomes you can inspect.

Ashanagar is an invented district. The statistics lessons use it for every worked example, so you meet the same households again as the ideas build: first as a list of numbers, then as a spread, then as a population to sample from.

It has 60 households, each with a monthly income in rupees. Unless a page says otherwise, those 60 are the whole population, and a “sample” means a few of them drawn at random. Where a page needs two variables, it uses a smaller set of 12 households with the head’s years of schooling beside income.

The figures are illustrative, made up once and fixed. They are not official statistics.

Households
60
Mean income
₹28,783 a month
Median income
₹25,000 a month
Standard deviation
₹13,366
Lowest and highest
₹10,500 and ₹72,000

Meet the full data set →

In this guide
Lesson · about 40 minutes
  1. Population and sample
  2. Kinds of variable
  3. The four scales of measurement
  4. Cross-section, time series and panel; stocks and flows
  5. From raw data to a frequency table
  6. Histogram, polygon and ogive
  7. Σ: the shorthand for adding
  8. The opening question, solved
  9. The lesson on one screen
  10. Check yourself
  11. Past papers, by level
01
The first distinction

Population and sample

Every statistical question starts with a group you care about, and usually a group you cannot fully see. The population is everything you want to know about: all the households in a district, every firm in an industry, all the prices charged for onions on a given day. A sample is the part of it you actually observe.

A number that describes the population is a parameter. A number computed from the sample is a statistic, and it is your estimate of the parameter. They have different symbols, and CUET 2026 asks you to match them:

Population (parameter)Sample (statistic)
Meanμxˉ
Standard deviationσs
SizeNn

Two things follow. A parameter is a fixed number you don’t know. A statistic is a number you can compute, but it would come out differently if you drew a different sample. Much of statistics is about how far a statistic can be trusted, and Lesson 4 shows the first consequence: why a sample’s variance is calculated differently from a population’s.

This module’s running example is Ashanagar, an invented district. Its sixty households are treated as the whole population unless a lesson says otherwise, and every figure is illustrative. None of it is official data.

02
What you are measuring

Kinds of variable

A variable is any characteristic that differs from one unit to the next. There are two families.

  • Categorical (qualitative) variables put each unit in a group: religion, state, sector of employment. CUET 2018 asks which of age, annual income, grade point average and religion is categorical. Religion is.
  • Numerical (quantitative) variables are measured or counted: age, income, a grade point average.

Numerical variables split again. A discrete variable takes separate values, usually counts: the number of members in a family (Hyderabad 2017). A continuous variable can take any value in a range, because it is measured: height, time, income. A quick test is to ask whether 2.7 is a possible value. For household size it is not. For time it is.

03
How much you can do with the numbers

The four scales of measurement

The kind of variable tells you what you are counting. The scale of measurement tells you which arithmetic is allowed. There are four, each adding a power to the one before.

ScaleWhat it lets you sayExampleSafe average
NominalSame or differentReligion, state, PIN codeMode
OrdinalHigher or lower, but not by how muchLetter grades, ranks, a 1 to 5 ratingMedian
IntervalHow far apart two values are; no true zeroTemperature in °C, the calendar yearMean
RatioHow many times bigger; zero means noneIncome, price, height, a countMean, geometric mean
Pause and predict
The temperature rises from 20°C to 40°C. Has it doubled?
Why the scale matters

Choose the statistic after you know the scale, not before. A mean of PIN codes can be computed, but it means nothing; a mean of incomes means something. Each scale permits everything the one above it does, and more.

In economics

An ordinal scale says A beat B but not by how much. That is exactly what ordinal utility theory claims about preferences, and it is why indifference curves are drawn with no number attached to them. UGC NET 2024 gives the example of a professor who awards only letter grades and asks which analysis it matches: indifference curve analysis.

Try sorting eight variables. The reason appears under each answer.

What scale? · 1 of 8
A household's religion

Cumulative percentages are the way into the opening question. A cumulative percentage says “this share of the data is at or below this category”, and that only makes sense if the categories can be put in order. We return to it at the end.

04
Where economic data comes from

Cross-section, time series and panel; stocks and flows

Economic data comes in three layouts, and the layout decides what questions you can ask of it.

LayoutWhat it isExample
Cross-sectionMany units at one momentThe incomes of 60 households in one month
Time seriesOne unit followed through timeA state’s domestic product for each year, 1990 to 2010
PanelThe same many units, followed through timeThe same 60 households, every year for five years
Pooled cross-sectionsDifferent units in each period, stacked60 households in 2004 and a different 60 in 2014

CUET 2023 gives the figures for one state’s domestic product from 1990 to 2010 and asks what kind of dataset it is: a time series. The order of a time series matters, because yesterday’s value affects today’s, and that is why time series need their own methods. A cross-section has no order. A panel lets you ask something neither of the others can: how did this household change?

What layout? · 1 of 6
India's GDP for each year from 1991 to 2023

Stocks and flows

A second distinction runs through all of economics. A stock is measured at a moment: the money supply on 31 March, the capital in a factory, a country’s debt. A flow is measured over a period: income, investment, exports, GDP. Think of a bath. The water in it at any instant is the stock; the water running through the tap each minute is the flow. The change in the stock over a period is the inflow minus the outflow.

Hyderabad asked the same question in 2010, 2011 and 2015: which of GDP, money supply, exports and imports is a stock? The money supply. The other three are flows, and each is quoted per period.

Stock or flow? · 1 of 5
The money supply
05
Making sense of a list

From raw data to a frequency table

Twenty numbers in a list tell you very little. Grouping them into classes and counting how many fall in each shows the pattern at a glance. The terms:

  • Class interval: a range such as 400 to 450. Its limits are the two ends and its width, h, is the difference.
  • Frequency, f: how many observations fall in the class. The relative frequency is f divided by the total, usually as a percentage.
  • Class mark: the midpoint of the class, the single number that stands for it in later calculations.
  • Cumulative frequency: a running total. The less-than version counts everything below the upper limit; the more-than version counts everything above the lower limit.

One rule trips people up. In an exclusive classification the classes read 400 to 450, 450 to 500, and a value of exactly 450 goes in the upper class. Every value belongs to exactly one class. Open-ended classes such as “above 600” are allowed, but they have no class mark, which is one reason the median and quartile deviation are preferred for such data (Lesson 4).

By hand · twenty daily wages
Daily wages (₹) of twenty workers: 380, 420, 450, 410, 520, 480, 390, 600, 455, 470, 430, 510, 395, 445, 560, 425, 500, 465, 405, 540. Build a frequency table with classes of width 50 starting at 350.
  1. 1
    Choose the classes.
    The wages run from 380 to 600, so classes of width 50 from 350 give six: 350 to under 400, up to 600 to under 650. The upper limit belongs to the next class.
  2. 2
    Tally.
    Go through the list once, marking each value in its class. 380, 390 and 395 fall in the first; 450, 455, 470, 480 and 465 in the third; 500 is in the fourth, and 600 in the last.
  3. 3
    Count and check.
    Frequencies 3, 6, 5, 4, 1, 1. They add to 20, the number of workers, which is the check that nothing was missed or counted twice.
  4. 4
    Add the other columns.
    Relative frequency: 15%, 30%, 25%, 20%, 5%, 5%. Less-than cumulative: 3, 9, 14, 18, 19, 20.
Answer
Wage class (₹)Class markfShareCum. f
350 to under 400375315%3
400 to under 450425630%9
450 to under 500475525%14
500 to under 550525420%18
550 to under 60057515%19
600 to under 65062515%20

How many classes? Too few and the shape is flattened away; too many and each class holds a handful of values. A common starting point is Sturges’ rule, k ≈ 1 + 3.32 log10 n, which gives about 5 classes for 20 observations and 7 for 60. It is only a starting point. The next section lets you see the effect.

When the classes are not the same width

Sometimes the classes are unequal: the data may be sparse at the top, so you use wider classes there. Then the frequency is no longer a fair measure of how crowded a class is, because a wide class collects more simply by being wide. The fair measure is the frequency density:

Frequency density
frequency density=hf​
The height of a histogram bar when the classes are unequal.

Suppose classes 0 to 10, 10 to 20, 20 to 40 and 40 to 80 hold 5, 15, 20 and 20 households. Drawing bars of height 5, 15, 20, 20 would make the wide classes look crowded. The densities are 0.5, 1.5, 1.0 and 0.5 households per rupee-thousand, and bars drawn to those heights have areas equal to the frequencies, which is the whole point of a histogram.

06
Interactive

Histogram, polygon and ogive

Here are the sixty Ashanagar incomes. Drag the class width and the table and the picture rebuild together. Then switch the picture: all three are drawn from the same table.

Modal class20–30
Households in it23
Class (₹ ’000)fShareCum. f
10 to under 201423.3%14
20 to under 302338.3%37
30 to under 401118.3%48
40 to under 50813.3%56
50 to under 6035%59
60 to under 7000%59
70 to under 8011.7%60
Total60100%
05101520251020304050607080monthly income, ₹ ’000households (f)

7 classes. A readable picture: most households sit on the left, and a thin tail runs out to the right.

What each picture is for:

  • A histogram shows the shape of a continuous variable. The bars touch, because there is no gap between one class and the next, and the area of each bar stands for its frequency. A bar chart is for categories; its bars are separated and only the height counts.
  • A frequency polygon joins the class marks with straight lines, closed to zero at both ends. It is the histogram’s outline, and the easiest way to put two distributions on one chart.
  • An ogive is a graph of cumulative frequency against the class limits. It answers “how many are below this value?” and, read the other way, “below what value is half the data?” The less-than and more-than ogives cross at the median. Lesson 2 uses it to read off quartiles.
  • A pie chart shows shares of a whole, and a line chart is the natural picture of a time series. A scatter plot, for two variables, comes in Lesson 6.

JAM 2025 asks which of a histogram, a pictogram, an ogive and a frequency polygon is distinct from the others. The pictogram: it is a drawing with little icons, while the other three are all pictures of a frequency distribution.

Watch out for

The mistakes examiners are fishing for

  • Bar chart or histogram. If the classes are intervals of a continuous variable, the bars touch and the area is the frequency. If they are categories, the bars have gaps.
  • Unequal classes drawn by frequency. Use frequency density, or the wide classes look misleadingly full.
  • Upper limits. In an exclusive table a value equal to the upper limit goes in the next class. Counting it twice, or in the wrong class, makes the frequencies add to more or less than n.
07
A tool you will use from now on

Σ: the shorthand for adding

Every formula in the next lessons adds up a column of numbers, and statisticians write that with the Greek capital sigma. ∑i=1n​xi​ means “add x1, x2, and so on up to xn”. The mean is then xˉ=n1​∑xi​. Three rules cover almost everything:

RuleIn symbolsWhy
A constant added n times∑i=1n​c=ncc has no i in it, so it is the same each time
A constant factor comes out∑cxi​=c∑xi​c is common to every term
Sums split∑(xi​+yi​)=∑xi​+∑yi​Adding in a different order

One thing the rules do not say: ∑xi2​ is not (∑xi​)2. For 1, 2 and 3 the first is 1 + 4 + 9 = 14 and the second is 6² = 36. That mistake is behind many wrong answers in the variance lesson.

DSE 2005 · Delhi School level
For c ≠ 0, the expression c∑i=1n​(c−xi​)−∑i=1n​(cyi​−xi​)​ is identical to which of 1 − nȳ, n − nȳ, n + nȳ, 1 + nȳ?
  1. 1
    Split the first sum.
    Σ(c − xi) = nc − Σxi, by the first and third rules.
  2. 2
    Split the second.
    Σ(c yi − xi) = cΣyi − Σxi, and Σyi = nȳ.
  3. 3
    Subtract.
    (nc − Σxi) − (c·nȳ − Σxi) = nc − c·nȳ. The Σxi terms cancel.
  4. 4
    Divide by c.
    n − nȳ.
Answer
n − nȳ. The common wrong answer, 1 − nȳ, comes from treating Σc as c instead of nc.
08
Solving the opening question

The opening question, solved

Hyderabad 2014 · standard
The cumulative percentages of a frequency table have little or no meaning for ______ data.
  1. 1
    What a cumulative percentage claims.
    “This share of the observations is at or below this category.” The words “at or below” need an order.
  2. 2
    Which scales have an order?
    Ordinal, interval and ratio all do. Nominal categories (religion, state) do not: there is no “below” to count up to.
Answer
Nominal. Cumulate the letter grades A, B, C, D and “the share at C or better” makes sense. Cumulate religions and it does not.
09
Revise

The lesson on one screen

The lesson on one screen
Population, sample
Parameter (μ, σ, N) describes the population; statistic (x̄, s, n) is computed from the sample.
Variables
Categorical or numerical; numerical splits into discrete (counts) and continuous (measured).
Scales
Nominal (mode), ordinal (median), interval (mean, no true zero), ratio (all, zero means none).
Layouts
Cross-section, time series, panel (same units over time), pooled cross-sections (different units).
Stock, flow
Stock at a moment (money supply, debt, capital); flow over a period (GDP, investment, exports).
Frequency table
Classes, frequency, relative and cumulative frequency, class mark. Equal widths: height is f. Unequal: height is f/h.
Pictures
Histogram (bars touch, area is f), polygon (join class marks), ogive (cumulative; crossing is the median).
Σ
Σc = nc; Σcx = cΣx; Σ(x+y) = Σx + Σy; Σx² is not (Σx)².
10
Practice

Check yourself

0 of 10 correct so far

Compute

Use the twenty wages from the worked example where a question refers to them.

Reading the table
How many of the twenty workers earn ₹500 or more a day?
Class mark
What is the class mark of the class 450 to under 500?
Relative frequency
What percentage of the workers are in the class 400 to under 450?
Frequency density
Households in unequal classes: the class 20 to under 40 (₹ ’000) holds 20 households. What is its frequency density, in households per ₹1,000?
Σ notation
For x = 3, 5, 8, find Σ(2xi + 1).

Quick questions

1A candidate's rank in a merit list is measured on a(n)
2Which of these is a flow?
3The same 100 households are surveyed every year for five years. The data are
4To draw the outline of a histogram you join the
5The less-than and more-than ogives intersect at the
11
Real questions

Past papers, by level

Foundation

Definitions, one-step arithmetic and which-measure questions. Most CUET and Hyderabad questions sit here.

5 questionsPractise →

Standard

Grouped data, combined means, effects of shifting and scaling, and statement questions, up to JNU level.

4 questionsPractise →

Delhi School level

This topic’s hardest questions, from the DSE entrance, are worked through in Lesson 10: Data and averages.

5 questionsLesson 10 →
All 9 past-paper questions for this lesson, easiest first: practise the full set →

✦These are questions from the TestStop bank. A free account answers 10 a day, each with its worked solution; All-Access opens every set with no daily limit.

← The moduleOverview and diagnosticLesson 2 →Mean, median and mode

Read next

All resources →
StatisticsStatistics 2: mean, median and modeThe mean as a balance point, the median and what it minimises, the mode, weighted and combined means, grouped data by step deviation, and quartiles read off an ogive.Complete guide · 55 minStatisticsBasic statistics for economics students, from zero to exam levelA module in ten lessons: types of data, the three averages, the geometric and harmonic means, variance and standard deviation, then shape, correlation, regression and index numbers, with a short add-on on growth rates, on one running example, with graded past papers and the Delhi School’s hard problems.Module · 465 minStatisticsProbability, from zero to exam levelA module of lessons that starts at "what is a sample space" and ends at the DSE's hardest questions: counting, the rules, conditional probability, Bayes' theorem, random variables, the discrete and continuous distributions, and a final lesson of hard problems, each with its own interactives and graded past-paper sets.Module · 315 min