Question: Instruction: In this assignment we analyze data that was collected as part of an experiment that investigated the mental In this assignment we analyze data

Instruction:

In this assignment we analyze data that was collected as part of an experiment that investigated the mental In this assignment we analyze data that was collected as part of an experiment that investigated the mental relation between weapon and aggression. The experiment involved 32 undergraduate students ranging in age between 18 and 24 years. They were told that the purpose of this study was to test reading ability of various words. Each student was exposed to 192 trials. In each trial a computer presented a priming stimulus word for 1.25 seconds, a blank screen for 0.5 seconds, and then a target word. The experimenter instructed the subjects to read the first word to themselves and then to read the second word out loud as quickly as they could. The computer recorded reaction times. The 192 trials were divided into 4 groups of size 48 each. In one group the priming stimulus word was a weapon word (such as "dagger" or "bullet") and the target word was an aggressive word (such as "destroy" or "wound"). In another group the target word was instead a nonaggressive word (such as "evacuate" or "ashamed"). The third and fourth groups involved a name of an animal (such as "rabbit" or "dog") as the priming stimulus word and the target, again, was either an aggressive or a nonaggressive word. The file "weapons.csv" contains, for each subject and for each group of trials, the average of the 48 reaction times. The file can be found here (link: http://pluto.huji.ac.il/~msby/StatThink/Datasets/weapons.csv). The file contains 5 variables:

sex = The sex of the subject.

aw = Aggressive target word following a weapon prime.

an = Aggressive target word following a nonweapon (animal) prime.

cw = Control target word (nonaggressive) following a weapon prime.

cn = Control target word (nonaggressive) following a nonweapon prime

Question (Please help with solution using R): The answer is 0.0379 or 0.038. I only need the steps in R

One may measure the effect of a "weapon" primer on the speed in naming a word associated with aggression by considering the difference "aw - an". Call this difference "da". Likewise, one may measure the effect of a "weapon" primer on the speed in naming a neutral word by considering the difference "cw - cn". Call this other difference "dc". An overall contrast that may be used in order to test the relation between a "weapon" primer and a target associated with aggression is the difference "da - dc". Apply the t-test in test the null hypothesis that the expectation of the contrast is zero against a two-sided alternative. The resulting p-value is: (Give an answer of the form x.xxx, i.e. with 3 significance digits)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mathematics Questions!