Question: 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

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!