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
http://support.sas.com/kb/30/333.html
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;
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.
Hi Paige,
is there a way to do this university edition? I just found that this proc isnt available in this edition..
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.
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.
Ready to level-up your skills? Choose your own adventure.