DATA Step, Macro, Functions and more

Max diff

Reply
Contributor
Posts: 45

Max diff

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 !

Respected Advisor
Posts: 4,646

Re: Max diff

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

PG
Super User
Posts: 17,824

Re: Max diff

What is the max diff?

Super User
Posts: 10,500

Re: Max diff

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.

Contributor
Posts: 45

Re: Max diff

Super User
Super User
Posts: 7,401

Re: Max diff

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

Ask a Question
Discussion stats
  • 5 replies
  • 369 views
  • 1 like
  • 5 in conversation