How to calculate "Mode" in SPSS

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Bhalli
Posts: 3
Joined: Tue Jan 17, 2012 8:47 am

How to calculate "Mode" in SPSS

Postby Bhalli » Wed Jan 18, 2012 8:51 am

Hi,
I am new to SPSS. I am facing a problem while computing a new variable. I want to compute a new variable “mode” having most repeated value among 7 variables (a,b,c,d,e,f,g). I am using PASW 18. I don’t get what function to apply using syntax for calculating most repeated value “Mode”.

Help much appreciated….
statman
Administrator
Posts: 2722
Joined: Tue Jun 12, 2007 12:08 pm
Location: Florida, USA

Re: How to calculate "Mode" in SPSS

Postby statman » Wed Jan 18, 2012 1:51 pm

SPSS Version would help
See the note below

NOTE: Please read the Posting Guidelines and always tell us your OS, the SPSS version and information about your study and data!

Statman
Statistical Services
Analyst Techy
Moderator
Posts: 22
Joined: Mon Apr 27, 2009 2:19 am
Location: Melbourne, Australia

Re: How to calculate "Mode" in SPSS

Postby Analyst Techy » Wed Jan 18, 2012 11:39 pm

Hi Bhalli.

Using the SPSS menu toolbar:
Analyze>Descriptive Stats>Frequencies>Stats>Central Tendency>Tick the mode box.
Analyst Techy

NOTES:
Any solutions I provide on this forum are free of charge, donations go towards the maintenance of the unaffiliated SPSS forum.
Bhalli
Posts: 3
Joined: Tue Jan 17, 2012 8:47 am

Re: How to calculate "Mode" in SPSS

Postby Bhalli » Thu Jan 19, 2012 5:33 am

Hi Analyst Techy,

Thank you for informative reply. I am afraid I could not make me clear on my problem.
May it make clearer on my problem.

ID a b c d e f g Mode
1 1 2 2 1 1 1 2 mode from "a" to "g"
2 2 2 2 2 2 2 2 mode from "a" to "g"
3 1 4 3 1 1 1 1 mode from "a" to "g"
4 2 3 2 2 2 2 2 mode from "a" to "g"
5 3 4 1 2 1 1 1 mode from "a" to "g"
6 2 1 2 1 1 1 3 mode from "a" to "g"

Mode is my new variable having mode from variables “a” to “g”.

Thanks for your patience.

Abid

Who is online

Users browsing this forum: No registered users and 1 guest

cron