Skip to main content

Data & Intelligence

Understanding the SPSS Crosstabs Procedure

The SPSS Statistics Crosstabs procedure forms two-way and multi-way tables (and provides a variety of tests and measures of association for the two-way tables). The structure of the table and whether categories are ordered determine what test or measure to use.

Crosstabs’ statistics and measures of association are computed for two-way tables only.

If you specify:

  • a row,
  • a column, and
  • a layer factor (control variable),

The Crosstabs procedure forms one panel of associated statistics and measures for each value of the layer factor.

Here is a simple Example

If gender is a layer factor for a table of married (yes, no) against life (is life happy, sad or dull), the results for a two-way table for the females are computed separately from those for the males and printed as panels following one another.

The cross tabulation table is the basic technique for examining the relationship between two categorical variables. In the above example, the question might be “what bearing does gender have on how married life is perceived?”

Our example data is defined with only 3 variables:

  • Gender (1 = male, 2 = female)
  • Married (1 = yes, 2 = no)
  • Happy (1 = happy, 2 = sad or 3 = bored)

 

Now, to run a quick crosstab on this data pool, from the Data Viewer menu, you choose Analyze > Descriptive Statistics > Crosstabs…

On the “Crosstabs” dialog I select “Gender” as my layer factor and “Married” and “Happy” as columns for my table. For this simple exercise I just click “OK”.

These selections generate a “Case Processing Summary Table” and a “Layer Factor Count” and, as I’d hoped a “Gender Happy” cross tabulation:

Based upon my very small data pool it would appear that most married male respondents are “Bored” while most married female respondents are “Happy”.

“Dare to wear the foolish clown face.” – Frank Sinatra

 

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Jim Miller

Mr. Miller is an IBM certified and accomplished Senior Project Leader and Application/System Architect-Developer with over 30 years of extensive applications and system design and development experience. His current role is National FPM Practice Leader. His experience includes BI, Web architecture & design, systems analysis, GUI design and testing, Database modeling and systems analysis, design, and development of Client/Server, Web and Mainframe applications and systems utilizing: Applix TM1 (including TM1 rules, TI, TM1Web and Planning Manager), dynaSight - ArcPlan, ASP, DHTML, XML, IIS, MS Visual Basic and VBA, Visual Studio, PERL, Websuite, MS SQL Server, ORACLE, SYBASE SQL Server, etc. His Responsibilities have included all aspects of Windows and SQL solution development and design including: analysis; GUI (and Web site) design; data modeling; table, screen/form and script development; SQL (and remote stored procedures and triggers) development and testing; test preparation and management and training of programming staff. Other experience includes development of ETL infrastructure such as data transfer automation between mainframe (DB2, Lawson, Great Plains, etc.) systems and client/server SQL server and Web based applications and integration of enterprise applications and data sources. In addition, Mr. Miller has acted as Internet Applications Development Manager responsible for the design, development, QA and delivery of multiple Web Sites including online trading applications, warehouse process control and scheduling systems and administrative and control applications. Mr. Miller also was responsible for the design, development and administration of a Web based financial reporting system for a 450 million dollar organization, reporting directly to the CFO and his executive team. Mr. Miller has also been responsible for managing and directing multiple resources in various management roles including project and team leader, lead developer and applications development director. Specialties Include: Cognos/TM1 Design and Development, Cognos Planning, IBM SPSS and Modeler, OLAP, Visual Basic, SQL Server, Forecasting and Planning; International Application Development, Business Intelligence, Project Development. IBM Certified Developer - Cognos TM1 (perfect score 100% on exam) IBM Certified Business Analyst - Cognos TM1

More from this Author

Follow Us