bug-gnu-pspp
[Top][All Lists]
Advanced

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

PSPP-BUG: Fwd: COMPUTE IF


From: rushdale
Subject: PSPP-BUG: Fwd: COMPUTE IF
Date: Sun, 27 Feb 2011 13:44:38 +0000


I found this discussion from 2009 and wonder if you have an answer - I downloaded PSPP 0.7.5-g70514b

I am also struggling to achieve what the function if in SPSS does, I have no programing knowledge so I find difficult to use scripts etc
I wonder if there is another way for it; can you help?
 
IF it is a function by which you can create a new variable based in one variable taking in the values of a second variable (this usually is part of Compute)
 
I want to create a variable Risk = 1 when variable X is >=10,000 IF variable Z is 1 or >=100,000 IF variable Z is 0
Risk = 0 whe variable X is <10000 IF variable Z is 1 or <100,000 IF variable Z is 0

hope its clear

Alicia




reply via email to

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