Re: Data transformation in the Mac environment

2014-03-07 Thread dr soumalya ray
> On Saturday, 8 March 2014 11:08 AM, Mark Levine wrote: > > Hi Som, > Thanks for pointing me to this antidote to my ignorance. > > Cheers, > > Mark > glad that it works. we all learn something new everyday; eg this code provided by john about creating new variable - COMPUTE newvar = (V

Re: Data transformation in the Mac environment

2014-03-07 Thread Mark Levine
Hi Som, BRILLIANT!!! Thank you, thank you. I hadn’t realized where file -> New -> Syntax would take me, right to the ability to enter commands. That’s exactly what I needed, opens up all the goodies that are discussed in the documentation. I must admit that I have scanned the manual many time

Re: Data transformation in the Mac environment

2014-03-07 Thread dr soumalya ray
hi Mark, >On Mar 7, 2014, at 2:05 AM, John Darrington >wrote: >There are a number of ways this could be achieved (for example you could use  >RECODE ... INTO ) but in my opinion, the simplest way is: > >COMPUTE newvar = (VARX = 1) AND (VARY=1). >> There is no option as far as I have found to e

Re: Data transformation in the Mac environment

2014-03-07 Thread ftr
On 07/03/2014 08:05, John Darrington wrote: On Thu, Mar 06, 2014 at 09:19:09PM -0500, Mark Levine wrote: I have had no problem with individual variable recoding. I would, however, like to do a variable transformation of the form (If VARX = 1 and VARY =1, then let NEWVAR = 1), i.e. a simp

Re: Data transformation in the Mac environment

2014-03-06 Thread John Darrington
On Thu, Mar 06, 2014 at 09:19:09PM -0500, Mark Levine wrote: I have had no problem with individual variable recoding. I would, however, like to do a variable transformation of the form (If VARX = 1 and VARY =1, then let NEWVAR = 1), i.e. a simple boolean expression. There are a numb