• Foundation
  • About 16 min
  • 5 practice questions

Data, variables and the sources of data

Understand why data are collected, what variables and observations are, and how primary data differ from secondary data.

If something looks wrong, please tell us.

By the end of this lesson you can

  • State the purpose of collecting data.
  • Identify a variable and its observations in a table.
  • Distinguish primary data from secondary data and say when each is used.

Every statistical study begins with data. The purpose of collecting data is to provide evidence for reaching a sound and clear solution to a problem. Before learning how data are collected, we need the words statisticians use to describe them.

Variables and observations

Quantities in economics, such as the yearly output of foodgrains, keep changing from year to year and from crop to crop. A quantity whose value varies is called a variable. Variables are usually written with letters such as X, Y or Z. Each value a variable takes is an observation. The values of the variables together are the data, and from them we obtain information. In the textbook's words, data are a tool that helps us understand problems by providing information.

Worked example 1: reading variables from a table

Illustrative data: a made-up cooperative records its milk collection.

Illustrative data, made up for practice
Year (X)Milk collected, thousand litres (Y)
Year 1240
Year 2255
Year 3250
Year 4270
Year 5290

Working: the variable X is the year and the variable Y is the milk collected. Y has five observations: 240, 255, 250, 270 and 290. The data show a fluctuation: Y rose from 240 to 255, fell to 250, then rose to 290. Change over the whole period: 290 − 240 = 50 thousand litres. Highest and lowest observations: 290 (Year 5) and 240 (Year 1). Without data for every year, the dip in Year 3 would be invisible, which is why we need data for 'various years' to study fluctuations.

Two sources of data

Statistical data come from two sources.

Primary and secondary data

  • Primary data
    • Collected by the investigator through his or her own enquiry
    • First-hand information
    • Example: asking students which film actor they like
    • Costs more time and money
    • Fits the purpose exactly
  • Secondary data
    • Already collected and processed (scrutinised and tabulated) by another agency
    • Taken from government reports, documents, newspapers, books by economists, websites
    • Saves time and cost
    • Must be checked for suitability

Data are primary to the source that collects and processes them for the first time, and secondary for every source that uses them later.

The same data can therefore be both. If you survey your school about a film actor's popularity and publish a report, the figures are primary for you. If another student later uses your report for a similar study, the same figures are secondary for that student.

Worked example 2: primary or secondary?

Situation (illustrative)Type of dataReason
A student interviews 60 shopkeepers about their daily salesPrimaryShe collects it first-hand by her own enquiry
A researcher copies crop output figures from a government reportSecondaryThe figures were collected and tabulated by another agency
A newspaper reports a survey done by its own reportersPrimary for the newspaperThe newspaper collected it first
A teacher uses that newspaper survey in a class projectSecondary for the teacherSomeone else collected it

Answer pattern: always ask 'who collected it first?'. If you did, it is primary for you; if someone else did, it is secondary for you.

Choosing a source

Neither source is always better. Secondary data save time and cost, but they were collected for another purpose, so their definitions, coverage or period may not match your study. Primary data fit your purpose exactly but need planning, money and time. As the chapter concludes, the choice of source and mode of collection depends on the objective of the study.

  • Use secondary data when a reliable agency has already collected what you need for the right place and period.
  • Use primary data when no suitable data exist, or when you need specific details (for example, opinions of students in your own school).

Key takeaways: data are collected to give evidence for solving a problem. A variable is a quantity that varies; each of its values is an observation. Primary data are first-hand, collected by the investigator; secondary data have been collected and processed by another agency. The same data are primary for the collector and secondary for later users.

Check your understanding

  1. 1. A quantity whose values change, such as the yearly output of a crop, is called:

    1. a constant
    2. a sample
    3. a variable
    4. a parameter
    Show answer

    Answer: C. A quantity that varies from year to year or item to item is a variable, usually written X, Y or Z. Each of its values is an observation.

  2. 2. Data that are collected and processed by some other agency and then used by you are:

    1. secondary data
    2. primary data
    3. pilot data
    4. census data only
    Show answer

    Answer: A. If the data have already been collected and processed (scrutinised and tabulated) by another agency, they are secondary data for you.

  3. 3. Illustrative: a variable Y takes the values 120, 135, 128, 150 and 142. The difference between its highest and lowest observations is:

    1. 22
    2. 15
    3. 8
    4. 30
    Show answer

    Answer: D. Highest observation = 150; lowest = 120. Difference = 150 − 120 = 30.

  4. 4. Case: Kavya (made up) surveys 50 households on their fuel use and publishes a report. Later, Arjun uses her report in his study. Which statement is correct?

    1. The data are primary for both
    2. The data are primary for Kavya and secondary for Arjun
    3. The data are secondary for both
    4. The data are secondary for Kavya and primary for Arjun
    Show answer

    Answer: B. Data are primary to the source that collects them first (Kavya) and secondary to anyone who uses them later (Arjun).

  5. 5. Assertion (A): Using secondary data saves time and cost. Reason (R): Secondary data have already been collected and processed by another agency.

    1. Both A and R are true, and R is the correct explanation of A
    2. Both A and R are true, but R is not the correct explanation of A
    3. A is true, but R is false
    4. A is false, but R is true
    Show answer

    Answer: A. Both are true, and R explains A: because someone else has already done the collecting and tabulating, the user saves the time and money that a fresh enquiry would need.

Sign in to keep track of the lessons you finish.

Next lesson → Designing a questionnaire

Privacy · Terms · Refunds · Delivery