Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

4. Re-do the scatterplot using the variable Exercise as markers so that each poi

ID: 3071833 • Letter: 4

Question

4. Re-do the scatterplot using the variable Exercise as markers so that each point in the scatterplot indicates the number of hours each person exercised (0, 2, or 4) and superimpose three regression lines on the scatterplot, one for each exercise group See code below. Stata Code: twoway (scatter WeightLoss Foodlntake, mlabpasition(0) wsymbel@ mlabel(Exercise) (lfit WeightLoss Foodlntake if Exercise == 0) (at Weightloss Foodintake if Exercise == 2) /// e(lfit WeightLoss FoodIntake if Average daily amount eaten in study week over 1000 calories in increments of 100 Exercise == 4), yitl (Pounds Lost) Number of pounds lost in study weekFitted values Fitted values -Fitted values 5. Do these three regression lines of Weight Loss on Food Intake controlling for Exercise, have positive or negative slopes? Said differently, is the (partial) relationship between Food Intake and Weight Loss controlling for Exercise, positive or negative? Is this result consistent with what you would have expected?

Explanation / Answer

5. from the plot it is evident that the variables weight loss and food intake are negatively correlated.

( we can see from the graph that if x increases(food intake) then y (weight loss) decreases. )

So,the three regression lines of weight loss on food intake controlling for exercise have negative slopes.

i.e. the relationship between food intake and weight loss controlling for exercise is negative.

yes this result is consistent with what we have expected.

since it is expected that if food intake is decresed there will be more weight loss and if the food intake is increased then there will be less weight loss.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote