Steady State
İST205 / Lecture 1
Lecture 1 · Week 1 · Lind, Marchal & Wathen ch. 1 · about 30 min

What Is Statistics?

Descriptive and inferential statistics, populations and samples, parameters and statistics, the core measures of center and spread, types of variables, the four levels of measurement, and the ethics of using data.

By the end you can
  • Define statistics and explain why knowledge of it matters.
  • Tell descriptive statistics apart from inferential statistics.
  • Distinguish population from sample and parameter from statistic.
  • Compute and interpret the mean, median, range, variance, standard deviation, and coefficient of variation.
  • Classify variables as qualitative or quantitative and discrete or continuous.
  • Identify the level of measurement: nominal, ordinal, interval, or ratio.
  • Recognize ethical issues and the role of business analytics.

What statistics is and why it matters

A statistic is one number that communicates a piece of information: the inflation rate is 2%, your grade point average is 3.5, the list price of a new car is 28,659 dollars. By itself a statistic is a very limited fact. It becomes powerful when it is part of a larger discussion about data.

Three reasons knowledge of statistics is important:

The scale of data is enormous: Google is estimated to process 20,000 terabytes of information per day; big retailers scan every purchase to manage distribution and marketing; police departments map crimes by location. All of these organizations turn raw data into intelligence for decisions, and statistics is the tool that does it.

Check your understanding

Which statement best matches the definition of statistics in Lind?

Descriptive and inferential statistics

When you use statistics to produce information from data, there are two possibilities. They depend on the question asked and on the data you have.

Descriptive statistics take a mass of unorganized data and turn it into something readable. Examples from the text:

Inference is how you decide with limited data. TV networks sample viewer preferences (Nielsen reported that 9.0% of a sample of households watched one program in a given week). The IRS tested a sample of tax preparation volunteers with three standard returns and found a 49% accuracy rate — errors on about half of the returns. In each case a sample result is used to reach a conclusion about a much larger population.

Check your understanding

Brandon and Associates asked a sample of 1,960 consumers to try a new Boston Market chicken dinner; 1,176 said they would buy it. The firm uses this result to estimate acceptance among all potential customers. This is an example of:

Population, sample, and the notation you must know

A parameter is a numerical measure that describes a population. A statistic is a numerical measure that describes a sample and is used to estimate the parameter.

Population (parameter)Sample (statistic)
Meanμ\mu (Greek mu)xˉ\bar{x} (x-bar)
Standard deviationσ\sigma (Greek sigma)ss
SizeNNnn
ProportionPPp^\hat{p}
Population meanParameterFormula sheet →
μ=∑xN\mu = \frac{\sum x}{N}
μ\mu
population mean
xx
each observation in the population
NN
population size

Use it when you can observe every member of the population and want its average.

Sample meanStatisticFormula sheet →
xˉ=∑xn\bar{x} = \frac{\sum x}{n}
xˉ\bar{x}
sample mean
xx
each observation in the sample
nn
sample size

Use it when you have a sample and need its arithmetic average.

Sample proportionStatisticFormula sheet →
p^=xn\hat{p} = \frac{x}{n}
p^\hat{p}
sample proportion
xx
number of observations with the attribute
nn
sample size

Use it when you need the fraction of a sample that has some attribute (such as consumers who would buy a product).

The example behind the exercise from the chapter opener is the sale of Fitbit Flex 2 units at the Best Buy store in Collegeville, Pennsylvania. If your question is about that one store in that one month, the units sold are a population. If your question is about all Best Buy stores, or about future months, then that same month at that store is just one piece of evidence — a sample.

Check your understanding

The Dow Jones Industrial Average is made up of 30 specific stocks. If a study's question is about exactly those 30 stocks, the set of 30 stocks is:

Your turn

In the Boston Market test, 1,176 of 1,960 sampled consumers said they would buy the dinner. Compute the sample proportion p^=x/n\hat{p} = x/n and give it as a percentage.

Center and spread: every formula you need

Chapter 1 is the big picture, but the midterm expects you to compute the basic summary measures with correct notation. Remember: Greek letters (μ\mu, σ\sigma) describe populations and Roman letters (xˉ\bar{x}, ss) describe samples.

Mean

The mean is the arithmetic average — the balance point of the data. Add every value, divide by how many there are.

Population meanKey formulaFormula sheet →
μ=∑xN\mu = \frac{\sum x}{N}
μ\mu
population mean
xx
each value in the population
NN
population size

Use it when every member of the population is observed.

Sample meanKey formulaFormula sheet →
xˉ=∑xn\bar{x} = \frac{\sum x}{n}
xˉ\bar{x}
sample mean
xx
each value in the sample
nn
sample size

Use it when you summarize a sample. The mean uses every observation, so a single extreme value can move it a lot.

Median

Order the data from smallest to largest. The median is the middle value.

Median positionFormula sheet →
Median position=n+12\text{Median position} = \frac{n + 1}{2}
nn
number of observations
thedatamustbeorderedfirsthe data must be ordered firs
the data must be ordered first

Use it when you want to locate the middle of ordered data. For even n, average the two middle values.

Range

RangeFormula sheet →
Range=Maximum−Minimum\text{Range} = \text{Maximum} - \text{Minimum}
MaximumMaximum
largest value
MinimumMinimum
smallest value

Use it when you need a quick, crude measure of total spread. It uses only two observations, so it ignores everything in between.

Variance and standard deviation

The variance is the average squared distance of the observations from the mean. Squaring keeps positive and negative deviations from cancelling (they always sum to zero before squaring).

Population varianceKey formulaFormula sheet →
σ2=∑(x−μ)2N\sigma^{2} = \frac{\sum (x - \mu)^{2}}{N}
σ2\sigma^{2}
population variance
xx
each observation
μ\mu
population mean
NN
population size

Use it when you have all population values and want their variability.

Sample varianceKey formulaFormula sheet →
s2=∑(x−xˉ)2n−1s^{2} = \frac{\sum (x - \bar{x})^{2}}{n - 1}
s2s^{2}
sample variance
xx
each observation
xˉ\bar{x}
sample mean
nn
sample size

Use it when you have a sample and want its variability.

Population standard deviationFormula sheet →
σ=σ2\sigma = \sqrt{\sigma^{2}}
σ\sigma
population standard deviation
σ2\sigma^{2}
population variance

Use it when you want spread measured in the original units.

Sample standard deviationKey formulaFormula sheet →
s=s2s = \sqrt{s^{2}}
ss
sample standard deviation
s2s^{2}
sample variance

Use it when you want spread in the original units, comparable with the mean.

Coefficient of variationFormula sheet →
CV=sxˉ×100%CV = \frac{s}{\bar{x}} \times 100\%
CVCV
coefficient of variation
ss
sample standard deviation
xˉ\bar{x}
sample mean

Use it when you compare variability of variables measured in different units or with very different means; the result is a percentage.

Worked example · Worked example: fuel efficiency of six SUVs0/7

A sample of six sport utility vehicles is taken from the population of all SUVs. Their highway fuel efficiency in miles per gallon is: 18, 20, 22, 24, 25, 26. Find the sample mean, the median, the range, the sample variance, and the sample standard deviation.

Interactive · SUV fuel economyn = 6
1820222426mpgmean 22.5median 23
Mean x̄
22.5
Median
23
Mode
none
Range
8
Sample variance s² (÷ n−1)
9.5
Sample st. dev. s
3.082
Population σ (÷ N)
2.814
Q1 · Q3
19.5 · 25.25
IQR
5.75
Pearson skewness
-0.487

Mean below median: a long tail to the left (negatively skewed).

Your turn

Using the same six SUV values (18, 20, 22, 24, 25, 26), compute the sample variance s2s^{2}. Divide by n−1n - 1.

Skewed data: use the median

Consider six annual salaries (in thousands of dollars) at a small firm: 20, 22, 24, 26, 28, 130. The mean is 250/6≈41.67250/6 \approx 41.67 thousand, but the median is (24+26)/2=25(24 + 26)/2 = 25 thousand. The single large salary drags the mean up into a region where no employee actually sits. This distribution is right-skewed: the long tail of large values pulls the mean above the median.

Interactive · Salaries ($000), one high earnern = 6
255075100125$000mean 41.67median 25
Mean x̄
41.667
Median
25
Mode
none
Range
110
Sample variance s² (÷ n−1)
1880.667
Sample st. dev. s
43.367
Population σ (÷ N)
39.588
Q1 · Q3
21.5 · 53.5
IQR
32
Pearson skewness
1.153

Mean above median: a long tail to the right (positively skewed). The median is the better centre here.

Check your understanding

House prices in a city are strongly right-skewed with a few very expensive homes. Which measure best describes a typical price?

Types of variables

There are two basic types of variables.

Examples: gender, beverage preference, type of vehicle owned, state of birth, eye color. Qualitative data are usually summarized in bar charts and pie charts.

Examples: the balance in your checking account, gigabytes of data used on your phone plan, the life of a car battery (42 months), the number of people employed by a company. Quantitative variables come in two kinds:

Interactive · types of variablesscore 0/0
Variablea characteristicQualitativecategories, no numbersQuantitativenumericDiscretecounted, gapsContinuousmeasured, any value

Classify: Number of bedrooms in a house

Click Qualitative, Discrete or Continuous in the tree.

Check your understanding

Which of the following is a discrete quantitative variable?

Levels of measurement

The level of measurement tells you how data may be summarized, presented, and analyzed. There are four levels, from lowest (nominal) to highest (ratio). Getting this wrong makes an analysis meaningless: assigning M&M colors the codes 1 to 6 and reporting an “average color” of 3.56 tells you nothing, and the same is true of the “mean finish” of 4.5 in a race. Codes for categories are labels, not numbers.

Examples: M&M colors (blue 24%, green 20%, orange 16%, yellow 14%, red 13%, brown 13% of a bag), gender, state of birth (states can be coded alphabetically 1 to 50 so software can count them). No meaningful arithmetic: if Alabama is 1 and Alaska is 2, it does not follow that Alabama + Alaska = Arizona (3).

Examples: state rankings for “best business climate” (Florida 1st, Utah 2nd, Texas 3rd, Georgia 4th, Indiana 5th); team standings; instructor ratings on the scale inferior, poor, good, excellent, superior. In a finance class of 60 students, ratings were superior 6, good 26, average 16, poor 9, inferior 3; about 43.3% (26/60) rated the instructor good. We cannot say whether the gap between superior and good equals the gap between poor and inferior.

Examples: the Fahrenheit temperature scale. Boston winter highs of 28, 31, and 20 degrees can be ranked, and a 5-degree interval is the same everywhere (from 10 to 15 as from 50 to 55). But 0°F does not mean “no heat,” and 20°F is not “twice as warm” as 10°F. Dress sizes are another interval scale: going from size 10 to 12 adds exactly 2 inches to bust, waist, and hips, but size 0 is not “zero material,” and ratios of sizes are meaningless. If the distances make sense but the ratios do not, the scale is interval.

Examples: wages, weight, height, units produced, distance between offices, income. If you have zero dollars you have no money, and 50 dollars per hour is exactly twice 25 dollars per hour. In the textbook’s father-son income table, the senior Lahey (80,000 dollars) earns twice his son (40,000 dollars), and in the Rho family the son (120,000 dollars) earns twice the father (60,000 dollars).

LevelOrder?Meaningful intervals?True zero and ratios?Examples
NominalNoNoNoJersey numbers, gender, M&M color
OrdinalYesNoNoClass rank, team standings, instructor rating
IntervalYesYesNoTemperature (°F/°C), dress size, SAT scores
RatioYesYesYesSalary, weight, height, units sold
Interactive · levels of measurementscore 0/0
Nominallabels onlyOrdinal+ orderInterval+ equal gapsRatio+ true zeromore information, more arithmetic allowed →

Which level? Jersey number on a basketball player

Click a step. Nominal: labels only, e.g. jersey number 10, eye color.

Worked example · Worked example: classify variables step by step0/6

Classify each variable as qualitative or quantitative (discrete or continuous where it applies), then give its level of measurement: (a) salary, (b) gender, (c) sales volume of MP3 players, (d) soft drink preference, (e) temperature, (f) student rank in class.

Check your understanding

A soccer team lists players by jersey number (7, 10, 23, ...). The jersey number is measured at which level?

Check your understanding

Students rate a professor on the scale inferior, poor, good, excellent, superior. What level of measurement is this rating?

Ethics, integrity, and business analytics

High-profile failures — Bernie Madoff’s Ponzi scheme, and the financial misrepresentations at Enron and Tyco — were built on misreported business and financial information. Investors lost all or nearly all of their money when the true numbers emerged. The lesson for anyone who works with data:

As an informed consumer of statistics you should question a report based on data that do not fairly represent the population, a report that omits relevant statistics, one that uses an incorrect choice of statistical measures, or a presentation designed to introduce bias and mislead.

Business analytics is the use of data and statistical analysis to support a story or narrative about a company’s business — “what makes us profitable?”, “how will our customers respond to a change in marketing?” It combines statistical knowledge with software (in this course, mainly Excel) to summarize, organize, analyze, and present findings. The textbook’s running example is Applewood Auto Group: 180 vehicle sales described by buyer age, repeat-customer status, dealership location, vehicle type, and profit. Software summarizes profit as mean 1,843.17 dollars, median 1,882.50 dollars, and range from 294 to 3,292 dollars.

Check your understanding

An analyst finds that a sampled survey about a new product heavily oversampled one age group, so the sample does not represent the population. The company would still like a favorable headline. What is the ethical course of action?

Exam practice

Exam question 1

Daily units of a Fitbit model sold at one store over seven days: 12, 15, 9, 14, 20, 16, 12. Compute the sample mean.

Exam question 2

For the same seven days (12, 15, 9, 14, 20, 16, 12), compute the sample standard deviation. Round to two decimals.

Exam question 3

A university computes the average starting salary of all 412 of last year's graduates. This calculation is an example of:

Exam question 4

Which of the following variables is measured at the interval level?

Exam question 5

A firm has 12 employees. Eleven earn between 30,000 and 45,000 dollars per year; the CEO earns 500,000 dollars. Which statement is correct?

Summary and review

Review deck · 18 cards0/18 mastered