CTABLES

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

CTABLES

Ron0z

I’m using v22. I have to admit to being old school and prefer to work with syntax, writing command files, and I wish to continue that.

 

I have been using the dialogue boxes to build a table: Analyze > Tables > Custom Tables.  With the table prepared in this way I copy the code to my command file so that it is ready to use next time I run the script.  This works fine.  The code is editable, of course.  But my question is this, is there a way of reversing the process so that I can import or paste the table syntax into the SPSS Custom Tables dialogue?

 

Thank you, Ron


CIT is the ACT Large Training Provider of the Year.
Subscribe to CIT Industry Connection - CIT's free, bi monthly publication:
http://cit.edu.au/industry_business/industry_connection/

-----------------------------------------------------------------------
This email, and any attachments, may be confidential and also privileged. If you are not the intended recipient, please notify the sender and delete all copies of this transmission along with any attachments immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person.
-----------------------------------------------------------------------

===================== 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: CTABLES

Jignesh Sutar
Not that I am aware of. I would expect something like that to be very complicated as syntax can have many short hand abberviations, to then translate that from syntax form to GUI would be complicated.

I don't think you really want to do this anyway. CTABLES syntax is actually more intuitive that the GUI itself than you might think. I think it's just a case of learning directly the CTABLES syntax than feeling that GUI is the only/best way to specify required tables, because it is not.


In the same session of SPSS GUI typically remember what was last entered and that is presenved when you next visit that GUI.
Reply | Threaded
Open this post in threaded view
|

Re: CTABLES

David Marso
Administrator
In reply to this post by Ron0z
A categorical definite NO to that or any other commands for that matter.
-----
Ron0z wrote
I'm using v22. I have to admit to being old school and prefer to work with syntax, writing command files, and I wish to continue that.

I have been using the dialogue boxes to build a table: Analyze > Tables > Custom Tables.  With the table prepared in this way I copy the code to my command file so that it is ready to use next time I run the script.  This works fine.  The code is editable, of course.  But my question is this, is there a way of reversing the process so that I can import or paste the table syntax into the SPSS Custom Tables dialogue?

Thank you, Ron


CIT is the ACT Large Training Provider of the Year.
Subscribe to CIT Industry Connection - CIT's free, bi monthly publication:
http://cit.edu.au/industry_business/industry_connection/

-----------------------------------------------------------------------
This email, and any attachments, may be confidential and also privileged. If you are not the intended recipient, please notify the sender and delete all copies of this transmission along with any attachments immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person.
-----------------------------------------------------------------------

=====================
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
Please reply to the list and not to my personal email.
Those desiring my consulting or training services please feel free to email me.
---
"Nolite dare sanctum canibus neque mittatis margaritas vestras ante porcos ne forte conculcent eas pedibus suis."
Cum es damnatorum possederunt porcos iens ut salire off sanguinum cliff in abyssum?"
Reply | Threaded
Open this post in threaded view
|

Re: CTABLES

Jon K Peck
In reply to this post by Ron0z
It would be great to be able to reverse syntax into the gui, but as others have said, this is not possible for a variety of reasons.  However, I want to point out that the syntax generated by the Custom Tables gui, while correct, is often not the most parsimonious possible and may be harder to read than something more direct.  The most common example of this is when you want to have the same set of statistics for several variables.  The gui might generate something like this.

  /TABLE jobcat BY jobtime [MEAN, MEDIAN, MODE] + salary [MEAN, MEDIAN, MODE] + salbegin [MEAN,
    MEDIAN, MODE]
but the statistics can be factored out, so a more parsimonious version would be
/TABLE jobcat BY (jobtime + salary + salbegin) [MEAN, MEDIAN, MODE]


Jon Peck (no "h") aka Kim
Senior Software Engineer, IBM
[hidden email]
phone: 720-342-5621




From:        "Crichton, Ronald" <[hidden email]>
To:        [hidden email]
Date:        10/20/2015 10:12 PM
Subject:        [SPSSX-L] CTABLES
Sent by:        "SPSSX(r) Discussion" <[hidden email]>




I’m using v22. I have to admit to being old school and prefer to work with syntax, writing command files, and I wish to continue that.
 
I have been using the dialogue boxes to build a table: Analyze > Tables > Custom Tables.  With the table prepared in this way I copy the code to my command file so that it is ready to use next time I run the script.  This works fine.  The code is editable, of course.  But my question is this, is there a way of reversing the process so that I can import or paste the table syntax into the SPSS Custom Tables dialogue?
 
Thank you, Ron

CIT is the ACT Large Training Provider of the Year.
Subscribe to CIT Industry Connection - CIT's free, bi monthly publication:
http://cit.edu.au/industry_business/industry_connection/

-----------------------------------------------------------------------
This email, and any attachments, may be confidential and also privileged. If you are not the intended recipient, please notify the sender and delete all copies of this transmission along with any attachments immediately. You should not copy or use it for any purpose, nor disclose its contents to any other person.
-----------------------------------------------------------------------

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@...(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