Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use R language to solve it thanks Q.3. In order to nd the relationship between X (weight in kilogram) and Y (monthly hours devoted

Please use R language to solve it thanks

image text in transcribed
Q.3. In order to nd the relationship between X (weight in kilogram) and Y (monthly hours devoted to exercise) for two groups of male and female, 20 observations are gathered and tabulated in the following table. i Y (hour) X (kg) Group 1' Y (hour) X (kg) Group 1 22. 71 Male 11 36. 78 65 Female 12. 68 Male 34. 95 Female -8___ -____ -M \"___ 13. 34 Male 26.07 Female 8 18.73 61 Male 18 30.16 67 Female 9 14.52 95 Male 19 27.09 77 Female 10 17.43 72 Male 20 25.4 88 Female 3.31. For the male group, t a regression model between Y and X, and by using a = 0.05 test whether (10pts) H0:B1 : 230 Versus H1:Bl i 230 3.b. Draw a scatter plot with two regression lines for male and female group. Discuss whether adding the interaction effect to the regression model is reasonable based on the intercepts and slopes of the two lines. (15pts) 3.c. Consider the indicator variable X 2 for groups and constitute the multiple linear regression model between Y and X1 , X2 and the interaction effect between the explanatory variables. Write the corresponding regression model and provide the software output for this model. Is the interaction signicant? (15pts)

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

From Calculus To Analysis

Authors: Steen Pedersen

1st Edition

3319136410, 9783319136417

More Books

Students also viewed these Mathematics questions

Question

Describe Humes general approach to the problem of causality.

Answered: 1 week ago