| Date: | Wed, 22 Feb 2012 10:12:49 +0100 |
| Reply-To: | John F Hall <johnfhall@orange.fr> |
| Sender: | "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU> |
| From: | John F Hall <johnfhall@orange.fr> |
| Subject: | Re: Counting |
|
| In-Reply-To: | <67E5C383A5A84B49B5DB6E1685997C422A44C744@SRV-EXMB-001.phbern.local> |
| Content-Type: | multipart/alternative;
|
|---|
Tom
Marcia used the GUI: I always use syntax, so substitute your own varname(s)
and value in:
count <newvar> = <varlist> (<value>) .
There are some examples on
http://surveyresearch.weebly.com/-35-derived-variables-count-and-compute.htm
l on my website.
John Hall (Mr)
Email: johnfhall@orange.fr
Website: www.surveyresearch.weebly.com <http://surveyresearch.weebly.com/>
Skype: surveyresearcher1
Phone: (+33) (0) 2.33.45.91.47
From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of
Balmer, Thomas
Sent: 22 February 2012 09:27
To: SPSSX-L@LISTSERV.UGA.EDU
Subject: Counting
Hi
I'd like to count, how many times a certain value appears in a range of
variables and write this number (the amount of the appearance of the value)
in a new variable.
I couldn't find any function in the menu - perhaps it can be done by the
syntax?
Thanks for hints !
Tom
[text/html]
|