Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Question 1 (10 Marks) The data contains information relating to a study on weight loss for those attending meetings about dieting. Variable Description Condition The

Question 1 (10 Marks)

The data contains information relating to a study on weight loss for those attending meetings about dieting.

Variable

Description

Condition

The variable (condition=1) indicates that a patient has received a weight loss manual and (condition=2) they have not.

Status

The variable (Status=1) indicates whether a patient has already been trying to lose weight before a series of meetings, (Status=2) or not.

Response

This variable concerns the amount of weight the individuals have lost.

  1. Produce a format definition that will firstly, format the (CONDITION=1) as RECEIVED and (CONDITION=2) as NOTRECEIVED. Secondly, format the (STATUS=1) as TRYING and (STATUS=2) as NOTTRYING.
  2. Produce code using "PROC UNIVARIATE" by grouping the two variables namely (CONDITION & STATUS)into classification levels in relation to the variable RESPONSE (Weight loss)and create 2X2 histogram with superimposed normal distributed curves of RESPONSE (Weight loss) by CONDITION & STATUS.
  3. What can be understood about the distribution of the RESPONSES between (CONDITION = 1 & CONDITION =2)and (STATUS = 1 and STATUS =2).
  • Is the data normally distributed? (hint: Skewness)
  • Does the data distributions for variable REPSONSE (Weight loss)differ by group?

RAW DATA PROVIDED

DATA SLIM;

INPUT CONDITION STATUS RESPONSE @@;

DATALINES;

1 1 -13.67 1 1 -12.85 1 1 -9.55 1 1 -17.03 1 1 13.61

1 2 .91 1 2 2.48 1 2 2.84 1 2 3.46 1 2 2.20 1 2 -.73

1 2 -3.05 1 2 -5.68 1 2 -3.44 1 2 -7.18 1 2 -3.40 1 2 -.74

2 1 -3.29 2 1 -4 2 1 -2.31 2 1 -3.4 2 1 -7.49 2 1 -13.62

2 1 -7.34 2 1 -7.39 2 1 -1.32 2 1 -12.01 2 1 -8.35

2 2 5.94 2 2 1.91 2 2 -4.0 2 2 -5.19 2 2 0 2 2 -2.8

;

RUN;

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

A Cp-Theory Problem Book Functional Equivalencies

Authors: Vladimir V Tkachuk

1st Edition

3319243853, 9783319243856

More Books

Students also viewed these Mathematics questions

Question

=+downsize to fit the demand for its products and services?

Answered: 1 week ago

Question

Describe how self-defeating attitudes create a vicious cycle.

Answered: 1 week ago

Question

1. Background knowledge of the subject and

Answered: 1 week ago