On Thu, Mar 06, 2014 at 09:21:05AM +0100, Elvira Torondel Lopez wrote: Hi there I'm stuck, I want to make a simple table like the one I attach in this e-mail, I know the command to do that has some brackets but I don't know where. Could you please help me? Thank you. CROSSTABS /TABLES= age BY origin BY sex
Here is one way to do something similar to what you describe: (I've included some fake data for the purposes of the example). data list list /origin * sex * age *. begin data. 1 1 20 1 0 23 0 1 24 1 1 34 0 0 45 1 0 10 1 0 12 end data. add value label origin 1 'native' 0 'foreign'. add value label sex 1 'female' 0 'male'. crosstabs age by origin by sex. -- PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature
_______________________________________________ Pspp-users mailing list Pspp-users@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-users