# Testing for heteroscedasticity

I try to run white test in sas and it return this error message to me.

ERROR: There is no model program. Cannot perform requested tasks


What is the problem?

Following is the code I use:

proc model data=all;
fit y / white pagan=(1  x1 x2 x3)
out=resid1 outresid;
run;
quit;

-
 Do you have SAS/ETS installed? – chl♦ Dec 8 '11 at 7:43 I solved this problem by using proc reg with the optional parameter "spec". Thanks. – Benjamin Dec 8 '11 at 8:04 If you're happy with that solution (which is not the solution), put this as an answer and accept it to close this thread. – chl♦ Dec 9 '11 at 13:47