Question: Problem # 7 : For this problem and Problem # 8 below you are going to use a personalized databank data set. To create this

Problem #7: For this problem and Problem #8 below you are going to use a personalized databank data set. To create this dataset and import it into R, do the following:1. Your personalized databank data set is here. Click on the preceding link and save the file as a text file. The name of the text file should be of the form MacID_databank.txt. where 'MacID' is your MacID.2. By following the instructions in the introductory lab, Import the the data into R into an object called databank23. Verify (using sum command) that the sum of the age column is equal to 2993, the sum of the weight column is equal to 11933, and the sum of the IQ column is equal to 8841.(a)Work through this example on R. When working through this example, you should be using the original databank.RData project that you created in Assignment #0.Now, using your personalized databank project sandhg28_databank.RData that you just created above, fit the regression model y =0+1x1+2x2 where x1= weight, x2= age, andy = systolic blood pressure (systolic). Then enter the values of the least squares estimates of 0,1, and 2 into the answer box, separated by commas.(b)Using your personalized databank project sandhg28_databank.RData that you just created above, find the p-value for the test to see if the variable x6= IQ can be added to the model which already contains x1= weight and x2= age. i.e., fit the model y =0+1x1+2x2+6x6 and find the p-value for testing the hypothesis H0:6=0 vs H1:60.(c)Should x6= IQ be included in the model which already containsx1= weight and x2= age? Use =0.1.

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 Programming Questions!