Business Analytics & Data Science

B01 · Introductory

Introduction to Business Analytics

9 lessons

B01 · Module 2, lesson 2 · Lesson 5 of 9

Collecting data: sources, samples and bias

How data was collected decides what it can show. Learn the main sources of business data, how a sample stands in for a population, the four biases that most often mislead (sampling, non-response, survivorship and measurement), how to word a survey question, and the basics of consent and privacy.

About 75 minutes

Before you start

You will be able to

  • Distinguish the main sources of business data (transactional and web data, surveys, experiments, observation, third-party and public data) and choose one that fits a question.
  • Identify the population, sampling frame and sample of a study, and distinguish random from convenience sampling.
  • Identify sampling, non-response, survivorship and measurement bias in a study, and explain which way each pushes a result.
  • Calculate a response rate and the range within which non-response could place a survey result.
  • Evaluate survey questions for leading, double-barrelled and unanswerable wording, and rewrite them.
  • Describe in outline the consent and privacy rules that apply when a business collects personal data.

Review first

  • Types of data — You need primary and secondary data, the unit of observation, and cross-sectional and panel data.
  • Working out a percentage of a total.

Fictional case A fictional coffee business founded by Ana Lim. It starts as a catering and barista-training service, opens its own cafés and an online shop for beans, and plans a canned cold brew.

The idea

Fictional case

Orders fell in September although visits rose, and Ana suspects the website’s new checkout, which went live on 1 September. She has three possible sources of evidence. The shop’s own records show visits and orders by channel, month by month.

Fictional case

Her survey, e-mailed on 1 October to the 240 customers who had ordered in September, has 79 replies to a statement that “the new checkout was easy to use”. And she could still run a test on the website itself. Each source was collected in a different way, and the way data is collected decides what it can show.

Where business data comes from

Most of the data a business analyses comes from six kinds of source. They differ in cost, in what they can show and in what they systematically miss, so the first decision in any analysis is which of them can answer the question.

Six sources of business data
SourceHow it arisesLantern exampleGood forWatch for
Transactional dataRecorded as a by-product of doing businessOrders, payments, refundsWhat happened, completely and cheaplySays nothing about why, or about people who didn’t buy
Web and app dataLogged automatically as people use a site or appSessions, page views, taps on “Pay now”Behaviour before a purchase, including people who leftDepends on the tool’s definitions; some visits are never recorded
SurveysAsking peopleThe October surveyOpinions, reasons and intentionsWho answers, and how the question is asked
ExperimentsChanging something on purpose for a randomly chosen groupShowing half of website visitors the old checkoutCause and effectNeeds planning, time and enough visitors
ObservationWatching people as they actWatching five customers try to pay on their phonesProblems nobody thought to ask aboutFew people; being watched can change behaviour
Third-party and public dataBought or downloaded from other organisationsThe payment provider’s report of failed card payments; official statisticsContext, benchmarks and data you can’t collect yourselfSomeone else’s definitions, timing and quality

Web data deserves a warning of its own, because its basic units are definitions rather than facts. Google Analytics, for example, defines a session as a group of user interactions with a website or app that take place within a given time frame, and by default ends a session after 30 minutes of inactivity; the site owner can change that limit. A customer who opens the shop, leaves for lunch and comes back is one visit under one setting and two under another. Every figure divided by visits depends on settings that can change without anyone noticing, so record them alongside the data.

Populations and samples

The population is everything a question is about. A sample is the part of it you actually observe or ask, used to learn about the whole. Sampling is practical because observing an entire population takes time and money; a study that does observe every member is a census. Between the two sits the sampling frame: the list or source from which the sample is actually drawn, such as a customer e-mail list. Anyone missing from the frame can’t be chosen, however carefully the sample is drawn.

Define the population from the question, not from the data you happen to have. Ana’s question is whether the new checkout put people off buying. The people it is most about are those who reached the website’s checkout in September and gave up. Her survey’s frame was the list of September’s customers: everyone on it was invited, so it was a census of buyers, but it could not include a single person who abandoned the checkout. The 240 invitations and 79 replies come from the wrong end of the funnel for her question.

From the population a question is about to the numbers in a report, every step can drop or distort people. Lantern’s October survey, step by step.

Random and convenience samples

How the sample is chosen from the frame matters as much as its size. In a simple random sample, every group of the same size is equally likely to be chosen: number the customers on the list and let a random-number generator pick 60 of them. Nobody’s opinions, habits or convenience influence who is picked, so the sample tends to resemble the frame, and the remaining differences are down to chance.

A convenience sample is whoever is easiest to reach: customers who follow the shop on social media, people at a café counter. A self-selected sample, also called a voluntary-response sample, is made up of the people who choose to take part, such as everyone who answers a link posted online or a poll on a website; people with strong views tend to be over-represented. Either kind is fine for trying out a questionnaire, but the results can be badly biased, because the people who are easy to reach, or keen to answer, often differ from the rest.

Other random designs exist for particular needs. A stratified sample divides the population into groups, such as regions, and samples randomly within each; a systematic sample takes every tenth or twentieth name on a list from a random starting point; a cluster sample picks whole groups, such as stores, at random. B04 Descriptive and Inferential Statistics shows how each affects precision.

In depth

Random error and bias

A sample can miss the truth for two very different reasons. Sampling error is the chance difference between a sample’s result and the population’s that arises because only part of the population was observed. It goes both ways, and it shrinks as the sample grows. Bias is a systematic error that pushes the result in one direction, and a bigger sample doesn’t reduce it at all.

Suppose 30% of a shop’s customers are subscribers, 90% of whom are satisfied, and the other 70% are one-off buyers, 60% of whom are satisfied. The true share satisfied is 0.30×90+0.70×60=69%0.30 \times 90 + 0.70 \times 60 = 69\%. A survey that reaches mostly subscribers, say a sample that is 70% subscribers, should expect 0.70×90+0.30×60=81%0.70 \times 90 + 0.30 \times 60 = 81\%: 12 percentage points too high.

With 100 respondents, chance alone typically keeps the result within about 8 points of 81%; with 5,000 respondents, within about 1 point. The sample becomes more precise, but around the wrong number. The explorer below lets you try it.

Four biases to look for

Each kind of bias enters at a different step of the path from population to numbers, as the figure above shows.

Sampling bias arises when some members of the population are less likely than others to be included. A survey link placed only in the app leaves out website customers; a poll on a council website misses residents without internet access; phoning during working hours misses people at work. The cure lies in the frame and the selection: a list that covers the population, and a random draw from it. Survivorship and non-response bias are particular forms of the same problem, and many textbooks group all three as selection bias: each changes who ends up in the data.

Non-response bias arises when the people who answer differ, in what is being measured, from those who don’t. The response rate, the share of those invited who answered, tells you how much room there is for it. A low rate doesn’t prove bias, but it means the result could sit almost anywhere.

If 120 of 400 invited hotel guests reply and 90 of them are satisfied, then 75% of respondents are satisfied, but the share of all 400 could be as low as 90÷400=22.5%90 \div 400 = 22.5\% (if no non-respondent is satisfied) or as high as (90+280)÷400=92.5%(90 + 280) \div 400 = 92.5\% (if all are). People with strong views, good or bad, can be the most likely to reply. Reminders, short questionnaires and a follow-up of a random sample of non-respondents reduce the problem; comparing respondents with non-respondents on what you already know about them, such as channel or order value, helps you detect it.

Survivorship bias arises from studying only the people or things that passed some filter, while those that dropped out are invisible. Ana’s survey could only reach customers who completed an order; the visitors most put off by a bad checkout left no address. The same trap catches a business that studies the satisfaction of its current customers (the dissatisfied have already gone), or that learns what makes products succeed by studying only products still on sale. Ask what the filter was, and who failed it.

Measurement bias arises from the way a value is measured or a question is asked, pushing answers systematically one way. Ana’s survey asked every respondent whether the new checkout was easy to use, including customers who had ordered only through the app, which was not changed. Some of them answered anyway, about a checkout they never saw.

The statement format adds a second problem. Pew Research Center reports research showing that less educated and less informed respondents have a greater tendency to agree with agree/disagree statements, and recommends offering a choice between alternative statements instead. Outside surveys, measurement bias comes from instruments and definitions: scales that read heavy, or a website redesign that changes how visits are counted.

Writing survey questions

Pew Research Center’s guidance on writing survey questions reduces to a few rules. Make every question clear, specific and answerable by every respondent who is asked it, which may mean routing some people past a question with a filter question. Ask about one thing at a time: a double-barrelled question, which asks about two things at once, can’t be answered honestly by someone who likes one and not the other. Offer answer options that are exhaustive and don’t overlap.

Remember that earlier questions colour later ones, and that the order of the options matters too. And pretest: try the questionnaire on a few people and find out what they thought each question meant. Two further rules are standard practice: avoid leading wording that signals the expected answer, and keep rating scales balanced, with as many favourable as unfavourable options.

Weak questions and better ones (the first is Lantern’s; the rest are fictional)
Weak questionProblemBetter
“The new checkout was easy to use” (agree, neutral, disagree), asked of everyoneAsked of app buyers who never saw it; agree/disagree invites agreementFirst ask how the customer ordered (website, app or both). Then, for website users only: “How easy or difficult was it to pay on our website?” (very easy … very difficult)
“How satisfied were you with the speed and friendliness of our delivery?”Double-barrelled: two things in one questionTwo questions, one about speed and one about friendliness
“Don’t you agree our new blends are excellent?”Leading: the wording tells people the expected answer“How would you rate our new blends?” on a balanced scale from very poor to very good
“How many cups of coffee did you drink last year?”Unanswerable from memory, so people guess“How many cups of coffee did you drink yesterday?”

Experiments and A/B tests, in outline

Transactional data and surveys record what happened while many other things were also happening. September brought a new checkout, but also the end of the summer holidays and whatever else changed that month, so a fall in orders after 1 September can’t by itself prove what caused it. An experiment changes one thing on purpose and compares.

In an A/B test, each visitor is randomly assigned to version A, the existing checkout, or version B, the new one. Version A’s visitors are the control group. Because chance alone decides who sees which version, the two groups are alike on average in everything else (device, day of the week, what they came to buy), so a clear difference in the outcome can be put down to the version, apart from chance. Had Lantern split September’s 8,800 web visits this way, each version would have had about 4,400 visits to compare.

A test is only as good as its plan. Decide the outcome to compare and how long the test will run before starting; assign visitors at random, not by day or by device; run whole weeks, so that weekdays and weekends are both included; change nothing else for one group only; and don’t stop the test the moment the result looks good. Whether a difference is too large to be chance is a statistical question, which B04 Descriptive and Inferential Statistics answers.

Observation, and data from others

Observation finds what nobody thought to measure. Watching five customers try to pay on their phones might have revealed a payment-page fault on mobile browsers within minutes. Five people are not a representative sample, and people behave a little differently when watched, so observation suggests problems rather than measuring how common they are.

Third-party and public data supply what a business can’t collect itself: the payment provider’s records of declined cards, official statistics on household spending, market data bought from research firms. Before using them, read their definitions, coverage and timing, and check the licence: what “a failed payment” means, which customers a statistic covers, how late it is published, and whether you may combine it with your own data.

Consent and privacy, in outline

Collecting data about people brings legal duties. This outline uses the UK GDPR as explained by the Information Commissioner’s Office (ICO), the UK regulator; other jurisdictions have their own rules, so a business checks the law that applies where its customers are. Under the UK GDPR, personal data means any information relating to an identified or identifiable natural person, who can be identified directly or indirectly, for example from a name, an identification number, location data or an online identifier. The ICO notes that pseudonymised data, in which names are replaced by codes such as customer numbers, is still personal data.

A business must have a valid lawful basis to handle personal information. For the UK GDPR the ICO lists seven (consent, contract, legal obligation, vital interests, public task, recognised legitimate interest and legitimate interests) and states that no single basis is better or more important than the others. Recognised legitimate interest was added by the Data (Use and Access) Act 2025, so older sources, and sources on the EU’s GDPR, list six. Where a business relies on consent, it must be freely given, specific, informed and unambiguous, shown by a statement or a clear affirmative action: silence, pre-ticked boxes or inactivity don’t count, and people can withdraw consent easily at any time.

For an analyst, a few habits follow. Collect only what the question needs, and say what it will be used for. Analyse survey answers by customer number rather than by name or e-mail address, and keep the file that links them access-restricted. Never publish results for groups so small that a reader could identify the people in them. None of this is legal advice; when in doubt, ask whoever in the business is responsible for data protection.

Formulas

Response rate

Response rate=rN×100%\text{Response rate} = \dfrac{r}{N} \times 100\%
rr
Completed responsespeople
NN
People invited who could have respondedpeople

Assumes. Say what N includes. Organisations differ on whether invitations that never arrived (bounced e-mails, wrong numbers) count.

A low rate doesn’t prove bias; it measures how much room there is for it.

Range allowed by non-response

Lowest=yN×100%Highest=y+(N−r)N×100%\text{Lowest} = \dfrac{y}{N} \times 100\% \qquad \text{Highest} = \dfrac{y + (N - r)}{N} \times 100\%
yy
Respondents giving the answer of interest (for example, “satisfied”)people
rr
Respondentspeople
NN
People invitedpeople

Assumes. No assumption at all about the non-respondents: the lowest figure supposes none of them gives the answer, the highest that all do.

The range narrows only as the response rate rises, or when you learn something about the non-respondents.

Combining respondents and a follow-up of non-respondents

p^=r×pr+(N−r)×pnN\hat{p} = \dfrac{r \times p_r + (N - r) \times p_n}{N}
p^\hat{p}
Estimated share of everyone invited giving the answer%
prp_r
Share among respondents%
pnp_n
Share among non-respondents, from a follow-up of a random sample of them%
rr
Respondentspeople
NN
People invitedpeople

Assumes. The follow-up sample is random and its members answer like the other non-respondents.

A weighted average: each group counts in proportion to its size. A small follow-up leaves a wide margin of chance around it.

Worked examples

A first example: Who is in the library survey?

Fictional figures

Northfield University’s library wants to know how its 6,000 students rate the library’s opening hours. Staff hand a questionnaire to the first 150 students who walk into the library on a Tuesday afternoon. Identify the population, the frame and the sample, name the sampling method, and say which way the result is likely to be biased.

  1. Population: the question is about all students, so the population is all 6,000 enrolled students.
  2. Frame and sample: there is no list; in effect the frame is the students who come into the library on Tuesday afternoon, and the sample is the first 150 of them, 150÷6,000=2.5%150 \div 6{,}000 = 2.5\% of the population.
  3. Method: a convenience sample, chosen because the students are easy to reach, not at random.
  4. Bias: students for whom the hours are inconvenient are the least likely to be in the library at all, and Tuesday-afternoon users may differ from those who come in the evening or at weekends. Both are forms of survivorship and sampling bias, and both push the same way: the survey will probably overstate satisfaction with the hours.
  5. Fix: draw a simple random sample of, say, 300 student numbers from the university’s register and e-mail them the questionnaire, then compare respondents with the whole student body by year and programme.

Answer. Population: all 6,000 students. Sample: 150 Tuesday-afternoon visitors (2.5%), a convenience sample. Its result will probably overstate satisfaction, because the students most inconvenienced by the hours are the least likely to be asked.

What it means. Nothing is wrong with the questionnaire or the arithmetic; the problem is who could be asked. A sample of 1,500 Tuesday visitors would be more precise and just as biased.

A harder example: How satisfied are Harborview’s guests?

Fictional figures

Harborview Hotel e-mails a satisfaction survey to the 400 guests who stayed in March. 120 reply, and 90 of them say they were satisfied. The manager wants to report “75% of guests satisfied”. To check, the hotel phones a random sample of 120 of the 280 guests who didn’t reply, and 72 of them say they were satisfied. What can the hotel honestly report?

  1. Response rate: 120÷400=30%120 \div 400 = 30\%. Among respondents, 90÷120=75%90 \div 120 = 75\% were satisfied.
  2. Range allowed by non-response: if none of the 400−120=280400 - 120 = 280 non-respondents was satisfied, the share is 90÷400=22.5%90 \div 400 = 22.5\%; if all were, (90+280)÷400=92.5%(90 + 280) \div 400 = 92.5\%. The survey alone can’t narrow this.
  3. Learn about the non-respondents: the random follow-up found 72÷120=60%72 \div 120 = 60\% satisfied, well below the respondents’ 75%. Those who replied were the happier guests.
  4. Combine the groups in proportion to their sizes: (120×0.75+280×0.60)÷400=(90+168)÷400=258÷400=64.5%(120 \times 0.75 + 280 \times 0.60) \div 400 = (90 + 168) \div 400 = 258 \div 400 = 64.5\%.
  5. Judge the uncertainty. The 60% comes from 120 of the 280 non-respondents, so chance leaves a margin of about ±7 percentage points around it; B04 Descriptive and Inferential Statistics shows the calculation, including an adjustment for calling a large share of a small group. Non-respondents are 70% of the guests, so the combined estimate carries about ±5 points: roughly 60% to 69%. With only 40 calls the margin around the non-respondents’ figure would have been about ±14 points.

Answer. About 64.5% of March guests were satisfied, not 75%. The hotel should report the combined estimate, the response rate (30%), its margin of about ±5 points and the fact that it rests on a follow-up of 120 non-respondents.

What it means. The respondents’ 75% was arithmetically correct and still overstated satisfaction by 10.5 percentage points, because happier guests were more likely to reply. Without the follow-up, the honest statement would have been the wide range from 22.5% to 92.5%.

Applied: a business decision: Should Fernwood switch to its new checkout?

Fictional figures

Fernwood Apparel, a fictional online clothing brand, has redesigned its checkout. Instead of switching everyone over, it runs an A/B test for four full weeks: each visitor is randomly assigned on arrival to the existing checkout (A, the control group) or the new one (B). A had 6,000 visits and 168 orders; B had 6,000 visits and 198 orders. Mobile visits made up 61% of A’s visits and 60% of B’s. A sale ran during the third week. Should Fernwood switch, and what does the test show that a before-and-after comparison couldn’t?

  1. Compare the outcome. Conversion (orders ÷ visits) was 168÷6,000=2.8%168 \div 6{,}000 = 2.8\% for A and 198÷6,000=3.3%198 \div 6{,}000 = 3.3\% for B: 0.5 percentage points higher, or 3.3÷2.8≈1.183.3 \div 2.8 \approx 1.18, about 18% more orders per visit. That is 30 extra orders on the same traffic.
  2. Check the randomisation: the groups are the same size, and their device mix is almost identical (61% and 60% mobile), as random assignment should produce.
  3. Consider the sale. It ran for both groups at once, so it raised or lowered both; it can’t explain a difference between them. A before-and-after comparison, old checkout in one month and new in the next, would have mixed the checkout with the sale, the season and anything else that changed.
  4. Check chance. Even identical checkouts would not produce exactly equal order counts, so before switching, Fernwood should apply the significance test it planned before the test began (B04 Descriptive and Inferential Statistics teaches it), and check that the new checkout didn’t raise anything it shouldn’t, such as abandoned payments or returns.
  5. Decide: if the difference passes the planned test, switch everyone to B and keep tracking conversion afterwards, since a test lasts weeks and a checkout lasts years.

Answer. B converted 3.3% of visits against A’s 2.8%: 0.5 percentage points (about 18%) more, with the sale and everything else balanced by random assignment. If that passes the test planned in advance, Fernwood should switch to B and keep measuring.

What it means. Random assignment is what turns a comparison into evidence about cause. Ana’s September data, by contrast, can show that orders fell after the new checkout went live, but not, on its own, that the checkout caused it.

Explore

A population with two kinds of customer, and a sample that over-represents one of them. At 30 people, chance is wide enough to hide the bias. Raise the sample size and watch the range of likely results narrow around the wrong number; then make the sample’s mix match the population’s and watch the bias disappear.

Loading the interactive…

Set how many people were invited, how many replied and what the respondents said. The range shows everything the non-respondents could have said; your guess about them shows how far the respondents’ figure could be from the truth.

Loading the interactive…

Common mistakes

  • “A bigger sample fixes bias.”

    A bigger sample reduces sampling error, the chance part of the error. It does nothing to bias: 5,000 people reached through a biased route give a precise estimate of the wrong number. Fix the frame, the selection and the questions, not the size.

  • “We asked all our customers, so the result is representative.”

    Asking everyone on a list is a census of the list, not of the population. Customers who left, or visitors who never bought, are not on it (survivorship), and those who don’t reply may differ from those who do (non-response). Ask who the question is about, then who could actually answer.

  • “A low response rate makes a survey worthless; a high one makes it right.”

    The response rate measures room for bias, not bias itself. A 30% response from a random sample, checked with a follow-up of non-respondents, can beat a 70% response in which the unhappy stayed silent. Report the rate, the range it allows and what you know about non-respondents.

  • “Agree or disagree is a neutral way to ask.”

    Agree/disagree statements invite agreement, especially from less informed respondents, and a statement asked of people it doesn’t apply to invites guesses. Ask a balanced question with a choice between alternatives, and route people past questions they can’t answer.

  • “Orders fell after the change, so the change caused the fall.”

    Observational data shows what happened alongside everything else that changed at the same time. To attribute an effect to a change, compare randomly assigned groups in an experiment, or at least rule out the other explanations one by one.

  • “If we have the data, we may use it.”

    Under the UK GDPR, personal data needs a lawful basis, and where it relies on consent, that consent must be specific, informed and given by a clear affirmative action. Pseudonymised data is still personal data. Collect what the question needs, and check the rules that apply.

Guided practice

Work through these with hints when you need them. Every hint and every worked solution is there to be used.

Loading four questions…

On your own

No hints this time. Answer, check, and read the feedback; the solution appears once you have answered or if you ask for it. Your first answers count toward mastery.

Loading six questions…

In practice

After the 5 October fix, Ana wants better evidence the next time something changes in the shop. With Jun Park, Lantern’s analyst, she writes a plan that uses each source for what it does best.

  1. Transactional and web data, every day. Orders and visits by channel and by device, daily rather than monthly, so a fault shows within days. Jun records the analytics tool’s session settings and notes any change to them, so that a change in how visits are counted is never mistaken for a change in customers.
  2. A question for the people who leave. A single optional question appears to website visitors who leave the payment page without paying: “What stopped you from paying today?” It reaches the people the October survey could not, although it is self-selected: only some of them will answer, so it shows which problems exist, not how common each is.
  3. Observation. Before and after every change to the checkout, five customers try to pay on their own phones while someone watches and notes where they hesitate.
  4. A better customer survey. The November survey goes to a random sample of the month’s customers, opens with a question about how they ordered, shows the checkout questions only to website users, uses balanced scales instead of agree/disagree statements and is pretested on three customers. Non-respondents get one reminder, and Jun compares respondents with non-respondents on channel and order value from the order records.
  5. An experiment for the next redesign. Any future change to the checkout runs first as an A/B test, with the outcome and the length of the test written down before it starts.
  6. Privacy. The privacy notice says customers may be asked for feedback; survey answers are stored against customer numbers, not e-mail addresses; and the survey asks nothing the analysis won’t use.

The plan costs little: most of it reuses data the shop already records, and the rest is a few questions and an hour of watching. What it buys is the ability to answer “did the change work?” with evidence that reaches the right people and could have come out the other way.

Professional survey organisations work the same way at a larger scale. Pew Research Center describes pretesting a survey as an essential step in designing a questionnaire, using pilot tests, focus groups and cognitive interviews to learn how people interpret each question before the real fieldwork begins. A hotel group that reads only its online reviews, by contrast, is reading a self-selected sample of guests who chose to write, and a software company that surveys only its current users will never hear from the people who cancelled. In each case the first question is the same one Ana learned to ask: who could have been in this data, and who could not?

Knowledge check

Six questions, one attempt each, no hints. Score 80% or more to complete the lesson; you can take it again at any time.

Loading six questions…

Summary

  • Business data comes from transactions, web and app logs, surveys, experiments, observation and third parties. Each is good for some questions and blind to others.
  • Define the population from the question. The sampling frame is the list a sample is drawn from; anyone missing from it can’t be heard.
  • Random samples resemble the population apart from chance; convenience samples are often biased.
  • Sampling error shrinks as a sample grows; bias doesn’t. Look for sampling, non-response, survivorship and measurement bias at each step from population to numbers.
  • Response rate = responses ÷ invited. Non-response allows a range from y ÷ N to (y + N − r) ÷ N; a follow-up of non-respondents narrows it.
  • Good questions are clear, about one thing, answerable by everyone shown them and balanced rather than agree/disagree; pretest them.
  • Random assignment, as in an A/B test, is the most reliable way to separate the effect of a change from everything else that changed at the same time; without it, rule out other explanations one by one.
  • Under the UK GDPR, personal data needs a lawful basis; consent, where relied on, must be specific, informed and given by a clear affirmative action. Collect only what the question needs.

Key formulas

Terms introduced

Transactional data
Data recorded as a by-product of doing business, such as orders, payments, refunds and bookings.
Population
Everything a question is about: all the people, things or events whose characteristics you want to know.
Sample
The part of a population that is actually observed or asked, used to learn about the whole.
Census
A study that observes every member of the population, rather than a sample.
Sampling frame
The list or source from which a sample is actually drawn, such as a customer e-mail list. Anyone missing from the frame can’t be sampled.
Simple random sample
A sample chosen so that every group of the same size in the frame is equally likely to be selected, for example by drawing customer numbers at random.
Convenience sample
A sample made up of whoever is easiest to reach, such as the first replies to a link. It is not random and is often biased.
Self-selected sample
A sample made up of the people who choose to take part, such as everyone who answers a link posted online. Also called a voluntary-response sample; people with strong views tend to be over-represented.
Sampling error
The chance difference between a sample’s result and the population’s, which arises because only part of the population was observed. It shrinks as the sample grows.
Sampling bias
Systematic error that arises when some members of the population are less likely than others to be included in the sample.
Non-response bias
Systematic error that arises when the people who answer a survey differ, in what is being measured, from those who don’t.
Survivorship bias
Systematic error from studying only the people or things that passed some filter, such as current customers, while those that dropped out are invisible.
Measurement bias
Systematic error from the way a value is measured or a question is asked, which pushes results in one direction.
Response rate
The share of the people invited to a survey who answered it: responses ÷ people invited × 100. Say whether invitations that never arrived are counted.
A/B test
An experiment in which units such as website visitors are randomly assigned to two versions, A and B, so that a difference in outcomes can be attributed to the version rather than to who saw it.
Control group
In an experiment, the group that receives the existing version or no change, against which the changed group is compared.
Personal data
Under the UK GDPR, any information relating to an identified or identifiable natural person: someone who can be identified directly or indirectly, for example from a name, an identification number, location data or an online identifier.

Sources

  1. Illowsky, B. & Dean, S. (2023). Introductory Statistics 2e, sections 1.1 “Definitions of Statistics, Probability, and Key Terms” and 1.2 “Data, Sampling, and Variation in Data and Sampling”. OpenStax. openstax.org/books/introductory-statistics-2e/pages/1-2-data…
  2. Pew Research Center. “Writing Survey Questions”. Methods. pewresearch.org/writing-survey-questions
  3. Google. “[GA4] Session”. Analytics Help. support.google.com/analytics/answer/12798876?hl=en
  4. Information Commissioner’s Office. “What is personal data?” UK GDPR guidance and resources. ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/…
  5. Information Commissioner’s Office. “A guide to lawful basis”. UK GDPR guidance and resources. ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/…
  6. Information Commissioner’s Office. “The Data (Use and Access) Act 2025 (DUAA): summary of the changes: Data protection”. ico.org.uk/about-the-ico/what-we-do/legislation-we-cover/dat…
  7. European Commission. “Legal grounds for processing data”. Data protection: information for business and organisations. commission.europa.eu/law/law-topic/data-protection/informati…
  8. Information Commissioner’s Office. “What is valid consent?” UK GDPR guidance and resources. ico.org.uk/for-organisations/uk-gdpr-guidance-and-resources/…