UPI Study › Courses › Marketing Research › Free lessons › Lesson 12.5 Free lesson
Bivariate Analysis: Examining the Relationship Between Two Marketing Variables
Marketing Research · Chapter 12: Correlation, Regression, and Advanced Data AnalysisSection 12.5 · lesson 88 of 10111 min · free to watch
Lesson complete
Earn the 3 college credits for Marketing Research
Enrolling adds a quiz after each lesson, the graded work and the official transcript. Recommended for credit by NCCRS.
Next lesson: Perceptual Mapping: Visualizing How Consumers Position Brands and Products →← Using Regression Analysis to Predict Business OutcomesNext lesson: Perceptual Mapping: Visualizing How Consumers Position Brands and Products →
In this lesson
Match each pair of variable types to the right picture and test.
- Explain what bivariate analysis is and how it differs from univariate and multivariate analysis
- Sort a pair of variables as number and number, category and category, or category and number
- Choose the matching picture, summary and test from a decision table
- Interpret correlation, chi-square and t-test results on a small composite case
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,518 words). Read along, or search it.
Opening Question
Two Questions, Two Different Tools
A school club asks two questions. Do kids who sleep more get better marks? And do kids who ride the bus come from different neighborhoods than kids who walk?
Both questions ask whether two things go together. Yet you would not answer them with the same tool. The first compares two numbers. Hours of sleep, and marks. The second compares two labels. Bus or walk, and which neighborhood.
Fernway Snacks, a composite case built for teaching, has the same puzzle every week. Only the variables change. Ad spend, channels and packages take the place of sleep and buses.
This lesson gives you the one habit that picks the right tool. Ask what kind of variable each one is. Get that right, and the rest follows almost on its own. Get it wrong, and even perfect arithmetic gives a meaningless answer. The type of variable comes before every formula.
Learning Goals
Sort Pairs and Pick the Test
By the end of this lesson, you will explain what bivariate analysis is. And you will sort a pair of variables as number and number, category and category, or category and number. You will choose the matching picture, summary and test, from a decision table. And you will run all three kinds of pairs on a small composite case's data, then read each result.
The scale levels behind "number" and "category" are in lesson 5.5. And the variable roles are in lesson 6.2. Each technique also has its own lesson. Correlation, regression, cross-tabs, chi-square, the t-test, and ANOVA. This lesson ties them all together.
Definitions
Univariate, Bivariate and Multivariate
First: what bivariate means. Analysis of one variable at a time is univariate. A mean is univariate. So is a frequency table.
Analysis of exactly two variables, to see whether and how they are related, is bivariate. And analysis of three or more at once is multivariate. The multiple regression in lesson 12.4 was multivariate.
Why does bivariate get its own lesson? Because most research reports contain a long run of bivariate results. "Does this go with that?" is the most common question a manager asks. Does the new package go with more sales? Does the online channel go with more loyal shoppers? Each one is a pair. And the answer to each starts the same way, by asking what kind of variables are in it.
The step before any technique is to name the type of each variable. And a simple split is enough here. Every variable is either a number, or a category.
Variable Types
Measured Amounts Versus Labels
A variable is a number when it is a measured amount, where averages make sense. Ad spend. Price. Weekly sales. In lesson 5.5, those were interval or ratio scales. An average price of a few dollars means something real.
A variable is a category when it is a label, or a group. Channel. Package. Yes or no. Region. Those are nominal scales, and often ordinal ones too. An "average channel" would mean nothing at all.
Decision Table
Number Pairs and Category Pairs
Next: the decision table. Two variables, each of two types, give three different situations. Why only three, and not four? Because "number and category" and "category and number" are the same case, turned around.
Here is the first row. Number and number. Draw a scatterplot first. Summarize with the correlation, r, then a line. The tools are correlation, from lesson 12.1, and regression, from lesson 12.4. The Fernway example: ad spend and weekly sales.
The second row. Category and category. Draw a cross-tab, with bars. Summarize with the percent within each group. The tools are the cross-tabs of lesson 10.4, and the chi-square test of lesson 11.1. The Fernway example: the shopping channel, and whether the shopper would buy again.
Decision Table
The Mixed Case and Two Quick Questions
The third row. Category and number. Draw bars of the group means. Summarize with the mean of the number, for each group. The tools are the t-test of lesson 11.2, for two groups. And ANOVA, from lesson 11.3, for three or more. The Fernway example: the package, and weekly sales.
Now turn the table into two quick questions. First: are both of them numbers? If yes, you are in the correlation and regression family. Lessons 12.1 to 12.4.
If not, ask the second question. Are both of them categories? If yes, you build a cross-tab, and run chi-square. If neither, you are in the mixed case.
Pro Tip
Categories Make Groups, Pictures Come First
In the mixed case, treat the category as a way of making groups. Then compare the average of the number, between those groups. The category makes the groups. The number gets averaged within each group. That simple idea turns a confusing pair into a familiar test. You already know how to compare means. The category just tells you which groups to compare.
A pro tip. Always draw the picture that matches the row, before you compute the test. A scatterplot. A cross-tab. Or a bar of group means. Why? A test tells you whether a pattern is probably real. The picture tells you what the pattern is. And it shows whether something odd, like an outlier from lesson 12.1, is behind it.
Worked Examples
Correlation and a Cross-Tab on Fernway Data
Next: all three pairs, run on a composite case's data. Grace runs one example of each kind. The data are invented for teaching.
The first example is the ten weeks from lesson 12.1: ad spend and sales. The second sets 30 online shoppers with 30 corner-store shoppers, on whether they would buy again. The third looks at six stores selling the box, and six selling the pouch.
Start with number and number. R is 0.959. Ad spend and sales rise together very closely, just as lesson 12.1 showed. And a regression line would turn that link into predictions, as in lesson 12.4.
Next, category and category. 73.3 percent of online shoppers say yes. That is 22 of 30. At the corner stores, it is 40.0 percent. That is 12 of 30.
Test Results
Chi-Square and Group Mean Results
Is that gap real? A chi-square of 6.79, with a p-value of 0.009, says a gap this big would be unusual, if channel and answer were unrelated. And the condition holds. The smallest expected count is 13.0. That is well above the usual minimum of 5.
Then, category and number. The box stores average 64.33. The pouch stores average 53.67. That is a gap of 10.67 thousand bars.
The t value is 3.51, and p is 0.006. That is the test from lesson 11.2. But look at the sample. Only six stores a group. So this is a hint worth a bigger test, not a final answer.
Picture all three results side by side. Left: dots following a rising line. Middle: the yes share is much higher online. Right: box stores average more than pouch stores. One picture for each row of the table.
Common Mistake
Treating Region Codes as Numbers
What does it mean for Nadia's decision? The pictures of the first two pairs say where to look. Ads, and online shoppers, both go with the outcomes she cares about. But none of these three results shows what causes what. Lesson 6.4 made that point, and it still holds here.
Here is a common mistake. Treating a coded category as a number. Suppose Grace types each region into the sheet as a digit. North gets the smallest digit, South the middle one, and West the largest. Then she runs r between those digits and sales.
Why is that wrong? The math treats South as "between" North and West. And it spaces them evenly. Regions do not sit on a ruler. So a region is a category. The fair approach groups the stores by region, and averages each group. Recoding labels as numbers, from lesson 9.1, is for counting, not for correlating.
Office Scene
Ten Questions Sorted into Three Piles
Back at the office, Nadia gives Grace a list of ten questions. "Does age group go with trying the new flavor? Does shelf space go with sales? Do the pouch stores sell less than the box stores?"
Grace writes the types next to each one. Category with category. Number with number. And category with number. In two minutes, she has sorted ten questions into three piles. And each pile has one picture, and one test.
That is the payoff of the habit. Grace did not need to think hard about each question. She only had to name two types. The table did the rest. With a long list of questions, that habit saves hours, and it keeps the wrong test off the report.
Try It Yourself
Sort Three Practice Questions
Try it yourself. Sort these three questions into the rows of the table. One: price in dollars, and units sold. The second: loyalty member, yes or no, and monthly spend in dollars. Three: store region, and the package chosen, box or pouch. Then say which picture you would draw first, for each.
Key Takeaways
Name the Types, Then Use the Table
Key takeaways. Bivariate analysis relates exactly two variables. Name the type of each. Then use the table. Two numbers get a scatterplot, and correlation or regression. Two categories get a cross-tab, and chi-square. One of each gets group means, with a t-test or ANOVA. Draw the picture first. And never treat a coded category as a number.
Next, in lesson 12.6, you will move from two variables to many, and see how a perceptual map shows how consumers see brands. 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.
Enroll now → Course details Download the syllabus All Business courses Every credit course with PRO →
Why take it here
Why students take Marketing Research with UPI Study
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.
Thomas Edison State UniversitySigned partner
University of the PeopleSigned partner
Charter Oak State CollegeSigned partner
Strayer UniversitySigned partner
Columbia Southern UniversitySigned partner
Indiana TechSigned partner
Penn StateWorks with NCCRS
Southern New Hampshire UniversityWorks with NCCRS
SUNYWorks with NCCRS
+many more cooperating universitiesFind my college →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 Bivariate Analysis: Examining the Relationship Between Two Marketing Variables
What is bivariate analysis?
Which statistical test should you use for two categorical variables?
How do you analyze a categorical variable and a numeric variable together?
Why should you not correlate a coded categorical variable like region?
About the Marketing Research course
How many college credits is Marketing Research?
How much does Marketing Research cost and what is included?
Which universities accept UPI Study credits?
How long does Marketing Research take?
How are the exams done?
How do my credits reach my college?
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
3 credits · NCCRSEnroll →