Re: do repeat
Posted by
Art Kendall on
URL: http://spssx-discussion.165.s1.nabble.com/do-repeat-tp5719707p5719722.html
OOPS! sysmis on right side of
assignment operator.
RECODE ALL (LO THRU 1.0 = COPY)
(ELSE -999 = ).
missing values all (-999).
Art Kendall
Social Research Consultants
On 4/25/2013 12:15 PM, Richard Ristow [via SPSSX Discussion]
wrote:
At 09:43 AM 4/25/2013, David Marso wrote:
>If the numbers are all positive then you can nuke the very
small fudge factor
>and remove the recode.
>If you have negative values then you will need to modify the
recode (I'm
>sure you can sort that).
>RECODE ALL (1.000001 THRU HI=SYSMIS).
I think a cleaner way to do this RECODE, sidestepping having to
choose a fudge factor, is
RECODE ALL (LO THRU 1.0 = COPY)
(ELSE = SYSMIS).
But actually, I think the dividing-by-zero problem is a strong
reason
to do the computation in a transformation program, rather than
MATRIX.
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email]
(not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Art Kendall
Social Research Consultants