Question: R Code Please! 1. For decades it's been suspected that schizophrenia involves anatomical abnormalities in the hippocampus, an area of the brain involved with memory.

 R Code Please! 1. For decades it's been suspected that schizophreniainvolves anatomical abnormalities in the hippocampus, an area of the brain involved

R Code Please!

1. For decades it's been suspected that schizophrenia involves anatomical abnormalities in the hippocampus, an area of the brain involved with memory. The following data bearing on this issue are from Suddath et al. (1990) and were used by Ramsey and Schafer (3rd ed., 2013, p. 31. Display 2.2). The researchers obtained MRI measurements of the volume of the left hippocampus from 15 pairs of identical twins discordant for schizophrenia, i.e, one the twin is affected with schizophrenia The data are displayed in the following table. i. use 'mutate()' to create a new variable 'diff' which is the difference of the MRI measurements of each pair. ii. use an assignment '= ' operator and pipe operator '\%>\%' to add the new variable 'diff' as as column to 'schizophrenia'. This can be done by assigning the data back into itself (similar to y=y+1 of adding 1 to the pre-existing y variable) and then pipe mutating 'diff'. By default the mutate is only temporary, but by saving the mutated variable you don't need to remutate it for parts iii and iv. iii. use 'summarise' to compute the average difference of the MRI measurements. Use the pipe '\%>\% operator to string multiple functions. iv. use 'summarise' to compute the standard deviation of the difference of the MRI measurements. Use the pipe '\%\% operator to string multiple functions. v. based on your answers in (iii) and (iv), do you think there is evidence in favor of the initial hypothesis that there is a difference in the MRI measurements of the volume of the left hippocampus between those affected and unaffected with schizophrenia

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 Databases Questions!