SAS Procedures

Help using Base SAS procedures
BookmarkSubscribeRSS Feed
Luke01
Fluorite | Level 6

Hi community,

 

I'm struggling to find the best way to calculate the Reduced major axis regression between two variables.

 

Is there a proc command for this?

 

thanks in advance

5 REPLIES 5
Luke01
Fluorite | Level 6

im new to stats and SAS (student) so would you mind elaborating on what the values should be and what should remain unchanged in the formula?

 

eg is y for y axis variable? what needs to be subbed into b1 or abs (if anything)? etc

 

 

  proc nlp;
      min area;
      parms b1=1, b0=1;
      area=(y - (b0 + b1*x))**2 / abs(b1);
      run;

 

PaigeMiller
Diamond | Level 26

Y is the name of your response variable.

X is the name of your predictor variable.

 

If the SAS data set that contains your data has different variable names, then you substitute the actual variable names in place of X and Y.

--
Paige Miller
Luke01
Fluorite | Level 6

Hi Paige,

 

is there a way to do this university edition? I just found that this proc isnt available in this edition..

PaigeMiller
Diamond | Level 26

@Luke01 wrote:

 

is there a way to do this university edition?


Probably not.

--
Paige Miller

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 5 replies
  • 1940 views
  • 0 likes
  • 2 in conversation