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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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
  • 5 replies
  • 1103 views
  • 0 likes
  • 2 in conversation