SAS Programming

DATA Step, Macro, Functions and more
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

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

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
  • 1995 views
  • 1 like
  • 5 in conversation