Creating APA Style Contingency Tables in SPSS

Running simple contingency tables in SPSS is easy enough. However, the default format is inconvenient and doesn’t meet APA standards. This tutorial walks you through 3 options for creating the desired tables: CROSSTABS is easy but requires some (manual) editing. CTABLES is faster but a bit harder and requires a custom tables license. TABLES is fast but rather challenging. We’ll […]

Creating APA Style Frequency Tables in SPSS

The most basic table in statistics is probably a simple frequency distribution. Sadly, basic frequency tables from SPSS are monstrous. On top of that, they don’t meet APA recommendations. So how to create better frequency tables -preferably fast? This tutorial shows a cool trick for doing just that! We’ll use bank_clean.sav throughout, part of which is shown below. Why […]

HTML <colgroup> span Attribute

Example Set the background color of the first two columns using the <colgroup> span attribute: <table> <colgroup span=”2″ style=”background:red”></colgroup> <tr> <th>ISBN</th> <th>Title</th> <th>Price</th> </tr> <tr> <td>3476896</td> <td>My first HTML</td> <td>$53</td> </tr> <tr> <td>5869207</td> <td>My first CSS</td> <td>$49</td> </tr> </table> Try it Yourself » Definition and Usage The span attribute defines the number of columns a <colgroup> element […]

HTML <col> width Attribute

Example Two <col> elements with a predefined width: <table> <col width=”130″> <col width=”80″> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$80</td> </tr> </table> Try it Yourself » Definition and Usage The width attribute specifies the width of a <col> element. Normally, a <col> element takes up the space it needs to display the content. […]

SPSS Table Templates

Summary SPSS table templates are files that tell SPSS how to style one, many or all tables that appear in the output viewer window. Some examples of such styling are the colors and sizes of fonts and borders. The figure below shows a DESCRIPTIVES table with and without a table template applied to it. Just like SPSS data […]

Creating Tables in SPSS

Tables with statistics (means, sums and many more) for metric variables are easily created with DESCRIPTIVES. For reporting such descriptives for groups of cases separately, try MEANS. Frequency distributions and statistics (median, percentiles and more) for categorical variables are generated with FREQUENCIES. Frequencies or percentages for combinations of two or more categorical variables are created with CROSSTABS, which can also run chi-square tests. […]

SPSS Set Decimals Output Tables

SPSS doesn’t offer an easy way to set decimal places for output tables. This tutorial proposes a very simple tool for setting decimal places in basic output tables after they’ve been produced. It works best for simple tables such as DESCRIPTIVES, MEANS or CROSSTABS. Setting Decimal Places for Output Tables First, make sure that the SPSS Python Essentials are installed and […]

SPSS CROSSTABS Command

SPSS CROSSTABS produces contingency tables: frequencies for one variable for each value of another variable separately. If assumptions are met, a chi-square test may follow to test whether an association between the variables is statistically significant. This tutorial, however, aims at quickly walking through the main options for CROSSTABS. We’ll use freelancers.sav throughout this tutorial as a test data […]