Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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.

image text in transcribedimage text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beginning PostgreSQL On The Cloud Simplifying Database As A Service On Cloud Platforms

Authors: Baji Shaik ,Avinash Vallarapu

1st Edition

1484234464, 978-1484234464

More Books

Students also viewed these Databases questions

Question

What questions should Anna ask of Jessica?

Answered: 1 week ago

Question

Presentations Approaches to Conveying Information

Answered: 1 week ago