An archived instance of a Calc II forum

Bkstr vs Amazon

mark

(10 pts)

For this problem, you’re going to take a small sample of textbooks that are in use here at UNCA this semester and compare their bkstr.com price to their Amazon price. You’ll then run a hypothesis test of the form

H_0: \mu_A = \mu_B\\ H_A: \mu_A \lt \mu_B,

where \mu_A represents the average Amazon price and \mu_B represents the average Bookstore price. This is a lot like an example from our last class presentation.

First, you’ll get your list of books (using the menu below) with Bkstr prices already listed and pointers to the corresponding Amazon pages. Then, you’ll follow the link to look up the Amazon price so you can wrap it in a table that looks something like so:

Book Format Bkstr Price Amazon Price
Black Man in a White Coat Buy New $18.00 $15.63
Job Buy New $18.00 $18.00
Learning from My Daughter Buy New $45.50 $37.15
Engineering Mech Buy New $268.75 $228.43
In the Dream House Buy New $16.00 $9.99

Finally, you’ll compute the pairwise differences between the prices and run the hypothesis test. Of course, you’ll use the t-distribution, due to the small sample size.


Note: I’ll be aggregating all this data into one much larger sample so we can run a better hypothesis test on Friday. As a result, it will be of central importance for you to format your table correctly so that my program can read it. It’s really not that hard! To format your table like the following:

Book Format Bkstr Price Amazon Price
Book 1 Buy/Rent New/Used $00.00 $00.00
Book 2 Buy/Rent New/Used $00.00 $00.00
Book 3 Buy/Rent New/Used $00.00 $00.00
Book 4 Buy/Rent New/Used $00.00 $00.00
Book 5 Buy/Rent New/Used $00.00 $00.00

Simply type the following:

|Book|Format|Bkstr Price|Amazon Price|
|---|---|---|---|
|Book 1|Buy/Rent New/Used|$00.00|$00.00|
|Book 2|Buy/Rent New/Used|$00.00|$00.00|
|Book 3|Buy/Rent New/Used|$00.00|$00.00|
|Book 4|Buy/Rent New/Used|$00.00|$00.00|
|Book 5|Buy/Rent New/Used|$00.00|$00.00|

You can simply copy and paste that to get started.


snichol3
Book Format Bkstr Price Amazon Price
Book of psalms Buy New $19.95 $14.69
New Jim Crow Buy New $18.99 $31.49
Duo! Buy New $19.99 $19.26
Greek Art & Archaeology Buy New $179.50 $20.49
Book of Bees Buy New $15.99 $13.95

H0 : μ A = μ B
H A : μ A < μ B
mean of difference = 30.907
s = 71.93 using 95% confidence level. t* = 2
t - value = (30.907 - 0) / 71.93/sqrt(5) = 0.96
= P(T<−0.96) = 0.195 thus we fail to reject the null at 95% confidence level
using DOF 4


ME = 2.776 X 71.93/(sqrt(5)) =
XBAR + ME, XBAR - ME
T* = 2.776

jmillspa
Book Format Bkstr Price Amazon Price
Sidewalk Buy New $19.00 $13.99
MKTG 13 Buy New $87.50 $74.49
Terrible Magnificent Sociology Buy New $58.25 $29.99
Only Good Indians Buy New $16.99 $13.59
Organic Chemistry Rent Digital $79.50 $64.99

H_0:\mu_A=\mu_B
H_A:\mu_A<\mu_B

mean of difference = 39.41
std dev = 29.9416
My test statistic =2.943
My P value is =.021
Therefore I fail to reject the Null Hypothesis.

jparker7
Book Format Bkstr Price Amazon Price
Gumbo Ya Ya by Marie Buy New $23.95 $15.30
Disability Visibility Buy New $16.95 $12.99
Mexican Gothic Buy New $17.00 $11.71
She Came to Stay Buy New $21.00 $17.95
New Media Reader (w/CD) Buy New $65.00 $61.68

The sample size, mean, and standard deviation are:

n=5, \bar{x}=4.854, s=2.291

The formula to calculate the test statistic is:

T= \bar{x}- μ /(s/ √n) = 4.854-0/(2.291/ √5) = 4.737

That yields a p-value of .0045, thus I reject the null.

audrey

Here are my books:

Book Format Bkstr Price Amazon Price
Citizen Buy New $20.00 $11.79
Essen of Statistics Buy New $226.25 $96.49
Gardner’s Art Buy New $103.75 $58.07
Book of Delights Buy/Rent New/Used $24.95 $15.43
Wheelock’s Latin Buy/Rent New/Used $24.99 $22.76

The mean and standard deviation are:

mean = 39.08
std dev = 55.5

Thus, my test statistic is 39.08/(55.5/sqrt(5)) = 1.57.
That yields a p-value of 0.095, thus I fail to reject the null.

jnilsen
Book Format Bkstr Price Amazon Price
Between the World & Me by Coates Buy New $26.00 $8.99
Norton Introduction to Literature (Portable) by Mays Buy New $80.25 $32.33
You Majored in What? (Revised & Updated) by Brooks Buy New $18.00 $7.99
Burning Bright by Rash Buy New $16.99 $12.99
Financial Accounting Tools for Business Decision Making (CUSTOM) by Kimmel Buy New $100.00 $150.00

H0 : μ A = μ B
H A : μ A < μ B

mean of difference: 5.788
Standard Deviation of difference: 35.47668638
Thus, my test statistic is: 5.788/(35.47668638/sqrt(5)) = 0.3641829
That yields a p-value of 0.388829, so we fail to reject the null hypothesis

afloyd2
Book Format Bkstr Price Amazon Price
Mrs. Dalloway (Trade Ed) by Woolf Buy New $15.99 $11.14
Indigenous Food Sovereignty in the United States by Mihesuah Buy New $35.00 $26.82
Little Man, What Now? by Fallada Buy New $16.95 $16.95
Age of Ambition by Osnos Buy New $16.00 $8.95
If I Ever Get Out of Here by Gansworth Buy New $10.99 $8.62

H_0: \mu_A = \mu_B\
H_A: \mu_A \lt \mu_B

Mean of Difference: 4.49
Standard Deviation of Difference: 3.3524
Confidence Level: 95%
t*: 2.7764

ME:

2.7764 * (3.3524/\sqrt(5))=4.1625

Confidence Interval:

(4.49-4.1624, 4.49+4.1624)= (0.3275,8.6525)

Test Statistic:

4.49-0/(3.3524/\sqrt(5))=2.995

P-Value:

1-0.9799=0.02

Thus, we reject the null hypothesis at a 95% confidence level.

eball2
Book Format Bkstr Price Amazon Price
Educational Psychology Buy New $124.75 $85.32
Craft of Research Buy New $18.00 $15.91
International Organizations Buy New $45.00 $38.50
Organic Chemistry Buy New $389.75 $117.39
Writing Life Stories Buy New $17.99 $10.22

H0 : μ A = μ B
H A : μ A < μ B
mean of difference = 65.63
standard deviation =116.517

Test statistic = 1.259
P-value = 0.214
I fail to reject the null

ekrans
Book Format Bkstr Price Amazon Price
Manual for Writers of Research Papers, Theses, & Dissertations by Turabian Buy New $18.00 $15.00
Writing Ethnographic Fieldnotes by Emerson Buy New $22.00 $22.00
Best American Essays 2021 by Atwan Buy New $16.99 $9.99
Civil Action by Harr Buy New $17.95 $11.49
Underground Railroad by Whitehead Buy/New $16.95 $12.07

H0: μ A = μ B
H A: μ A < μ B
Mean of Difference: 4.268
Standard Deviation: σ: 2.548
Test Statistic: 3.7455
P Value: P(T<3.7455)=0.91695
1-0.91695= 0.08305
Thus, we fail to reject the null hypothesis at a 95% confidence level.

dchaney
Book Format Bkstr Price Amazon Price
Exile & the Kingdom Buy/New $15.00 $12.69
Al-Ghazali’s Path to Sufism Buy/New $17.95 $11.55
Ordinary Men Buy/New $17.99 $9.99
Mid-Latitude Weather Systems Buy/New $58.25 $60.00
Let Them Eat Tweets Buy/New $17.95 $9.99
The mean and standard deviation are:

Mean = 4.584
Std dev = 4.23246

Thus, my test statistic is (4.584 - 0)/ (4.23246/sqrt(5)) = -2.42179
That yields a p-value of 0.036, thus I can reject the null.
shumpher
Book Format Bkstr Price Amazon Price
Lessons Before Dying by Gaines Buy New $15.00 $9.49
Etruscan Civilization by Haynes Buy New $50.00 $47.50
Neuroscience: Exploring the Brain by Bear Buy New $135.95 $87.93
Field Guide to Trees & Shrubs of Southern Appalachians by Swanson Buy New $37.50 $32.00
They Leave Their Kidneys in the Fields by Horton Buy New $35.00 $29.95

The mean and standard deviation are as follows:

Mean = 13.316
Std Dev = 19.440317

Thus, my test statistic is 13.316/(19.440317/sqrt(5)) = 1.53.
That yields a p-value of 1-0.89962 = 0.10038, thus I fail to reject the null hypothesis when operating at a 95% confidence level.

tcunnin1
Book Format Bkstr Price Amazon Price
Book 1 Buy/Rent New/Used $124.75 $59.73
Book 2 Buy/Rent New/Used $18.75 $16.00
Book 3 Buy/Rent New/Used $89.95 $59.15
Book 4 Buy/Rent New/Used $44.25 $37.95
Book 5 Buy/Rent New/Used $146.75 $137.11

Ho: ma = mb
Ha: ma < mb

For the difference between Bookstore and Amazon:
mean = 22.901999999999997
std dev=25.95146662522178
Hypothesis Test:
Ho: μ=0
Ha: μ>0
My test statistic is:
T=(22.90199-0)/(25.95146/2.23606)=1.973315
yields a p-value of: 0.059857
thus we fail to reject the null in this case.

ksimmon1
Book Format Bkstr Price Amazon Price Differences
Fires of Hatred by Naimark Buy New $29.00 $23.99 $5.01
Reconceptualizing Mathematics by Sowder Buy New $282.50 $154.00 $128.5
Art History, Volume 2 by Cothren Rent Digital $55.00 $44.99 $10.01
Connect Online Access for Fundamentals of Electric Circuits by McGraw-Hill Education Rent Digital(Bookstore)/Buy New(Amazon) $136.00 $79.99 $56.01
Bee Time by Winston Buy New $18.95 $22.51 $-3.56

mean of difference = 39.193999999999996
standard deviation of difference = 55.014761019202844

My test statistic is: (39.193999999999996-0/(55.014761019202844/sqrt(5)) = 1.5930351543204184

p-Value = 1 - 0.9068139127473118 = 0.09318608725268818

Thus, we fail to reject the null hypothesis at 95% confidence.

mady
Book Format Bkstr Price Amazon Price
publication manual of apa Buy/Rent New $31.99 $19.00
10 human Buy/Rent New/ $16.99 $16.99
art since 1900 Buy/Used $66.75 $26.34
incidents in life Buy/Rent New $05.00 $04.99
poetry of impermanence,mindfulness, and joy Buy/Rent New $16.95 $14.29

mean of difference- 11.214
s=19.79 using 95% confidence interval t=2
t value- (11.214-0)/23.92/sqrt(5)=1.27
p(t<-1.27)=.8635,1-.8635= 0.1365, fail to reject the null

jcore
Book Format Bkstr Price Amazon Price
Mis-Education of the Negro by Woodson Buy New $05.50 $04.99
Iliad by Homer Buy New $20.00 $16.00
For the Love of God by Ostriker Buy New $23.95 $27.75
Revolutions in Communication by Kovarik Buy New $43.25 $20.38
Hippocrates Code by McKeown Buy New $58.25 $48.38

My hypothesis test will be run in the form of:
H0:μA=μB
HA:μA<μB

The mean of differences is: 6.6899
The standard deviation is: 10.3365
The test statistic should look like the following: (6.6899-0)/(10.3365/sqrt(5))= 1.4472
My p-value is: 0.1107

Because my p-value is greater than my significance level of 0.05, I will fail to reject the null

ewalsh3
Book Format Bkstr Price Amazon Price
Merchant of Venice Buy New $6.99 $5.59
Body Silent Buy New $19.75 $16.95
Global Humanities Reader Buy New $37.50 $30.12

My mean is 3.86 and standard deviation is 3.127746792820672
And so my test statistic is 2.1375 which gives me a p-value of 0.0831
I fail to reject the null hypothesis