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

NOTE- Need help with problem 4 Do NOT use R for problems 1-4: 1) You compare the

ID: 3312780 • Letter: N

Question

NOTE- Need help with problem 4

Do NOT use R for problems 1-4: 1) You compare the height and weight of 5 adult women. You get the following results: height 60 67 62 68 65 weight 20 143 3 147 136 (a) Construct a scatter plot of height (x) vs. weight ) (b) Calculate the ollowing (show your work for SS) SS. SS,SSp X (c) Calculate the correlation coefficient (r) 2) Use the information from problem 1. Perform a complete test of the hypothesis that the population correlation coefficient() is 0. Show all steps (note-obviously this should be a one sided test 3) Now let's assume you wanted to predict weights from heights. In other words, now let's use the same data and do a regression instead. (a) Calculate bo and bi (b) Carefully (don't just "sketch" draw your least square regression line on the plot you made in l(a). 4) (a) Now do a significance test of HOA-0. Show all your calculations (including your residual calculations). Again, note that this should be a one sided test. (b) Compare yourfrom 4(a) with yourfrom problem 2. Are they the same? This is not a coincidence, although once you do more complicated analyses, you can't rely on this "equivalence".

Explanation / Answer

4)

H0=1=0

H1= 1>0 or 1<0

lets test the hypothesis at 95% confidence level


as p valueis greater than alpha value we will reject the null hypothesis that 1 is equal to zero. thus 1 is statistically significant.

b)in problem 2 we calculate the correlation coefficient betweeen the two variable that the two variable are related but in regression we find out the causaion effect i.e. whether increse in height causes increase in weight. even if these two are same they dont mean the same. dependency of one variable on another is shown in regression and hypothesis testing

height weight 60 120 67 143 62 131 68 147 65 136