Changing Table labels in SPSS 15.0

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Changing Table labels in SPSS 15.0

Tim Main
Hi all,

I work with lots of Frequencies and Crosstabs tables in SPSS. For every
table I have to manually change the label that appears from "Crosstabs" to
the name of the state the table represents (e.g. Alaska).

Is there any way that SPSS can automatically change the labels for my tables
if I write it into the syntax? I would appreciate any suggestions, as I've
been wasting a lot of time changing all the labels by hand!

Thanks!

--Tim

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

AW: Changing Table labels in SPSS 15.0

la volta statistics
Hi Tim

I am not sure if I understand what you want. If you just want to have the
variable labels appearing in your cross tabulation, it is simple. Just use
the var label command as in the example below.

DATA LIST LIST /V1 V2.
BEGIN DATA
1 1
2 3
3 2
4 4
5 6
6 5
END DATA.

Var Label V1 'Alaska'.
Var Label V2 'Ohio'.


CROSSTABS
  /TABLES=V1  BY V2
  /FORMAT= AVALUE TABLES
  /CELLS= COUNT
  /COUNT ROUND CELL .

However, if you want to change the title of the resulting table, I could
send you a script, that could be invoked by syntax to achieve such a task.

Christian


-----Ursprüngliche Nachricht-----
Von: SPSSX(r) Discussion [mailto:[hidden email]]Im Auftrag von
Tim Main
Gesendet: Donnerstag, 14. Februar 2008 00:07
An: [hidden email]
Betreff: Changing Table labels in SPSS 15.0


Hi all,

I work with lots of Frequencies and Crosstabs tables in SPSS. For every
table I have to manually change the label that appears from "Crosstabs" to
the name of the state the table represents (e.g. Alaska).

Is there any way that SPSS can automatically change the labels for my tables
if I write it into the syntax? I would appreciate any suggestions, as I've
been wasting a lot of time changing all the labels by hand!

Thanks!

--Tim

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD
Reply | Threaded
Open this post in threaded view
|

Re: Changing Table labels in SPSS 15.0

Peck, Jon
In reply to this post by Tim Main
It sounds like there is a split file problem in here.  If you do
SORT CASES  BY state.
SPLIT FILE SEPARATE BY state.

Then your commands will produce a separate table for each state, and the title will be something like
State = Alaska.

HTH,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Tim Main
Sent: Wednesday, February 13, 2008 4:07 PM
To: [hidden email]
Subject: [SPSSX-L] Changing Table labels in SPSS 15.0

Hi all,

I work with lots of Frequencies and Crosstabs tables in SPSS. For every
table I have to manually change the label that appears from "Crosstabs" to
the name of the state the table represents (e.g. Alaska).

Is there any way that SPSS can automatically change the labels for my tables
if I write it into the syntax? I would appreciate any suggestions, as I've
been wasting a lot of time changing all the labels by hand!

Thanks!

--Tim

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD