07-13-2016 01:29 PM
Hello I really need some help. Here are my assignment instructions.
Perform a Multiple Regression Analysis paralleling the HBAT analysis performed in the textbook and in class, but now use the HATCO dataset (see HATCO_X1-X14_Tabs data file).
Include the following analyses:
Here is what I've done so far for my code:
FILENAME REFFILE "/home/tmaciver7840/my_content/HATCO X1-X14.txt" TERMSTR=CR;
PROC IMPORT DATAFILE=REFFILE
PROC CONTENTS DATA=WORK.IMPORT; RUN;
Input ID X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14;
Set WORK.IMPORT (Keep = ID X1 X2 X3 X4 X5 X6 X7 X9);
Label ID = 'ID - Identification Number'
X1 = 'X1'
X2 = 'X2'
X3 = 'X3'
X4 = 'X4'
X5 = 'X5'
X6 = 'X6'
X7 = 'X7'
X8 = 'X8'
X9 = 'X9'
X10 = 'X10'
X11 = 'X11'
X12 = 'X12'
X13 = 'X13'
X14 = 'X14';
Proc Print Data = WORK.IMPORT;
* Correlation Matrix - All Variables;
Proc Corr Data = WORK.IMPORT;
Var X1 X2 X3 X4 X5 X6 X7 X9;
Plot NQQ.*R. NPP.*R.; * NQQ.*R and NPP.*R request specific separate
Normal Quantile and Normal Probability Plots;
How do I perform the rest of the regression analyses? I really appreciate any help! (Attached is the dataset)