Amazon ran a price styling experiment. Notice they increased the font size and coloring of the pricing. The experiment ran on multiple product pages. Amazon measured the click through rate on the add to cart button (click the add to cart button or not).
First the Analysts at Amazon completed a preliminary sample size study. They were interested in finding a difference in click through rates of 5%. Their current click through rate is 3.45%
##
## Two-sample t test power calculation
##
## n = 6280.064
## delta = 0.05
## sd = 1
## sig.level = 0.05
## power = 0.8
## alternative = two.sided
##
## NOTE: n is number in *each* group
##
## Two-sample comparison of proportions power calculation
##
## n = 179954.9
## p1 = 0.0345
## p2 = 0.036225
## sig.level = 0.05
## power = 0.8
## alternative = two.sided
##
## NOTE: n is number in *each* group
## a b
## 1 0 0
## 2 0 0
## 3 0 0
## 4 0 0
## 5 0 0
## 6 0 0
## # A tibble: 2 × 4
## variant mean sd count
## <chr> <dbl> <dbl> <int>
## 1 a 0.0329 0.178 5014
## 2 b 0.0215 0.145 5014
## # A tibble: 4 × 4
## # Groups: variant [2]
## variant click n freq
## <chr> <int> <int> <dbl>
## 1 a 0 4849 0.967
## 2 a 1 165 0.0329
## 3 b 0 4906 0.978
## 4 b 1 108 0.0215
##
## Welch Two Sample t-test
##
## data: df$click by df$variant
## t = 3.4995, df = 9628.5, p-value = 0.0004682
## alternative hypothesis: true difference in means between group a and group b is not equal to 0
## 95 percent confidence interval:
## 0.005000443 0.017735895
## sample estimates:
## mean in group a mean in group b
## 0.03290786 0.02153969
##
## 2-sample test for equality of proportions with continuity correction
##
## data: c(165, 108) out of c(5014, 5014)
## X-squared = 11.809, df = 1, p-value = 0.0005896
## alternative hypothesis: two.sided
## 95 percent confidence interval:
## 0.004802437 0.017933902
## sample estimates:
## prop 1 prop 2
## 0.03290786 0.02153969
Airbnb tested the idea of surfacing the next available dates near their calendar picker (see version b). They measured if the property was booked or not.
## variant click
## 1 a 0
## 2 a 0
## 3 a 0
## 4 a 0
## 5 a 0
## 6 a 0
## # A tibble: 4 × 4
## # Groups: variant [2]
## variant click n freq
## <chr> <int> <int> <dbl>
## 1 a 0 1217 0.969
## 2 a 1 39 0.0311
## 3 b 0 1350 0.974
## 4 b 1 36 0.0260
iter=100000
a=39+1
b=1217+1
a1=36+1
b1=1350+1
count<-c()
for (i in 1:iter){
A<-rbeta(1, a, b)
B<-rbeta(1, a1, b1)
count[i]<-ifelse(A>B, 1, 0)
}
pdiff<-sum(count)/iter
pdiff
## [1] 0.78395
##
## 2-sample test for equality of proportions with continuity correction
##
## data: c(39, 36) out of c(1217 + 39, 1350 + 36)
## X-squared = 0.44543, df = 1, p-value = 0.5045
## alternative hypothesis: two.sided
## 95 percent confidence interval:
## -0.008415338 0.018569197
## sample estimates:
## prop 1 prop 2
## 0.03105096 0.02597403
Individual intervals for variant A.
## [1] 0.04217153
## [1] 0.02282927
##
## 1-sample proportions test with continuity correction
##
## data: 39 out of 1217, null probability 0.5
## X-squared = 1064.1, df = 1, p-value < 2.2e-16
## alternative hypothesis: true p is not equal to 0.5
## 95 percent confidence interval:
## 0.02318092 0.04397676
## sample estimates:
## p
## 0.03204601
In the Spring of 2025, the United States Cycling Safety Institute conducted a helmet effectiveness study to evaluate the impact of wearing a high-tech helmet in high-speed cycling crashes. The study involved 20 randomly selected students from ISA/STA 365, who were randomly assigned to wear either:
A standard helmet (Control group)
A newly designed impact-resistant helmet (Treatment group)
To maintain the integrity of the study, both groups wore helmets that appeared identical from the outside. The 30 trial observers were also blinded to which helmets were the high-tech versions. Each student rode a controlled downhill course at a high speed and was instructed to navigate a difficult turn known to cause crashes. The primary outcome was whether the student sustained a serious head injury (binary response: 1 = Injury, 0 = No Injury). Note this is just a hypothetical study :).
Name |
---|
Amick, Tiffany |
Appelwick, Evan |
Bizon, Ashley |
Boksha, Jenna |
Brookshire, Kole |
Dawson, Kendra |
Name |
---|
Amick, Tiffany |
Appelwick, Evan |
Bizon, Ashley |
Boksha, Jenna |
Brookshire, Kole |
Dawson, Kendra |
Deaton, Mallory |
Guevara, Peter |
Hemm, Lilly |
Judson, Nathaniel |
Kahle, Adam |
Krieg, Alex |
Likitin, Danila |
McClurg, Marissa |
Metzler, Aj |
Molnar, Cole |
Nguyen, Thao |
Phillips, Elaina |
Ray, Benjamin |
Rohlfs, Matt |
treatment<-c(rep("new helmet",10), rep("old helmet",10))
treatment<-sample(treatment)
experiment<-data.frame(study, treatment)
Name | treatment |
---|---|
Amick, Tiffany | old helmet |
Appelwick, Evan | old helmet |
Bizon, Ashley | new helmet |
Boksha, Jenna | new helmet |
Brookshire, Kole | new helmet |
Dawson, Kendra | old helmet |
Deaton, Mallory | old helmet |
Guevara, Peter | new helmet |
Hemm, Lilly | old helmet |
Judson, Nathaniel | old helmet |
Kahle, Adam | old helmet |
Krieg, Alex | new helmet |
Likitin, Danila | old helmet |
McClurg, Marissa | new helmet |
Metzler, Aj | new helmet |
Molnar, Cole | new helmet |
Nguyen, Thao | old helmet |
Phillips, Elaina | new helmet |
Ray, Benjamin | old helmet |
Rohlfs, Matt | new helmet |