I can sort the data by ascending or descending order but then it throws the value off of the correct observation #
What code can I run to give me an output of the largest absolute value difference from my resiudal from this regression output:
/* Part 3 Step 13 */
proc reg data=reg.Complete_Data;
model laf=BIGN CITY_SPEC restatement_issue MATWEAK LAT CATA OCF LOSS SALE SALE_GROWTH;
output out=reg.reg1 p=plaf r=resid;
run;
quit;
Hello,
As always there are multiple solutions to this, but why don't you use an ID statement?
The variables listed in the ID statement are displayed beside each observation. These variables can be used to identify each observation.
Koen
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
Still thinking about your presentation idea? The submission deadline has been extended to Friday, Nov. 14, at 11:59 p.m. ET.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.