| Date: | Fri, 23 Feb 2007 18:55:01 +1100 |
| Reply-To: | Simon Freidin <simonpf@unimelb.edu.au> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | Simon Freidin <simonpf@unimelb.edu.au> |
| Subject: | Re: Mode Using Aggregate Command |
|
| In-Reply-To: | <BAY22-F1F10D720077891C09BFD8B48E0@phx.gbl> |
| Content-Type: | text/plain; charset=US-ASCII; delsp=yes; format=flowed |
set printback=on.
get FILE="1991 U.S. General Social Survey.sav'.
compute nobreak=1.
oms /if command=["Frequencies"] subtypes=["Statistics"]
/ destination format=sav outfile="mode.sav" viewer=no.
freq vars=SPEDUC/format=notable/statistics=mode.
omsend.
save outfile="temp.sav".
get file="mode.sav".
sel if var1='Mode'.
rename vars (var4=SPEDMODE).
compute nobreak=1.
match file file=*/keep=nobreak spmode.
match file file="temp.sav"/table=*/by nobreak.
exe.
On 23/02/2007, at 5:58 PM, Ramzan Afzal wrote:
> Dear Members,
>
> I am trying to compute mode for the un-grouped data using Aggregate
> command in spss. Aggregate command in SPSS does not show any option
> for mode, although it shows mean, sd and other options. Is it
> possibly to compute mode using aggregate command?
>
> I shall be grateful for any help in this regard.
>
> Ramzan
>
> Express yourself instantly with MSN Messenger! MSN Messenger
> Download today it's FREE!
|