Help using Base SAS procedures

Simple Normality Test

Reply
N/A
Posts: 0

Simple Normality Test

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 TOSmiley Sad

I will be very, very greatful,

Best wishes

Peter
Frequent Contributor
Frequent Contributor
Posts: 76

Re: Simple Normality Test

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
Ask a Question
Discussion stats
  • 1 reply
  • 101 views
  • 0 likes
  • 2 in conversation