On Tue, Jan 27, 2015 at 09:06:41AM +0000, Mark Gale wrote:
> I am trying to do some analysis of the British Labour Force Survey and
> need to create a derived variable (NETDV- which will be a binary, yes,
> no variable) according to values of other variables (including, AGES=3
> or 4; APPRCUR= 1 etc). I hope to then have a variable where either all
> these characteristics are met or not and use that to create crosstabs
> to show a breakdown by for example region, gender.

That's easy.  For example, to create a binary variable B with value 1 if
AGE is 3 or 4 and 0 otherwise:

     compute b=age = 3 or age = 4.

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

Reply via email to