Collecting and Preparing Data in Marketing Research, Explained

UPI Study › Courses › Marketing Research › Free lessons › Lesson 8.5 Free lesson

Collecting and Preparing Data in Marketing Research

Marketing Research · Chapter 8: Secondary Data, Syndicated Sources, and Data PreparationSection 8.5 · lesson 59 of 10111 min · free to watch

← Using Geographic and Consumer Data in Marketing ResearchNext lesson: Encoding and Scoring Data in Marketing Research →

Earn 3 college credits for Marketing ResearchRecommended for credit by NCCRS · Marketing 300 · self-paced · one payment, lifetime access

In this lesson

Editing questionnaires and cleaning data files before any analysis.

  • Edit questionnaires for completeness, range, consistency and quality of effort
  • Clean a messy table by fixing duplicates, spelling variants, impossible values and typos
  • Decide how to treat missing values and outliers, and explain why

Free study notes

Get this lesson's notes by email

The key points and 4 practice questions with answers, in your inbox. One email, free.

One email. Unsubscribe in one click.

Transcript

Everything said in the video, section by section (1,516 words). Read along, or search it.

Opening Example

One Typo Versus a Hundred Answers

A single typo can move an average more than a hundred careful answers. Imagine a shopper who really bought 3 bars a week. But a tired person typed 30. The survey was beautiful. The sample was perfect. And the result is wrong. This lesson is about the quiet, unglamorous work that protects every number you will ever report.

In this lesson, you will edit questionnaires for completeness, believable answers, and consistency. You will clean a small, messy table: duplicates, spelling variants, impossible values, and typos. And you will decide what to do with missing values and outliers, and say why.

Editing

Skimming Every Exam Before Grading

First: editing, looking before you type. Fernway Snacks is a composite case built for teaching. Fernway has just surveyed buyers about a new bar with oats and berries. Nadia now has a pile of completed questionnaires, on paper or online.

Before anyone calculates anything, Grace, the data analyst, does editing. That means reading the raw responses to find answers that are missing, unreadable, impossible, or contradictory.

Think of a teacher who skims every exam before grading. A blank page, or a name missing on the cover, is spotted early. Nothing is graded yet. The teacher is just making sure each paper is ready to be graded.

Where does editing sit? Picture a road with six stops. Collect: fieldwork ends. Edit: check each form. Code: turn answers into codes. Enter: type them into a file. Clean: fix errors and gaps. And analyze: tables and tests.

Four Checks

Completeness, Range and Consistency

Two of those stops are the guards. Editing is done on the forms. Cleaning is done on the data file. Skip them, and mistakes flow straight into the results. Every later calculation trusts that these two steps were done well.

Editors usually run four kinds of check. The first is completeness. Did the person skip questions, or quit halfway? A form that stops on page two cannot be treated like a full one.

The second is range. Is each answer allowed? On a 1 to 5 scale, a 9 is impossible. And an age of 460 is a typo. Nobody is that old.

The third is consistency. Do the answers agree with each other? Picture someone who writes, "I never eat snack bars." A few lines later, the same person reports five bars last week. Both answers cannot be true.

Effort and Options

Straight-Lining and Three Honest Options

The fourth is quality of effort. Picture an online form finished in a few seconds, with the same answer ticked all the way down. That is straight-lining, from lesson 5.3. It deserves a second look. The person may not have read a single question.

When a problem turns up, there are three honest options. Go back to the respondent, or the field team, if that is possible. Treat the answer as missing. Or drop the whole questionnaire, if it is mostly unusable. What you must not do is quietly guess.

Here is a smart shortcut. Many online surveys build range checks into the form itself. So a 9 on a 1 to 5 question cannot be entered at all. That is cheaper than finding it later.

Worked Example

An Age of 460 in the Pilot

Here is how it plays out at Fernway. Victor, the outside supplier, delivers 10 completed questionnaires from a pilot run. Grace spots an age of 460, on the first pass. She also spots a person who finished the twelve-minute form, in 40 seconds.

She flags both for Victor, before a single average is calculated. That takes ten minutes. Finding the same problems after the final report would take days. Editing is cheap. Fixing a published mistake is not.

Data Cleaning

Six Problems in Ten Rows

Next: cleaning a messy table. Once answers are typed into a file, data cleaning means finding and fixing the errors that remain. Duplicates. Inconsistent spellings. Typing slips. Impossible values.

Fernway's pilot file has ten rows. The data is invented. And it has six problems. Let us find them, one at a time.

Problem one: gender is typed three ways. A capital F, a small f, and the full word, female. A count would treat them as three different groups. Problem two: ID 1 appears twice, with identical answers. That is a duplicate record. It would double-count one person.

Problem three: ID 5 reports 30 bars a week. Everyone else reports between 2 and 5. Problem four: ID 4 gave a satisfaction of 9, on a 1 to 5 scale. And problems five and six are blanks. ID 6 has no age. And ID 8 has no satisfaction score.

So how does Grace fix them? She works with one rule. Fix only what the evidence supports.

Fixing the File

Fix Only What Evidence Supports

She standardizes the gender labels to F and M. That loses nothing. She removes the repeated row, and keeps the first copy. Then she checks the 30 against the paper form. The form says 3. So it was a typing slip. She corrects it, and notes the change in a log.

The 9 is different. It cannot be traced to a true answer. So she blanks it, instead of guessing. The raw file had 10 rows. The clean file has 9.

Now, why does this matter? Look at the average number of bars per week. In the raw file, with the duplicate and the typo, the mean is 5.9. In the clean file, it is 3.22.

What does it mean? The raw file would tell Leo that the typical shopper buys almost six bars a week. The truth in this pilot is closer to three. A brand manager who planned production from the first number would plan nearly double. That is a lot of bars sitting in a warehouse, all because of one slip.

Common Mistake

Never Overwrite the Raw File

Here is a common mistake. People save their cleaning changes on top of the original file. Instead, always keep the raw file untouched. Do the cleaning in a copy. And keep a short log of each change: what, why, and who. Then anyone can check your work. And you can undo a bad decision.

Outliers

Detective Work Before Deletion

Finally: extreme values, and missing values. An outlier is a value far from the rest, like that thirty bars a week.

The first job is detective work, not deletion. If it is an error, as in this file, correct it from the source, or set it to missing. If it is real, keep it. Picture an office manager who truly buys thirty bars a week, for the break room. Real customers like that exist.

And when it is real, report the result both with, and without, the outlier. Then readers can see how much it matters. Deleting every inconvenient number is a way of fooling yourself.

Here is a pro tip. Put each column in order, from smallest value to largest. Then glance at the top, and the bottom. Impossible values, and strange spellings, gather at the ends. So a two-minute sort catches most of what a long read would miss. A dot plot works the same way. One value far from the crowd jumps out at once.

Missing Values

Three Ways to Handle Blanks

Now, two blanks remain in the clean file. A missing value is an answer that should exist, but does not. It was skipped, refused, or lost. And people skip questions for reasons. So the blanks are rarely random.

Analysts have three standard ways to cope. The first: use available answers. Each calculation uses whoever answered that question. It is quick, for summaries. But different questions end up with different numbers of people.

The second: delete the whole case. Drop any respondent with a blank anywhere. That is called listwise deletion. It is good for comparing variables on one fixed group. But it can shrink the sample a lot.

The third: fill in a value. Insert a typical value, such as the mean, or a neutral midpoint. It suits rare, small gaps. But it hides uncertainty. And it can make answers look less varied than they really are.

Worked Comparison

Available Answers Versus Listwise Deletion

Let us see the difference, with Grace's two missing satisfaction scores. Using the available answers, 7 people answered. Their mean satisfaction is 3.57.

Now suppose Grace deleted every case with any blank, in age or satisfaction. Only 6 of 9 respondents would remain. And the mean satisfaction among them would be 3.5.

What does it mean? Neither number is wrong. They answer slightly different questions. So you should say which method you used, and how many people it covers. The more blanks there are, and the more they cluster in one kind of respondent, the more serious the problem becomes.

Try it yourself. Ask three friends how many hours they slept last night. Write the answers in three different styles, such as a seven in digits, the word seven, and seven with the letter h. Which ones would a spreadsheet count as the same? Then rewrite them, so that they would be.

Key Takeaways

Edit, Clean and Log Every Change

Key takeaways. Preparation happens in two stages. Edit the forms for completeness, range, and consistency. Then clean the file: remove duplicates, standardize labels, fix proven typos, and decide openly how to treat blanks and extreme values. Keep the raw file, log every change, and never guess quietly. Next, in lesson 8.6, you will turn cleaned answers into numbers, with a codebook. This lesson was made by UPI Study.

About Marketing Research at UPI Study

Marketing Research (Marketing 300) is a self-paced online course of 101 video lessons in 13 chapters, from consumer behavior, segmentation and the research process to qualitative methods, surveys and sampling, measurement, experiments, secondary and syndicated data, descriptive statistics, hypothesis tests, correlation and regression, research ethics and reports. It carries a NCCRS credit recommendation for 3 semester credits.

Every lesson transcript is free on pages like this one, and the videos are free with a free UPI Study account. Enrolling adds a practice quiz after each lesson, the graded work and final exam that earn the credit, lifetime access, and an official transcript on completion. UPI Study has helped over 130,000 students with college credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Compare: Principles of Marketing vs Marketing Research

Why take it here

Why students take Marketing Research with UPI Study

Turn customer questions into evidenceMarketing Research teaches how companies find out what customers want: defining the problem, interviews and focus groups, survey design and sampling, measurement scales, experiments, secondary and syndicated data, and data analysis from descriptive statistics to hypothesis tests, cross-tabs and regression, ending with the research report. It suits marketing and business degrees.
Credit at a fraction of the priceThe same 3 credits can cost $750 or more at a US college. Here it is one payment, self-paced, with lifetime access.
Finish your degree soonerTransfer credits reduce the courses you still owe, so you can graduate earlier or lighten a heavy semester.
Strengthen an applicationA completed college-level course on an official transcript shows admissions and scholarship committees you can do the work.
Study on your own scheduleNo start dates, no deadlines. Watch the lessons, practice, and take the final when you are ready.
130,000+students helped with college creditsACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Where the credit goes

Universities that work with NCCRS

Marketing Research carries a NCCRS credit recommendation. These universities work with NCCRS; some are UPI Study's signed partners. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.

Find my college → Not listed? Ask Athena in the corner of this page, or book a 15-minute call.

FAQ

Questions students ask us

About Collecting and Preparing Data in Marketing Research

What is the difference between data editing and data cleaning?
Editing checks the raw questionnaires for answers that are missing, unreadable, impossible or contradictory before data entry. Cleaning fixes the errors that remain once answers are in a data file, such as duplicate records, inconsistent spellings, typing slips and impossible values. Both act as guards; skipping either lets mistakes flow straight into every later calculation.
What checks should be run when editing survey questionnaires?
Editors usually check completeness, meaning skipped questions or quitting partway; range, whether each answer is allowed, such as no 9 on a 1 to 5 scale; consistency, whether answers agree with each other; and quality of effort, such as a long form finished in seconds with the same answer ticked throughout. Problems are followed up, set to missing or dropped, never quietly guessed.
How should outliers be handled in survey data?
Investigate before deleting. If an extreme value is an error, such as 30 typed for 3, correct it from the source or set it to missing. If it is real, like an office manager buying snacks for a break room, keep it and report results both with and without it. Sorting each column from smallest to largest quickly exposes values at the ends.
What is listwise deletion and when is it appropriate?
Listwise deletion drops any respondent with a blank in any variable being analyzed. It keeps one fixed group, which helps when comparing variables, but it can shrink the sample a lot. The alternatives are using the available answers for each calculation, so counts differ by question, or filling in a typical value, which suits rare small gaps but hides uncertainty.

About the Marketing Research course

How many college credits is Marketing Research?
Marketing Research (Marketing 300) carries a NCCRS credit recommendation for 3 semester credits. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities.
How much does Marketing Research cost and what is included?
$250, paid once, with lifetime access: all 101 video lessons, a practice quiz after each, the graded work and final exam, and an official transcript when you finish. Students who want several courses choose UPI Study PRO instead.
Which universities accept UPI Study credits?
UPI Study has signed partner agreements with universities such as Thomas Edison State University, University of the People and Charter Oak State College, and works with universities such as Penn State, SNHU and SUNY. ACE and NCCRS have over 2,100 cooperating colleges that will consider accepting credits; the final decision is with the universities. Use "Find my college" on this page to check yours.
How long does Marketing Research take?
It is self-paced with no deadlines. The 101 lessons total about 19 hours of video; most students add reading and practice time and finish in a few weeks to a few months, on their own schedule.
How are the exams done?
Quizzes and assignments are online in the course. The final exam is taken online with proctoring; a person on the UPI Study team checks assignments, usually within two days.
How do my credits reach my college?
When the course shows 100% complete, request the official transcript from your dashboard. It is sent to the college you name, and you can send it to more than one. Check your college first with "Find my college" on this page, or ask Athena.

Ready for the full course? Earn 3 credits in Marketing Research.

101 video lessons, a quiz after each one, and the graded work that earns the credit. Recommended for credit by NCCRS.

Updated

Marketing Research
3 credits · NCCRS
Enroll →