BookmarkSubscribeRSS Feed
alzadid11
Calcite | Level 5
I wrote this SAS code to get a breusch pagan test. But the breusch pagan value is blank. Why?
 
FILENAME REFFILE '/home/u63739286/exam1.xls';

PROC IMPORT DATAFILE=REFFILE
DBMS=XLS
OUT=WORK.exam1;
GETNAMES=YES;
RUN;

PROC CONTENTS DATA=WORK.exam1; RUN;

proc reg data=exam1;
model Calories= weight height Protein Carbohydrates Calcium gender;
run;

proc gplot data=exam1;
plot Calories*Carbohydrates;
run;

proc model data=exam1;
parms b0 b4;
Calories = b0 + b4*Carbohydrates;
fit Calories/white breusch=(1 diameter);
run;


1 REPLY 1
ballardw
Super User

You should show the LOG, quite often there are notes, warnings and even errors that would say why.

 

Copy the text from your LOG, on the forum open a text box using the </> icon above the message window and paste the text. The text box preserves formatting from the log where the main message windows on this forum will reformat text moving diagnostic characters that SAS often provides and reducing usability of the log text.

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

Register now

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 873 views
  • 0 likes
  • 2 in conversation