Question

In: Statistics and Probability

In Assignment 1A, you participated in a “memory game” activity. In this problem, you will answer...

In Assignment 1A, you participated in a “memory game” activity. In this problem, you will answer this question of interest: “Is there an association between the time of day when the activity was performed and how many items were remembered?” Use the memorygame.csv data set posted on Canvas to answer this question of interest. (Note: the number of items remembered will be categorized into two groups. The data set will contain two columns: column 1 is the time of day the activity was performed (“time”) and column 2 is whether or not at least 60% of the items were remembered (“pctremember”.)

To answer this question of interest, answer the following questions. (R tutorial 1 may be helpful in answering some of these questions.)

1. Using R, construct and include a properly labeled side-by-side bar chart. Based on the side-by-side bar chart, does there appear to be an association between time of day and number of items remembered? Explain. (3 points) 2. Perform an appropriate hypothesis test in R to answer the question of interest:

a. State the null and alternative hypotheses in notation and words. (3 points)

b. What is the name of the hypothesis test will you use to test the above null hypothesis? Why are you using this test? (2 points)

c. Report the test-statistic (with degrees of freedom if it has degrees of freedom) and the p-value. Do not include the R output. (1 point)

d Based on the p-value, answer the question of interest in the context of the problem. (3 points) e. Does the conclusion from the hypothesis test support what you see in the side-by-side bar chart? Explain. (2 points)

time pctremember
morning yes
morning no
morning no
morning no
evening yes
evening yes
evening no
evening no
evening yes
evening no
morning no
evening no
evening yes
morning no
evening no
morning no
morning yes
evening yes
morning no
evening yes
evening no
evening yes
evening no
morning yes
evening yes
morning no
morning no
evening no
morning yes
evening no
evening no
evening yes
evening yes
morning no
morning no
evening no
morning no
morning no
morning yes
morning yes
evening yes
evening yes
morning no
evening yes
morning yes
evening no
evening yes
morning yes
evening yes
morning yes
evening yes
evening no
evening no
evening yes
morning yes
morning no
morning yes
evening no
morning yes
evening no
evening no
morning no
morning no
morning no
morning yes
morning yes
morning yes
evening yes
evening no
evening no
morning no
evening no
evening yes
morning no
evening no
evening yes
morning no
evening no
evening no
morning no
evening no

Solutions

Expert Solution

Using R,

Creating a side by side bar chart:

Output:

Running a chi square test,

a. To test H0:  There is no association between the time of day when the activity was performed and no. of items were remembered.

Vs

Ha: There is a significant association between the time of day when the activity was performed and no. of items were remembered.

i.e. to test, H0: Oi = Ei   Vs H1: Oi Ei  

where Oi and Ei are the observed and expected (No assosiation) frequencies respectively.

b. A chi square test of independence would be an appropriate test here, since we have to test whether the two nominal variables are independent.

c. Test Statistic = 0.048 , df = 1 and p - value = 0.8262

d.Since the p value of the test 0.8262 > 0.05, we may conclude that there is sufficient evidence to support the null hypothesis.We may accept the null hypothesis at 5% level of significance.

We may conclude that there is no association between the time of day when the activity was performed and no. of items were remembered.Our decision is also supported by the side by side bar chart where we do not find any significant difference in the bars.


Related Solutions

Activity 5 In a short paragraph for each, answer the questions. 1. Have you ever participated...
Activity 5 In a short paragraph for each, answer the questions. 1. Have you ever participated in a training program which has enthused you and helped you develop ideas for increasing productivity and/or building better relationships in the workplace? 2. What happened when you tried to put these ideas into practice at work? Did you meet so many obstacles that you just gave up? Why do you think this happens? How does it make you feel? 3. Reflect on an...
Assignment- [ A4]:  For this assignment you need to answer all the questions: Every productive activity involves...
Assignment- [ A4]:  For this assignment you need to answer all the questions: Every productive activity involves some combination of different categories of scarce resource. Think of your OWN business proposed to start in 2021. Q1. Which among the following economic system would easily overcome the economic crisis that caused during Covid 19 pandemic?                 a.     Capitalist economy b.     Socialist economy c.     Mixed economy You are required to build and justify three arguments in favor and against of the selected economic system.                             (6+6 Marks) Q2. According...
Answer the same problem as the if statement assignment but use the case statement instead. You...
Answer the same problem as the if statement assignment but use the case statement instead. You are working for a company that offers driver licence training and you have been asked to write a script that asks your clients how old they are. If he/she is 16 years old display the message "Please visit our company to take the test!" If he/she is 15 years old display the message "Please take the training with us to learn how to drive!"...
This is the assignment I have, I need the best game theory problem example for it...
This is the assignment I have, I need the best game theory problem example for it which is difficult. Thank you:) Think of an example of a decision problem or a game theory problem. This time you will have to submit the source of the story. You can take it from a newspaper, from Internet, magazine, book... 1. Submit a photocopy or a printed version of your problem. 2. Simplify the problem and represent it using the concepts of game...
Programmed In Java In this assignment you will create a simple game. You will put all...
Programmed In Java In this assignment you will create a simple game. You will put all of your code in a class called “Game”. You may put all of your code in the main method. An example of the “game” running is provided below. Y ou will start by welcoming the user. 1. You should print "Welcome! Your starting coordinates are (0, 0).” 2. On the next line, you will tell the user the acceptable list of commands. This should...
1a. List one similarity and one difference between paged memory and demand paging memory allocation. Explain...
1a. List one similarity and one difference between paged memory and demand paging memory allocation. Explain two circumstances where one might be preferred over the other b. What are the fundamental differences between paging scheme and segmented memory allocation? List both advantages and disadvantages of each neatly using tables c. Which (3) tables are used by the memory manger to keep track of the segments in memory? Describe each table. 2a. Why are segmentation problem like, compaction and external fragmentation...
1a) Suppose that memory for unrelated words is distributed normally with a mean of µ =...
1a) Suppose that memory for unrelated words is distributed normally with a mean of µ = 60 with a standard deviation of σ = 20. A random sample is selected from this population. After a treatment is administered to the individuals in the sample, a memory test that measures memory for unrelated words is administered, the sample mean is found to be M = 55. If the sample consists of n = 25 scores, can we conclude that the treatment...
The Brain Game The purpose of this assignment is to introduce you to the well-known scientific...
The Brain Game The purpose of this assignment is to introduce you to the well-known scientific fact that humans do not make decisions rationally. Most of the time, decisions are made without people even realizing the “why” behind their decisions. Our decisions are often driven by our own biases instead of logic or good judgement. These numerous “poor instincts” are called cognitive biases. It is important to identify cognitive biases in Personal Finance because they cause so many of the...
Please answer and explain questions 1 to 4 from this problem thanks. Class: Game Theory Problem...
Please answer and explain questions 1 to 4 from this problem thanks. Class: Game Theory Problem 1 Two players, A and B play the following game. First Player A must choose IN or OUT. If Player A chooses OUT the game ends, and the payoffs are Player A gets 4, and Player B gets 0. If Player A chooses IN then Player B observes this and must then choose in or out. If Player B chooses out the game ends,...
For this assignment, you will create a command-line version of the game ​Hangman. You should work...
For this assignment, you will create a command-line version of the game ​Hangman. You should work in a group of two on the project and not view Hangman code of other students or found on-line. Submit this project-- your .java file-- here on Canvas. For this assignment you will research on StringBuilder Class (​Use this link​) and use it in your code. Functional requirements (rubric) ● Your game should have a list of at least ten phrases of your choosing...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT