Format custom tables output

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Format custom tables output

Troy Payne-2
I'm making several custom tables and am new to the ctables command.

I have instances where I only care about row % for a certain category
of a column variable.  For example, I need to calculate the percent
of cases in my file that are coded 1 (yes) on a dummy variable.
Since it's a dummy, I have no need to report the percent that are
coded 0 (no).  The ctables command allows me to exclude values, but
only calculates percentages from the included variables.

The only solution I've come up with so far is to double-click the
output, select the 0 (no) column, and remove it.

How would I go about automating that process?  I know a little about
SPSS syntax, nothing of macros, nothing of SAX, and nothing of Python
- so I'm a little lost as to where to start.

Thanks,

Troy Payne