AD654程序代写、代写Python程序语音

AD654: Marketing Analytics
Boston University
Assignment IV: AB Testing, a Statistical Test, and a Dashboard
Once you have completed this assignment, you will upload two files into Blackboard: The .ipynb file that
you create in Jupyter Notebook, and an .html file that was generated from your .ipynb file. If you run
into any trouble with submitting the .html file to Blackboard, you can submit it as a PDF instead.
For any question that asks you to perform some particular task, you just need to show your input and
output in Jupyter Notebook. Tasks will always be written in regular, non-italicized font.
For any question that asks you to include interpretation, write your answer in a Markdown cell in
Jupyter Notebook. Any homework question that needs interpretation will be written in italicized font.
Do not simply write your answer in a code cell as a comment, but use a Markdown cell instead.
Remember to be resourceful! There are many helpful resources available to you, including the video
library, the class slides, the recitation sessions, the Zoom office hours sessions, and the web.
Part I:A/B Testing Sales Promotion Strategies
Lobster Land is considering some different promotional campaigns for its online merchandise
store. To compare the performances of three different ad campaigns, Lobster Land has teamed
up with a convenience store retailer known as Kwik-E-Mart.
Inside of various Kwik-E-Mart locations throughout Maine, Lobster Land ran three unique types
of promotions. In each case, Lobster Land used unique QR codes; these codes enabled Lobster
Land to know the exact amount of online merchandise revenue generated by each campaign.
This dataset contains the following variables:
MarketID Unique identifier for a market
MarketSize Size of market area by sales
LocationID Unique identifier for each store location
AgeOfStore Age of store in years
Promotion One of three promotions that was tested
Week One of the four weeks when the promotions were run
SalesInThousands Sales amount, in thousands, per row (each row is a unique LocationID,
Promotion, andWeek combination)
Lobster Land is hoping that you can help them to better understand this data! Specifically, they
want to know about Promotion1, Promotion2, and Promotion 3. Can you analyze
campaign_data.csv and then offer them any insights about which Promotion is most
effective at increasing sales?
A. Generate a barplot to show the average SalesInThousands values, separated by
the different promotion types.
a. Describe your barplot in 1-2 sentences.
B. You want to make sure that the promotions were evenly-balanced across time.
Create another barplot -- this time, build a barplot that shows the number of
instances in which each of the promotions was held. Include the ‘week’ variable
in your plot, too.
a. What does this show you about the experiment design? Do you think
the ‘week’ could be a confounding variable in the experiment?
C. Next, generate some summary stats here -- group the observations by
‘Promotion’ and then describe the store ages.
a. How would you describe these results in general? You won’t use a
statistical test here, but instead, just summarize what this seems to show
-- does the age profile of the stores seem to be very different, or does it
look like it’s pretty similar across these three groups?
D. Using an appropriate statistical test for each comparison, compare every possible
promotion (Promotion 1 vs. Promotion 2, Promotion 2 vs. Promotion 3, and
Promotion 1 vs. Promotion 3) to assess its impact on sales.
a. What were the t-statistics and p-statistics for each head-to-head test?
b. Based on these results, what can you conclude about the promotions?
Part II: Using a Statistical Test to Evaluate a Claim
A traveling salesman comes to Maine with a proposal for Lobster Land: He would like to set up
a dice game “called Lucky Evens” that will be held inside the park. He is offering to pay Lobster
Land $700 per day for the rights to operate his dice game.
If Lobster Land allows this man to run the game, it will work like this: Any park visitor can pay
$12 to roll one of his six-sided dice. If the dice roll results in a 2, 4, or 6, the visitor will receive
$20; however, if the roll results in a 1, 3, or 5, the visitor will lose his $12.
You are a little bit suspicious about this traveling salesman, so you decide to test out his dice.
On the one hand, you think that visitors to the park might enjoy this game, as well as the
opportunity to earn some extra money during their visit. On the other hand, what if this guy is
a thief who wants to just steal from the park’s guests by cheating them out of their money?
You roll the visitor’s dice 60 times, and you record the following results:
RecordedValues (60 Rolls)
DiceValue Number of Times Observed
13
7
12
8
14
6
Still unsure about whether to trust this out-of-town salesman, you decide that perhaps 60 rolls
of the dice were not enough. You bring over one of your analytics interns and you ask him to
double your previous effort -- he needs to roll this thing 120 times! After rolling 120 times, he
records the following results:
RecordedValues (120 Rolls)
DiceValue Number of Times Observed
26
14
24
16
28
12
A. Using the results from the first set of dice rolls (in which you rolled the visitor’s
dice 60 times), conduct a chi-square goodness of fit test in Python.
a. What is the null hypothesis of this test? What is the alternative
hypothesis?
b. What is the p-value of this test? Based on this value, what will you
conclude? Be sure to mention the null hypothesis in your answer to this
question. (you can assume that Lobster Land uses an alpha value of 0.05
for statistical tests)
B. Now, using only the results from the second set of dice rolls (in which the intern
rolled the visitor’s dice 120 times), conduct a chi-square goodness of fit test in
Python.
a. What is the null hypothesis of this test? What is the alternative
hypothesis?
b. What is the p-value of this test? Based on this value, what will you
conclude? Be sure to mention the null hypothesis in your answer to this
question.
C. Demonstrate where the two chi-square values used above came from. Use
Jupyter Notebook to do this, but do not use any Python libraries or modules.
Instead, show the calculation used to determine the chi-square value for each
case (the 60-roll trial, and the 120-roll trial).
i. What pattern did you notice in the results, when comparing the
observed values from the two trials?
ii. If your chi-square value from the second trial was different from
the one you obtained from the first trial, describe in about 1-2
sentences why you think it changed. Just a couple sentences is
enough here -- a full credit answer will ‘connect the dots’ between
the formula for the chi-square value and the way it was impacted
by the data here.
D. What should Lobster Land tell the traveling salesman? Why?
E. If using more dice rolls in the 2nd trial seems to have impacted the results, write
a completely intuitive (no math!) explanation for why this might make sense. To
write this answer, don’t use any math or statistics references. Instead, be
creative, and think about how you might explain to a small child (or an adult that
doesn’t know about math) about the impact of having more evidence in order to
make the decision here (2-4 sentences here will be enough).
Part III: UsingTableau to Build a Dashboard:
A. Bring lobster22.csv into your Tableau Public environment. (the same dataset that we
used for Homework #1)
B. Using any layout style, build a dashboard that includes any four unique visualizations of
your choice. By “unique” this just means that you should not build two of the same type
of plot (e.g. not more than one histogram, not more than one barplot, not more than
one treemap, etc.). Give a title to each of your four plots.
C. Write a one-paragraph description of your dashboard. Write about the plots that you
made and describe your process. You can do this in any file format, and upload it with
your Assignment 4 submission.
D. Paste a link to your file in the same document that you used to write the description. If
you used Tableau Desktop, you can just upload the .twbx file instead.
Note: This section is intentionally very open-ended. Each submission will be unique. The goal here is
not to arrive at a single “correct” answer but to have everyone gain some hands-on experience with
building a dashboard in Tableau. The dashboards will not be scored by some ‘beauty contest’ measure --
the key here is to (1) make a good-faith effort to build a dashboard with four separate types of
visualizations, and (2) include a thoughtful narrative paragraph. Every answer that does those things will
receive full credit for this section.

热门主题

课程名

mktg2509 csci 2600 38170 lng302 csse3010 phas3226 77938 arch1162 engn4536/engn6536 acx5903 comp151101 phl245 cse12 comp9312 stat3016/6016 phas0038 comp2140 6qqmb312 xjco3011 rest0005 ematm0051 5qqmn219 lubs5062m eee8155 cege0100 eap033 artd1109 mat246 etc3430 ecmm462 mis102 inft6800 ddes9903 comp6521 comp9517 comp3331/9331 comp4337 comp6008 comp9414 bu.231.790.81 man00150m csb352h math1041 eengm4100 isys1002 08 6057cem mktg3504 mthm036 mtrx1701 mth3241 eeee3086 cmp-7038b cmp-7000a ints4010 econ2151 infs5710 fins5516 fin3309 fins5510 gsoe9340 math2007 math2036 soee5010 mark3088 infs3605 elec9714 comp2271 ma214 comp2211 infs3604 600426 sit254 acct3091 bbt405 msin0116 com107/com113 mark5826 sit120 comp9021 eco2101 eeen40700 cs253 ece3114 ecmm447 chns3000 math377 itd102 comp9444 comp(2041|9044) econ0060 econ7230 mgt001371 ecs-323 cs6250 mgdi60012 mdia2012 comm221001 comm5000 ma1008 engl642 econ241 com333 math367 mis201 nbs-7041x meek16104 econ2003 comm1190 mbas902 comp-1027 dpst1091 comp7315 eppd1033 m06 ee3025 msci231 bb113/bbs1063 fc709 comp3425 comp9417 econ42915 cb9101 math1102e chme0017 fc307 mkt60104 5522usst litr1-uc6201.200 ee1102 cosc2803 math39512 omp9727 int2067/int5051 bsb151 mgt253 fc021 babs2202 mis2002s phya21 18-213 cege0012 mdia1002 math38032 mech5125 07 cisc102 mgx3110 cs240 11175 fin3020s eco3420 ictten622 comp9727 cpt111 de114102d mgm320h5s bafi1019 math21112 efim20036 mn-3503 fins5568 110.807 bcpm000028 info6030 bma0092 bcpm0054 math20212 ce335 cs365 cenv6141 ftec5580 math2010 ec3450 comm1170 ecmt1010 csci-ua.0480-003 econ12-200 ib3960 ectb60h3f cs247—assignment tk3163 ics3u ib3j80 comp20008 comp9334 eppd1063 acct2343 cct109 isys1055/3412 math350-real math2014 eec180 stat141b econ2101 msinm014/msing014/msing014b fit2004 comp643 bu1002 cm2030
联系我们
EMail: 99515681@qq.com
QQ: 99515681
留学生作业帮-留学生的知心伴侣!
工作时间:08:00-21:00
python代写
微信客服:codinghelp
站长地图