pspp-dev
[Top][All Lists]
Advanced

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

Re: [patch #6270] RECODE dialog


From: Jason Stover
Subject: Re: [patch #6270] RECODE dialog
Date: Thu, 22 Nov 2007 23:25:24 -0500
User-agent: Mutt/1.5.10i

On Wed, Nov 21, 2007 at 05:33:04PM +0900, John Darrington wrote:
>      2. A bigger problem, though I'm not sure if it's RECODE or TRANSFORM or 
> some
>      gui problem: Make a variable v1 with 9 values: 4 'a' and 5 'x'. Make 
> another
>      numeric variable of alternating 1's and 2's. Use the dialog box to 
> recode v1
>      into a different variable (say) hooba: a --> 1 and x --> 0. Then recode 
> v2
>      into a new variable (say) barfo: 1.0 --> 8.0 and 2.0 --> 90.0. Then go to
>      Transform-->Compute, and make a new variable (say) biffo = hooba * 
> barfo. Hit
>      the 'OK' button and you will see a column of 0.0's, which is incorrect. 
>      
>      I also pasted the syntax, which looked fine: 
>      
>      COMPUTE biffo = hooba*barfo.
>      
> 
> The syntax generator for the COMPUTE dialog doesn't append an
> EXECUTE (perhaps it should).  So you'll have to click on
> Transform-->Run Pending Transformations to see the results.  To remind
> you of this, a "Transformations Pending" notice appears in the status
> bar.

I recommend adding the EXECUTE statement, unless there is a good reason
for not doing so. It's likely to confuse users.

-Jason







reply via email to

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