DOM HTMLCollection

An HTMLCollection object is an array-like list of HTML elements. Methods like the getElementsByTagName() returns an HTMLCollection. Properties and Methods The following properties and methods can be used on a HTMLCollection object: Property / Method Description item() Returns the element at the specified index in an HTMLCollection length Returns the number of elements in an […]

Include Empty Categories in Output

Question “I have some empty categories in my data. For example, none of my respondents filled out “politician” as their job. Therefore, “politician” is completely absent from crosstabs. How can I include it with a zero frequency?” How to include an empty category in a crosstab? Solution The basic solution here is to add one […]

Customizing SPSS

One of the many things we love about SPSS is how easily it’s customized and extended with powerful new features. For instance, creating your own toolbar is utterly simple and may save a lot of time and effort. With SPSS version 18, SPSS Extension Bundles were introduced: create completely new SPSS commands, build a menu dialog for them and easily share your […]

SPSS Toolbar Tool Building

Summary A previous tutorial covered assembling your own toolbar. This will become even more interesting if you add your own toolbar tools to it. This tutorial quickly walks you through and suggests some best practices. 1. Create a Folder with Syntax and Images Setting Up your SPSS Toolbar Tools Like so may Speed Things Up […]

SPSS Toolbar Building

Summary Toolbars can be very useful in SPSS. They allow users to do a lot of stuff with a single mouse click. However, some users may feel there’s some limitations to their default configuration. An ideal way to get around these is to assemble your own toolbar. Some limitations of standard toolbars Most users will […]