Exercise: Two laboratories, one disputed generalization#

Two laboratories observe different effect magnitudes. Build a shared evidence record that lets them distinguish sampling variation, protocol differences, and rival theoretical accounts without deciding by authority.

See the shared submission guidance and rubric. Run from book/exercises; the setup below supplies data, not completed answers.

# Shared simulator and small utility functions; no live service is called.
source("../R/course.R")
set.seed(126)
lab_a <- data.frame(lab="A", difference=rnorm(35,-20,30))
lab_b <- data.frame(lab="B", difference=rnorm(35,-5,30))
d <- rbind(lab_a,lab_b)
# Independent participant-level paired differences, in milliseconds.
# A uses familiar words; B uses unfamiliar words: protocol is confounded with lab.

1. Establish an agreed record#

Summarize each lab’s mean difference and 95% t interval, then estimate the between-lab difference with an interval. Distinguish “the estimates differ” from evidence of a population difference. Explain why one significant and one nonsignificant within-lab test is not itself a test of their difference.

# Produce per-lab summaries and a direct between-lab comparison.

Your explanation and evidence:

2. Write competing explanations fairly#

State a context-invariant effect account and an account in which familiarity moderates the effect. Give each a quantitative or directional prediction and one possible falsifier. Explain why the existing lab/protocol confounding prevents attributing the observed discrepancy specifically to familiarity.

# Optional plot placing both labs on a common scale.

Your explanation and evidence:

3. Negotiate a discriminating replication#

Design a follow-up in which both laboratories run both familiarity conditions. Specify the randomization unit, common measurement protocol, planned contrast, shared materials, and how deviations will be recorded. Write a disagreement log separating factual disagreements from values or priorities. Include a result that would make you revise your preferred account.

# Record a proposed analysis formula or contrast; do not invent follow-up data.

Your explanation and evidence:

What to submit#

A shared results table, two rival predictions, and a joint replication protocol with a disagreement log. Credit comes from making disagreement testable and revisable, not declaring a winning laboratory.