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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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