pspp-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Procedure for collapsing a continuous variable into groups


From: news
Subject: Re: Procedure for collapsing a continuous variable into groups
Date: Sat, 13 Dec 2014 22:05:08 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0

Günter,

Use recode and beware of missings.
Alan provided the code that visual binning produces.
I use a more conservative recode:
if hight has missings declared as 9 and height varies between 140 and 200:

Freq height /* to get the minimum and the max.
recode height (140 thru 150=1) (151 thru 180=2) (181 thru 200=3)(else=-9) into height_group.
miss val height_group (-9).
Setting missing to -9 is an well-seasoned method to recognize means etc. which took the missing as a valid value.

- ftr

On 13/12/2014 18:47, Alan Mead wrote:
Guenter,

I have never used visual binning, but I think you want to do something
like this:

* assume height is in cm.
recode height (lo thru 150=1) (151 thru 180=2) (181 thru hi=3) into
height_group.
execute.

-Alan

On 12/13/2014 10:52 AM, G�nter Nimmerfall wrote:
Hello, I'm really new in using PSPP and for that reason I want to
excuse myself if some of my questions seem to be stupid.
I want to show my students how they could collapse height-variables
into groups. I know how to do this in SPSS by using "Visual Binning"
in "Transformation" but I would like to show them to do most data
analysis in PSPP. Is there a tool in PSPP too?

Kind regards,
Guenter


_______________________________________________
Pspp-users mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/pspp-users

--

Alan D. Mead, Ph.D.
President, Talent Algorithms Inc.

science + technology = better workers

+815.588.3846 (Office)
+267.334.4143 (Mobile)

http://www.alanmead.org

Announcing the Journal of Computerized Adaptive Testing (JCAT), a
peer-reviewed electronic journal designed to advance the science and
practice of computerized adaptive testing:http://www.iacat.org/jcat



_______________________________________________
Pspp-users mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/pspp-users




reply via email to

[Prev in Thread] Current Thread [Next in Thread]