M303 Hypothesis Testing I

FALL 2026 · LECTURE 14
M303
Hypothesis Testing I
Use sample evidence to evaluate a claim about the market.

Where we are

01Problem formulation

Preliminary research stages: problem → actionable management problem → research objectives → research questions → hypotheses.

→
02Research design

Decide on exploratory, descriptive, or causal research.

→
03Data collection

Secondary and primary data; observational and qualitative methods; surveys; sampling schemes; and sample size.

→
04Analysis & recommendation

Prepare data; use descriptive statistics, simple and cross-tabulations, hypothesis tests, correlation, and regression; then recommend.

Learning Objectives

01Explain

The need for, idea behind, and stages of hypothesis testing.

02Construct

Distinguish null and alternative hypotheses and construct them for a marketing question.

03Select

When to use each t, F, or chi-square test.

04Conduct

Run the relevant t, F, and chi-square tests with the M303 Web Tools.

05Interpret

Explain the results of the different t, F, and chi-square tests.

Previous-class review

01

Data editing identifies problems in the data.

02

Omissions, ambiguities, interviewer errors, and inconsistencies are common data problems.

03

We generally assign numerical values to closed-ended response categories.

04

Closed-ended questions are generally more difficult to code than open-ended questions.

05

A nominal variable with M levels requires M + 1 dummy variables.

06

For our regression models, nominal variables must be represented with dummy variables.

07

Descriptive statistics summarize variables of interest.

08

Simple tabulations document frequencies and percentages for a categorical variable.

09

Cross-tabulation variables can remain continuous without grouping.

10

Simple tabulation divides a sample into groups to compare one variable across another.

A sample mean of 4.4 looks encouraging

“I’M A PC” CAMPAIGN

A Microsoft marketing manager asks a random sample of 50 customers in a self-administered survey whether the campaign changed their perceptions of PCs.

Compared with before the campaign, do customers view PCs more negatively, the same, or more positively?

4.4
1234567
More negativeNo changeMore positive

Does 4.4 prove that perceptions improved?

Hypothesis testing follows the scientific method

01State a population claim

Average PC perception remains 4 after the campaign.

→
02Collect a sample

Observe 50 customers who saw the campaign.

→
03Measure rarity

Calculate how likely a mean like 4.4 would be if the claim were true.

→
04Decide

If the result is rare—for example, less than a 5% chance—reject the claim; otherwise, fail to reject it.

The hypothesis-testing workflow

01State H₀ and Hₐ

Write the null and alternative hypotheses clearly.

02Choose the test

Match the test to the variables and research design.

03Conduct the test

Use the M303 Web Tools with the course data file.

04Evaluate p

Ask whether the result is significant at the preselected threshold, typically p < .05.

05Conclude

Reject H₀ when significant; otherwise, fail to reject H₀.

The p-value measures compatibility with the null

α = .05 decision threshold
Smaller p-value · stronger evidence against H₀Larger p-value · data more compatible with H₀
If p < .05, reject H₀.

If p ≥ .05, fail to reject H₀. The threshold must be chosen before seeing the result.

Null and alternative hypotheses play different roles

NULL · H₀
No effect, no relationship, or no difference
ALTERNATIVE · Hₐ
The effect, relationship, or difference suggested by the researcher's belief, intuition, or hunch
We look for evidence strong enough to reject H₀ in favor of Hₐ.

Write the null: mean comparisons

01

Mean liking for Tropicana is higher than for Florida’s Natural orange juice.

02

The average age of target consumers is below 29.

03

Women choose Macs over PCs more often than men do.

Write the null: relationships

04

Consumers are more likely to purchase energy-efficient refrigerators.

05

Liking for Victoria’s Secret increases with the frequency of television advertising exposure.

Write H₀ before choosing a test.

The hypothesis clarifies the variables, the comparison, and whether the alternative is directional.

Variable structure determines the test

01Identify the variables

How many variables are involved?

→
02Classify each one

Continuous or categorical?

→
03Assign roles

If applicable, identify the dependent and independent variables.

→
04Match the design

One sample, paired observations, independent groups, or a categorical association?

Two quick examples

In the PC campaign, the variable is one continuous 1–7 perception-change rating. When price drives demand, price is the independent variable and demand is the dependent variable.

Match the question to the test

ONE BENCHMARKOne-sample t-test

One continuous variable compared with a hypothesized value.

SAME PEOPLEPaired t-test

Two continuous measurements from the same respondents.

TWO GROUPSIndependent t-test

A continuous outcome across two independent groups.

3+ GROUPSANOVA F-test

A continuous outcome across three or more independent groups.

TWO CATEGORIESChi-square test

Association between two categorical variables.

Which test? Time spent by gender group

AMAZON.COM

A manager uses browser cookies to record entry and exit times, then calculates minutes spent in the web store before ordering. In the source scenario, shipping names are used to code two gender groups.

Does average time on the site differ between the two groups?

Which test? Advertising medium and success

PANERA BREAD

The company must choose between local radio and local television offers. Based on its previous campaigns, each outcome is coded as successful or unsuccessful.

Does the advertising medium affect whether the campaign succeeds?

Which test? KitKat vs. Twix

CANDY PREFERENCES

Each participant rates both KitKat and Twix on the same 1–11 favorability scale.

Do the two average brand evaluations differ?

Which test? Perception change vs. no change

“I’M A PC” CAMPAIGN

Each respondent gives one perception-change rating on a 1–7 scale; 4 means no change.

Is the average rating different from 4?

Which test? Three tablet prototypes

ASUS PROTOTYPES

Three prototypes differ in screen size, resolution, cameras, and other design features. Three independent groups of 10 participants each try one prototype for a week and then rate liking on a 1–11 scale.

Are the three mean liking scores equal?

Check your understanding

01

A p-value is computed under the assumption that the null hypothesis is true.

02

A larger p-value provides stronger evidence for rejecting H₀.

03

The alternative hypothesis describes no effect, no relationship, or no difference.

04

Hypothesis testing seeks evidence that can falsify H₀ in favor of Hₐ.

05

If the claim is “Tropicana has higher mean liking,” H₀ states that the mean liking scores are equal.

06

The test choice depends on the number, type, and relationship of the variables.

Which test? A new price benchmark

PRICE FAIRNESS

A client will change price only if consumers’ average rating exceeds 5.0 on a 7-point fairness scale. The sample mean is 5.5.

Which test evaluates whether the population mean is greater than 5?

Which test? Age and amusement-park interest

NEW AMUSEMENT PARK

A phone study records yes/no interest for 300 randomly selected people: 59 of 120 under age 18, 38 of 110 ages 18–25, and 21 of 70 over age 25 say yes.

Does interest differ by age group?

Which test? Brand Y vs. Brand X

TOOTHPASTE FAVORABILITY

Embedded in a survey, each participant rates Brand X, Brand Y, and Brand Z on the same 11-point scale from very unfavorable to very favorable, with indifference at the midpoint. Brand Y is the focal brand.

Is mean favorability for Brand Y higher than for Brand X?

One-sample t-test

01
ONE VARIABLE · ONE BENCHMARK

One-sample t-test

Ask whether a population mean differs from, exceeds, or falls below a hypothesized value.

Choose the alternative before looking at the data

Two-tailed

Hₐ: μ ≠ 4
The campaign changed average perception in either direction.

Right-tailed

Hₐ: μ > 4
The campaign improved average perception.

Left-tailed

Hₐ: μ < 4
The campaign reduced average perception.

H₀ uses the benchmark: μ = 4.

Choose Hₐ from the research question—before looking at the sample or its p-value.

One-sample example: the campaign mean

OBSERVED SAMPLE

After seeing the campaign, 50 respondents rate perception change on a 1–7 scale. Data file: PerceptionsofPCAftertheAD.xlsx on Canvas.

Sample mean = 4.4 · benchmark = 4

TWO-TAILED FORMULATION
H₀: μ = 4
Hₐ: μ ≠ 4

Test whether average perception changed in either direction.

Run the test with the M303 Web Tools

t₁
One-sample t-testkoraycosguner.github.io/tools.html

Instructions and required data files will be posted on Canvas.

01

Open the hypothesis-testing tool and load the campaign-perception data.

02

Select the continuous perception variable and enter the null value: 4.

03

Choose the alternative direction: ≠, >, or <.

04

Run the test and record the sample mean, test statistic, and p-value.

Read the one-sample output

Output Perceptions after the ad Comparison value
Mean 4.4 4
Variance 7.469387755 0
Observations 50 50
Hypothesized mean difference 0
Degrees of freedom 49
t statistic 1.034909779
P(T ≤ t), one-tail 0.15289588
t critical, one-tail 1.676550893
P(T ≤ t), two-tail 0.30579176
t critical, two-tail 2.009575237

Read the p-value in the correct tail

Two-tailed

Use the two-tailed p-value for Hₐ: μ ≠ μ₀.

Right-tailed

Use the right-tail p-value for Hₐ: μ > μ₀.

Left-tailed

Use the left-tail p-value for Hₐ: μ < μ₀.

Compare p with 0.05.

If p < 0.05, reject H₀. Otherwise, fail to reject H₀. Then state the conclusion in the language of the marketing question.

In-class exercise: promotion return

PURCHASEBEHAVIOR DATA

A marketing promotion costs $20 per customer. From the customer database, 1,000 promotion recipients are selected randomly in PurchaseBehavior.xlsx on Canvas to test whether average purchase spending exceeds the $20 cost and therefore produces a positive return.

Write H₀ and Hₐ. Then ask: what changes if the promotion costs $30?

To sum up

01

A sample result can differ from the population because of sampling error.

02

The p-value measures how compatible the observed result is with the null hypothesis.

03

State H₀ and Hₐ, choose the test from the variable structure, and choose the tail before examining results.

04

A one-sample t-test compares a sample mean with a specified population benchmark.

Next class

COMING UP
Hypothesis Testing II
Choose and interpret paired-sample and two-sample tests with the M303 Web Tools. Check Canvas for current files and reminders.