Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can I please get help on how to use R studio with this question . 2. The dataset 'anorexia' in the MASS package in RStudio

can I please get help on how to use R studio with this question .

image text in transcribed
2. The dataset 'anorexia' in the MASS package in RStudio contains data for an anorexia study. In the study, three treat ments (Treat) were applied to groups of young female anorexia patients, and their weights before (Prewt) and after (Postwt) treatment were recorded. The three treatments adminstered were no treatment (Cont), Cognitive Behavioural treatment (CRT), and family treatment (FT). Determine at the 5% signicance level if there is a difference in mean weight gain between those receiving no treatment and those receiving family treatment. Perform all necessary steps for the hypothesis test and interpret your results in the context of the study. Assume random selection and normal population distribution for all samples and populations. Important: Make sure the MASS package is selected under the packages tab in RStudio. Useful Tip: The command subset(a.norexia, Treat == "Cont")$Prewt could be used to access just the Prewt values for subjects in the Cont treatment group

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

Step: 3

blur-text-image

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

Numerical Analysis

Authors: Richard L. Burden, J. Douglas Faires

9th edition

538733519, 978-1133169338, 1133169333, 978-0538733519

More Books

Students also viewed these Mathematics questions