+ Reply to Thread
Results 1 to 6 of 6

Thread: How to compute a range in SPSS??

  1. #1
    Points: 4,827, Level: 44
    Level completed: 39%, Points required for next Level: 123

    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to compute a range in SPSS??




    Hi,

    Does anybody know how to compute the range between the lowest and highest variable in SPSS?

    Say for example, I have consumer ratings on 10 variables.
    Consumer 1 ratings
    Variable 1 rating = -.999
    Variable 2 rating = .999
    Variable 3 rating = -.444
    Variable 4 rating = .234
    etc.

    The range between the lowest and highest variable for this consumer is .999-(-.999) = 1.998

    But for the second consumer, the highest and lowest rating might be present with variable 2 and 3, get my gist?

    In one formula, I should be able to compute the range between the highest and the lowest of the 10 variables for each consumer. I just don't know how to, and it would be of great help if anybody could assist me with this.

    Thanks alot!

  2. #2
    Points: 6,084, Level: 50
    Level completed: 67%, Points required for next Level: 66

    Posts
    199
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello
    yes you can via this way :
    analyze\descriptive frequency \frequency : then click on :
    statistics menu \dispersion then click on range

  3. #3
    Points: 4,827, Level: 44
    Level completed: 39%, Points required for next Level: 123

    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks Elnaz,

    But I think what you get then, is just a range per person per variable. so that if for variable 1 the number is 0,499, the range for this person on this variable will be 0,499.

    But what I would really like to know, is how to compute the range (difference) between the highest and the lowest of the 10 variables for every respondent separately. I should be able to do this with one 'compute' command, but simply don't know how...anyone else any suggestions?

    Thanks again!
    Last edited by Pieterg; 09-19-2006 at 06:08 AM.

  4. #4
    Points: 4,827, Level: 44
    Level completed: 39%, Points required for next Level: 123

    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hey Guys,

    I figured out how to do it my-self!

    All you have to do is go to Compute in SPSS and type in the following formula:

    max(var1,var2,var3...) - min(var1,var2,var3...).

    Thanks anyway for trying to help me figure this one out!

  5. #5
    Points: 6,084, Level: 50
    Level completed: 67%, Points required for next Level: 66

    Posts
    199
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hello again
    why didnt you do what i said you?
    and why did you delete your data ?
    please attach them i will do that for you
    and you will see their answers are the same

  6. #6
    Points: 4,827, Level: 44
    Level completed: 39%, Points required for next Level: 123

    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hey Elnaz,

    I'm sorry for having deleted the spss file, here it is again. I appreciate your help! thanks.
    Attached Files

+ Reply to Thread

           




Similar Threads

  1. How to compute for sample mean if
    By dEconomist in forum Statistics
    Replies: 2
    Last Post: 03-31-2011, 11:01 AM
  2. compute variable
    By Daeronb in forum SPSS
    Replies: 1
    Last Post: 04-13-2010, 07:00 PM
  3. Replies: 7
    Last Post: 03-11-2010, 02:02 PM
  4. How to compute significance here? (And why?)
    By marcC in forum Statistical Research
    Replies: 0
    Last Post: 07-28-2009, 06:02 AM
  5. Duncan's multiple range test in SPSS
    By srp123au in forum SPSS
    Replies: 1
    Last Post: 10-12-2008, 01:58 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts






Advertise on Talk Stats