Small Lab

Responsive Centered Red Button

Need Help with this Question or something similar to this? We got you! Just fill out the order form (follow the link below), and your paper will be assigned to an expert to help you ASAP.

ALY 6015 Northeastern University Create a Program Code R Programming Task

Summary
Test hypotheses, using the following methods: sign test, Wilcoxon rank sum test, signed-rank test, Kruskal-Wallis test, and the runs test.
Complete the following problems using R, Be sure to show your work and include the hypothesis tests, the critical values, the computed test values, and the resulting decisions where applicable.
Perform these steps:
State the hypotheses and identify the claim.
Find the critical value(s)
Compute the test value.
Make the decision.
Summarize the results.
Use the traditional method of hypothesis testing unless otherwise specified. Assume all assumptions are met.
1.A lottery outlet owner hypothesizes that she sells 200 lottery tickets a day. She randomly sampled 40 days and found that on 15 days she sold fewer than 200 tickets. At ? = 0.05, is there sufficient evidence to conclude that the median is below 200 tickets?
2.For the years 1970–1993 the National League (NL) and the American League (AL) (major league baseball) were each divided into two divisions: East and West. Below are random samples of the number of games won by each league’s Eastern Division. At ? = 0.05, is there sufficient evidence to conclude a difference in the number of wins?
undefinedNL8998101909199610810096825AL1088997
1001029104958981016158
3.Use Table K to determine whether the null hypothesis should be rejected.
ws = 13, n = 15, ? = 0.01, two-tailed
ws = 32, n = 28, ? = 0.025, one-tailed
ws = 65, n = 20, ? = 0.05, one-tailed
ws = 22, n = 14, ? = 0.10, two-tailed
4.Through the Organization for Economic Cooperation and Development (OECD), 15-year-olds are tested in member countries in mathematics, reading, and science literacy. Listed are randomly selected total mathematics literacy scores (i.e., both genders) for selected countries in different parts of the world. Test, using the Kruskal-Wallis test, to see if there is a difference in means at ? = 0.05.
Western HemisphereEuropeEastern Asia527520523406510547474513547381548391411496549
Perform these steps.
Find the Spearman rank correlation coefficient.
State the hypotheses.
Find the critical value. Use ? = 0.05.
Make the decision.
Summarize the results.
5Six cities are randomly selected, and the number of daily passenger trips (in thousands) for subways and commuter rail service is obtained. At ? = 0.05, is there a relationship between the variables? Suggest one reason why the transportation authority might use the results of this study.
City123456Subway84549442531310841Rail392911421033338
Use random numbers to simulate the experiments. The number in parentheses is the number of times the experiment should be repeated.
6.A caramel corn company gives four different prizes, one in each box. They are placed in the boxes at random. Find theaverage number of boxes a person needs to buy to get all four prizes. (40)7
7.To win a certain lotto, a person must spell the word big. Sixty percent of the tickets contain the letter b, 30% contain the letter i, and 10% contain the letter g. Find the average number of tickets a person must buy to win the prize. (30)

How to create Testimonial Carousel using Bootstrap5

Clients' Reviews about Our Services