UPI Study › Courses › Marketing Research › Free lessons › Lesson 9.2 Free lesson
Statistical Software for Marketing Research
Marketing Research · Chapter 9: Statistical Measures and Data DistributionSection 9.2 · lesson 63 of 10110 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: Central Tendency Measures: Mean, Median, and Mode →← Data Coding and Recoding in ExcelNext lesson: Central Tendency Measures: Mean, Median, and Mode →
In this lesson
Comparing Excel, SPSS, R and Python for research analysis.
- Describe what statistical software does in six plain steps
- Compare Excel, a statistics package, R and Python and how each is used
- Choose a tool for a given research job 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,509 words). Read along, or search it.
Opening Question
Pencil or Software
You could calculate an average with a pencil. For one column of five numbers, you should. But for forty questions, asked of eight thousand shoppers, nobody does. So every research team picks a tool. The choice sounds technical. But it is really a question about how you like to work, and how often you will need to do it again.
In this lesson, you will describe what statistical software does, in plain steps. You will compare Excel, a statistics package, R, and Python, and say how each is used. And you will choose a tool for a given research job, and explain why.
What Software Does
Six Steps in Any Tool
First: what statistical software does. Statistical software is any program that stores a data table, and lets you summarize it, test it, and chart it.
Think of a kitchen. A knife, a blender, and an oven all cook. But each suits different dishes. Statistics tools are the same. They all work on data. But each one shines at a different kind of job.
Whatever the tool, a research analysis follows the same six steps. Import the file. Check it. Describe it. Test it. Chart it. And save the work.
Each step has a job. Importing opens the file. Checking means cleaning and coding, the work of lessons 8.5 to 8.7. Describing means means and counts. Testing asks whether a pattern is real. Charting shows it. And saving keeps the report, and the steps, for next time.
Three Styles
Formulas, Menus or Scripts
So where do the tools differ? In how you give the orders. There are three styles. In a spreadsheet, you click cells, and type formulas. In a menu-driven package, you choose commands from a list, then fill in boxes on screen. And in a scripting language, you write instructions in text, save them, and run them as often as you like.
That last style matters more than it first seems. A saved set of written instructions can be run again tomorrow, next month, or next year. We will come back to that. But first, let us meet the tools. Think of them as four kitchens, each with its own layout. The same meal can be cooked in any of them. Some just make certain dishes easier.
Excel
Cells, PivotTables and the ToolPak
Next: four tools you will meet. These descriptions stay general, on purpose. Features change between releases. So check each product's own documentation, for the details of the version you use.
The first is Excel. It is a spreadsheet program from Microsoft. You work with cells, formulas, PivotTables, and charts. There is also an optional add-in, the Analysis ToolPak. It is often chosen for small and medium tables, quick summaries, and sharing with colleagues. Almost everyone in an office can open it. That makes it the easiest tool for sharing a table with a manager, or a client.
SPSS and R
Menus from IBM, Packages in R
The second is SPSS. It is a product from IBM. It is a commercial statistics package. You work mostly through menus and dialog boxes. But there is a syntax language behind them. It is often chosen for surveys, and standard tests, without writing much code. Many market research teams have used it for years. Its tables come out in a standard layout that readers know.
The third is R. It is a free, open-source language for statistics and graphics. You type commands, and scripts. And there are thousands of add-on packages. It is often chosen for statistical methods of all kinds, and high-quality charts. When a brand-new method appears in research, the statistical community often releases a package soon after.
Python and Others
One Mean in Four Tools
The fourth is Python. It is free, and it is built for every kind of programming. You work in scripts and notebooks, using libraries, such as pandas and SciPy. Teams often pick it when data work must join up with other software, or run on its own, as automation. It is not built only for statistics. Statistics is just one of its many jobs.
Other tools, such as SAS and Stata, are also in wide use. Each has its own fans, and its own way of working. You may meet them in your career. The same six steps apply to all of them.
Now see the same small job, in each tool. Four shoppers bought 2, 3, 4, and 11 bars. What is the mean? In Excel, you type one formula, AVERAGE, over cells B2 to B5. In the statistics package, choose from its menus: analyze, then descriptive statistics. In R, you type one short command, called mean. And in Python, you run one line in a script.
Same Answer
Why Two Tools Disagree
Every tool gives the same answer. It has to, because the rule for a mean never changes. Two plus three plus four plus eleven is 20. And twenty, divided by four, is 5. Grace, at Fernway Snacks, checked the arithmetic by hand, and in Python. Fernway is a composite case built for teaching.
What does it mean? The answer is the same everywhere, because the mathematics is the same. What differs is the route. One formula. A few clicks. Or one saved line.
So when two tools disagree on a number, look elsewhere. The cause is almost always the data, or the settings. For example, how missing values were treated. It is almost never the arithmetic. If one tool skips a blank, and another counts it as zero, the averages will differ. Neither tool is broken. The settings are different. So before you blame the software, compare how each one handled the blanks, the filters, and the codes.
Fun Fact
Free Tools with Large Communities
Here is a fun fact. R and Python are free to download and use. And both have large communities, who write add-on packages, and libraries. That is one reason many research teams use them alongside spreadsheets, not instead of them.
Choosing a Tool
Four Questions and a Fit Guide
Finally: choosing the right tool. No single tool wins everywhere. So ask four questions.
One: how big, and messy, is the data? Two: does a result have to be repeated every month? Three: who else must read, or rerun, the work? And four: how comfortable is the team with typing code?
Here is a rough fit guide. A quick look at a small table favors a spreadsheet. Standard tests, driven by menus, favor a statistics package. A repeatable script of every step favors R, or Python. And so do very large or messy files, and new or custom methods. This is a guide, not a ranking. Every tool does more than this. And skill matters as much as choice. A team that knows Excel well can do more with it than a team that barely knows R.
Reproducibility
The Script Is the Record
Now, the idea of reproducibility deserves a moment. If you analyze data by clicking, only your memory records the order of the clicks. Did you filter first, or sort first? Did you leave out the blanks? Six weeks later, you may not remember. And if a colleague asks how you got a number, you can only describe it from memory.
If you analyze it with a script, the script is the record. Anyone can rerun it. And a corrected data file can be pushed through the very same steps, in seconds. Syntax in a statistics package, and Excel macros, can save steps too. That is why the lines between the tools blur.
Here is how it plays out at Fernway. Leo wants a one-page tracking summary, every month. Same questions, same tables, new data each time. Grace first builds it by hand in Excel. She spends a morning on it, each time.
Worked Example
A Monthly Summary in Python
After the third month, she writes the steps as a short Python script. Now new data goes in, the script runs, and the tables come out in minutes. The same way, every time. And when Victor sends a corrected file, she simply reruns it.
Here is a common mistake. People trust an answer, because software printed it. A package will happily average a column of codes, such as 99 for missing, from lesson 8.6. And it will report a tidy number. The tool does the arithmetic. Checking that the data, and settings, make sense is still your job.
Pro Tip
Spreadsheet to Look, Script to Repeat
And a pro tip. Do not pick a tool because it sounds impressive. Pick the simplest one that meets the job today, and still lets someone else check it tomorrow. A fancy tool that nobody else on the team can open is a risk, not a strength. The best tool is the one your team can read, check, and rerun. Many analysts use a spreadsheet to look, and a script to repeat. The spreadsheet lets you see the data with your own eyes. The script makes sure the same steps run, the same way, every month. Together, they cover each other's weak spots.
Key Takeaways
Choose by Size, Repeatability and Skills
Key takeaways. Statistical software imports, checks, describes, tests, charts, and saves. Excel, the statistics package, R, and Python all do the arithmetic correctly. But they differ in how you work: formulas, menus, or scripts. Choose by data size, repeatability, who must read the work, and the team's skills. Next, in lesson 9.3, you will find the most useful summary of a column of numbers. 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 Statistical Software for Marketing Research
What is the difference between Excel, SPSS, R and Python for data analysis?
How do you choose statistical software for a marketing research project?
Why does reproducibility matter in data analysis?
Why might two statistics programs give different answers on the same data?
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 →