Data in business decisions
Read a business data table: name its cases and variables, classify each variable as categorical or numerical and by level of measurement, and say whether the numbers describe a population or a sample.
It opens on
This table lists six of Harbor and Pine's 48,000 orders, with columns Region, Rating, Items and Total. Which of Region, Items and Total would be meaningless to add up and average?
Why it matters
Every chart, average and test in this course starts from a data table, and the type of each variable decides which summaries are honest and which are nonsense.
Good to know first
- arithmetic mean
Step by step
Cases and variables
Name the cases and the variables of a business data table and sort each variable as categorical or numerical.
Take order 1004. Its Region is South, a group, so categorical. Its Items is 4, a count, and its Total is $112.00, an amount, so both numerical.
order 1004: South = categorical; 4 and $112.00 = numerical
A common mix-up
A column of numbers is a numerical variable.
In fact: Order numbers and ZIP codes are numbers used as labels; ask whether adding two of them means anything.
Levels of measurement
Classify a variable as nominal, ordinal, interval or ratio and say which calculations make sense for it.
Analysts do average ratings, as in (4 + 5 + 3 + 4 + 2 + 5) / 6 = 3.83 for our six orders. It is a common choice, but it quietly treats the gaps between ratings as equal, so say so when you report it.
mean rating = 23 / 6 = 3.83
A common mix-up
A rating of 4 is twice as good as a rating of 2.
In fact: An ordinal scale has no equal gaps and no true zero, so only the order of the values means anything.
Population and sample
Tell a population from a sample and a parameter from a statistic, and say why a statistic changes from sample to sample.
Now the sample. The six totals add to 84.50 + 29.00 + 61.25 + 112.00 + 35.75 + 58.50 = $381.00, so the sample mean is x̄ = 381.00 / 6 = $63.50.
x̄ = 381.00 / 6 = $63.50
A common mix-up
The sample mean is the true mean of all orders.
In fact: It is only an estimate that changes with the sample; the parameter is fixed, usually unknown.
Where the data come from
Name the source of a business data set (transaction records, survey, experiment) and say what each can and cannot show about cause.
The banner group's mean total is $66.40 and the usual group's is $61.10, a difference of 66.40 − 61.10 = $5.30.
66.40 − 61.10 = $5.30
A common mix-up
A big difference in transaction data proves a cause.
In fact: Without random assignment, other differences between the groups can explain it.
Try it
An order row also shows ZIP code 98101. Is ZIP code categorical or numerical?Answer
Categorical
Hint: Does adding two ZIP codes mean anything?
The year in which each customer joined (2019, 2022 and so on). Which level, and why?Answer
Interval: equal gaps, but the year 0 is not none of anything
Hint: Is there a true zero?
Five orders total $40, $52, $61, $48 and $74. Find the sample mean x̄ and say whether it is a statistic.Answer
x̄ = $55, a statistic
Hint: Add, divide by n = 5
A store compares sales in two cities after printing a new flyer only in the first. Is this an experiment or an observation, and can it show cause?Answer
Observation: the flyer was not assigned at random, so it cannot show cause
Hint: Who decided where the flyer went?
Items shows 3, 2, 1 and so on for each order. Is Items categorical or numerical?Answer
Numerical: it is a count, and adding counts means something (13 items in all)
