代写HOMEWORK 3 COMPARING MEANS OR PROPORTIONS代做Python程序

HOMEWORK 3

COMPARING MEANS OR PROPORTIONS

DIRECTIONS

Please write up solutions directly in the document. Be sure to save your document as a PDF with the file name LastName_Homework3.pdf. Provide clear and complete sentences. You may work with others in the class on this assignment, but you must turn in this assignment individually and give responses in your own words.

HONESTY STUDY

A 2017 study (Capraro, 2017) investigated whether subjects would make an “honest” decision under pressure. Capraro’s group hypothesized that in certain circumstances, people would be more likely to make an honest decision when being pushed to act quickly. To test this hypothesis, they created a game and recruited volunteer subjects to participate. 

In this game, each participant was told that they belonged to either group 1 or group 2. They were then paired with another participant and were asked which group they belonged to, and the subject could choose to either lie or tell the truth about the group they belonged to. If the subject told the truth, they and their partner received a monetary award. If the subject lied, they would receive an even larger monetary reward, and their partner would receive a smaller one. To ensure that participants understood the rules of this game, they were given comprehension questions which they needed to answer correctly to participate, resulting in the group sizes being somewhat unequal with some participants not. However, subjects were randomly assigned to either make their decision under time pressure (within 5 seconds), while others were given ample time (30 seconds) to come to a decision. The results of this study are given in the table below:


Truth

Lie

Total

5 seconds (Time Pressure)

85

65

150

30 seconds (Time Delay)

69

87

156

Total

154

152

306



Research question: Are subjects more likely to be honest when forced to answer quickly (time pressure) than they would be if given more time (time delay)? 


PART 1: EXPLORING the DATA

1. Based on the table above, what was the observed difference in percentages of subjects that made the honest choice between the time pressure and time delay groups? 

2. How did the researchers use randomness in their study design? What implications does this have about the conclusions the researchers can draw?

PART 2: SETTING UP A SAMPLER

3. State the null hypothesis and the alternative hypothesis for this problem.  

4. Set up a model in TinkerPlots that can be used to simulate this study under the assumption of your null hypothesis. As part of your work, be sure to: 

a. Copy and paste a picture of your TinkerPlots sampler below.  

b. Describe the assumptions you are making, how they connect to the model you created, and how they will help you answer the research question. In your answer, be sure to connect to how your model reflects the study design you noted in question 2. 

c. State what the repeat and draw values are set to and explain why they are set to those values. 

d. Describe if the device(s) in your sampler are set to sample with or without replacement and explain why. 

e. Describe what will happen when you click run and how this relates to the problem context.  

5. Use TinkerPlots to carry out a single trial of the random assignment. Create a plot of your results in the form. of a 2x2 table, making sure to put the time pressure grouping on the y-axis, and the honesty outcome (truth/lie) on the x-axis. (Do not plot the join column.) Paste this plot below and provide an interpretation of a dot in your plot.  

6. What statistic are you interested in collecting on? Explain how this statistic will help you determine if time pressure makes subjects more honest than subjects who were not subjected to the time pressure. How does the unequal group size in this study (150 vs 156) impact this choice?

7. Carry out 500 trials of the simulation in TinkerPlots. For each trial (i.e., random assignment) collect the difference in percentages between the two groups. Paste a plot of the resulting sampling distribution below and interpret what a dot represents in that plot. 

PART 3: EVALUATING THE RESULTS

8. Report the p-value and interpret what this percentage means in the context of this problem. (There is an __% chance that…) Re-paste your sampling distribution to show where your p-value came from.

9. Based on your p-value, how strong is the evidence against the null model? What does this suggest about the answer to the research question? 

10. Can we generalize these results to a larger population? Is there a cause-and-effect relationship that we can reveal from this study? Explain your reasoning.

SPEED SKATING

Athletes from the Netherlands have fared rather well in speed skating events. In fact, Dutch competitors in the Winter Olympics have won 130 medals, 121 in speed skating events. But are the Dutch speed skaters better or worse than those from the United States? Using data from the SpeedskatingResults.com database, random samples of 15 skaters were taken from each of the two countries’ top 100 performances in the Ladies 3000-meter event. These data can be found in the SpeedSkating.tp3 data file. You will use these data to answer the following research question: 

Research question: Is there evidence that female athletes from the Netherlands have different average times in the 3000m events than female athletes from the United States?

PART 1: EXPLORING THE DATA

11. Create a plot that shows the means for each of the two countries and the difference between these two means. What is the difference in mean times between the Netherlands and the United States?

12. How did the researchers use randomness in their study design? What implications does this have about the conclusions the researchers can draw?

PART 2: SETTING UP A SAMPLER

13. State the null hypothesis and the alternative hypothesis for this problem.  

14. Set up a model in TinkerPlots that can be used to simulate this study under the assumption of your null hypothesis. As part of your work, be sure to: 

a. Copy and paste a picture of your TinkerPlots sampler below.  

b. Describe the assumptions you are making, how they connect to the model you created, and how they will help you answer the research question. In your answer, be sure to connect to how your model reflects the study design you noted in question 2. 

c. State what the repeat and draw values are set to and explain why they are set to those values. 

d. Describe if the device(s) in your sampler are set to sample with or without replacement and explain why. 

e. Describe what will happen when you click run and how this relates to the problem context.  

15. Use TinkerPlots to carry out one randomized trial of this study. Create a plot of the results that makes it clear what the difference in means is between the two countries. Interpret what a dot in the plot represents.

16. Carry out 500 trials of the simulation in TinkerPlots, collecting on the difference in means. Paste a plot of the resulting sampling distribution below and interpret what a dot represents in that plot. 

PART 3: EVALUATING THE RESULTS

17. What value is your sampling distribution centered at? Why does this make sense?

18. Report the p-value and interpret what this percentage means in the context of this problem. (There is an __% chance that…) 

19. Based on your p-value, how strong is the evidence against the null model? What does this suggest about the answer to the research question? 

20. Can we generalize these results to a larger population? Is there a cause-and-effect relationship that we can reveal from this study? Explain your reasoning.


 

 


热门主题

课程名

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
站长地图