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
DBMS=tab
OUT=WORK.IMPORT;
GETNAMES=YES;
RUN;
PROC CONTENTS DATA=WORK.IMPORT; RUN;
Input ID X1 X2 X3 X4 X5 X6 X7 X8 X9 X10 X11 X12 X13 X14;
Data WORK.IMPORT;
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)
Some of that code is correct and some of its not. I assume you're getting errors?
I would suggest running it piece by piece and including comments on what you expect each section to do.
Then to answer your question start taking a look at either proc REG or GLM.
That's a big assignment! And a lot of questions!
I suggest that you start with your instructor, teaching assistant, and classmates. They can review topics that you covered in class or refer to relevant sections of the textbook, class notes, or lab instructions where these topics are described. Almost surely there is some example that you did in class or in a lab that is similar to the analyses that you are being asked to conduct here.
Some of that code is correct and some of its not. I assume you're getting errors?
I would suggest running it piece by piece and including comments on what you expect each section to do.
Then to answer your question start taking a look at either proc REG or GLM.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.