BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hello everybody,

my task is to check wheather residuals distribution in my model have normal distribution. In order to do that I want to do Jargue Ber test, which checks such thing. I want to use model procedure, and thought it is very simple and it should be, but when I tried to do that, it didn't work. I've created some code versions, but none of these work:

proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normal
run;

proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normal;
run;

proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normaltest
run;


proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normaltest;
run;


proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normal(mu=0, sigma=1)
run;


proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normal(mu=0, sigma=1)
run;

proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normaltest(mu=0, sigma=1)
run;


proc model data=sasuser.piotr;

var pkb doch_bp I E wyd_bp /normaltest(mu=0, sigma=1);
run;



PLEASE HELP ME!!!!!!!1 I HAVE SPENT TWO DAYS THINKING AND COMBINING HOW TO DO IT, BUT I DIDN'T MANAGE TO:(

I will be very, very greatful,

Best wishes

Peter
1 REPLY 1
LAP
Quartz | Level 8 LAP
Quartz | Level 8
This is really not my area of expertise, but I don't believe that you are using the correct procedure for this.

The primary use of Proc model is the estimation, forecasting of a series of nonlinear simultaneous equations. I don't believe that simply coding the var statement works without specifing models. Additionally, the syntax on your var statement is incorrect for this producedure and I would refer you to the online documentation for ETS (where proc model resides)

I also did a search for the Jargue Bera test and found no hits in the documentation

Sorry I'm not much more help

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

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

Browse our catalog!

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