BookmarkSubscribeRSS Feed
clcl
Calcite | Level 5

HI,

can anyone give me any tips, help or codes for max diff?

i Want to help a friend and have never used it before.

Any help would be great !

5 REPLIES 5
PGStats
Opal | Level 21

Input and desired output dataset examples would help us a lot understand what you want.  -  PG

PG
Reeza
Super User

What is the max diff?

ballardw
Super User

Range might be what you're looking for if summarizing all values in a data set (or group of values). Range = maximum value - minimum non missing value.

proc means data=sashelp.class range max min;

class sex;

var height weight;

run;

Shows the range by sex of height and weight in the SAS supplied data set.

clcl
Calcite | Level 5
RW9
Diamond | Level 26 RW9
Diamond | Level 26

Hi,

Whilst I cannot help you directly with your problem I can point you towards Google search which whilst attempting to conquer the world, also provides a natty search functionality:

http://support.sas.com/techsup/technote/mr2010mktmdiff.pdf

SAS Technical Support Documents--Marketing Research

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

How to Concatenate Values

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 5 replies
  • 2188 views
  • 1 like
  • 5 in conversation