BookmarkSubscribeRSS Feed
Tommac72584
Fluorite | Level 6

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:

  • Consider the overall general Model X9 = X1 X2 X3 X4 X5 X6 X7
  • Perform a Correlation Analysis
  • Fit and Analyze the best single independent (simple) regression analysis
  • Perform a Stepwise Regression Analysis to select the best subset model using Alpha = 0.05
  • Perform a Full Model (Confirmatory) Regression Analysis using Alpha = 0.05
  • Using the best subset from the Stepwise Regression Analysis now include variable X8 (Firm Size) and analyze its effect and the new resultant model
  • Analyze and Discuss the Multiple Regression Analysis Assumptions, e.g., Linearity, Normality, Homoscedasticity, and Independence using Residual and other Graphical/Statistical measures and tests for all Model Analyses
  • Similarly Analyze and Discuss any Influential observations with recommendations, as well as the Model’s Multicollinearity.

 

 

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)

3 REPLIES 3
RussAlbright
SAS Employee

This is not the right forum for this question. You should try a more appropriate forum.


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

Tommac72584
Fluorite | Level 6
Which forum should I try? Data Management?
RussAlbright
SAS Employee

Under Analytics there is SAS Statistical Procedures.


Register today and join us virtually on June 16!
sasglobalforum.com | #SASGF

View now: on-demand content for SAS users

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 2428 views
  • 0 likes
  • 2 in conversation