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

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

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
  • 588 views
  • 0 likes
  • 2 in conversation