Using sequential case processing for data management in SPSS
SPSS when making calculations essentially loops through every variable sequentially. So although calculations in syntax are always vectorized (the exception being explicit loops in MATRIX commands),...
View ArticleInterval graph for viz. temporal overlap in crime events
I’ve currently made a vizualization intended to be an exploratory tool to identify overlapping criminal events over a short period. Code to reproduce the macro is here, and that includes an example...
View ArticleSome random SPSS graph tips: shading areas under curves and using dodging in...
This is just a quick post on some random graphing examples you can do with SPSS through inline GPL statements, but are not possible through the GUI dialog. These also take knowing alittle bit about the...
View ArticleUpdate for Aoristic Macro in SPSS
I’ve substantially updated the aoristic macro for SPSS from what I previously posted. The updated code can be found here. The improvements are; Code is much more modularized, it is only 1 function and...
View ArticleWhy I feel SPSS (or any statistical package) is better than Excel for this...
I debated on pulling an Andrew Gelman and adding a ps to my prior Junk Charts Challenge post, but it ended up being too verbose, so I just made an entirely new follow-up. To start, the discussion has...
View ArticleSome notes on single line charts in SPSS
One thing you can’t do in legacy graph commands in SPSS is superimpose multiple elements on a single graph. One common instance in which I like doing this is to superimpose point observations on a...
View ArticleSpineplots in SPSS
So the other day someone on cross-validated asked about visualizing categorical data, and spineplots was one of the responses. The OP asked if a solution in SPSS was available, and there is none...
View ArticleFluctuation diagrams in SPSS
The other day on my spineplot post Jon Peck made a comment about how he liked the structure charts in this CV thread. Here I will show how to make them in SPSS (FYI the linked thread has an example of...
View ArticleA brief intro on building Custom Dialogs in SPSS
So the other day after my fluctuation chart post Jon Peck gently nudged me to make a chart custom dialog (with teasers such as it only takes a few minutes.) Well, he is right, they are quite easy to...
View ArticleCalendar Heatmap in SPSS
Here is just a quick example of making calendar heatmaps in SPSS. My motivation can be seen from similar examples of calendar heatmaps in R and SAS (I’m sure others exist as well). Below is an example...
View ArticleViz. weighted regression in SPSS and some discussion
Here I wish to display some examples of visually weighted regression diagnostics in SPSS, along with some discussion about the goals and relationship to the greater visualization literature I feel is...
View ArticleRestricted cubic splines in SPSS
I’ve made a macro to estimate restricted cubic spline (RCS) bases in SPSS. Splines are useful tools to model non-linear relationships. Splines are useful exploratory tools to model non-linear...
View ArticleAn example of using a MACRO to make a custom data transformation function in...
MACROS in SPSS are ways to make custom functions. They can either accomplish very simple tasks, as I illustrate here, or can wrap up large blocks of code. If you pay attention to many of my SPSS blog...
View ArticleSome discussion on circular helio bar charts
The other day I saw a popular post on the mathematica site was to reconstruct helio plots. They are essentially bar charts of canonical correlation coefficients plotted in polar coordinates, and below...
View ArticleMaking an Edge List in SPSS
I have planned a series of posts on some data manipulation for network data. Here I am going to show how to go from either a list of network relations in long or wide format to a list of...
View ArticleQuick SPSS Tip: Cleaning up irregular characters in strings
This is just intended to be a quick tip on cleaning up string fields in SPSS. Frequently if I am parsing a field or matching string records (such as names or addresses) I don’t want extra ascii...
View ArticleQuerying Graph Neighbors in SPSS
The other day I showed how one could make an edge list in SPSS, which is needed to generate network graphs. Today, I will show how one can use an edge list in long format to identify neighbors for...
View ArticleUsing circular dot plots instead of circular histograms
Although as I mentioned in this post on circular helio bar charts, polar coordinates are unlikely to be as effective as rectilinear coordinates for most types of comparisons, I really wanted to use a...
View ArticleHanging rootograms and viz. differences in time series
These two quick charting tips are based on the notion that comparing differences from a straight line are easier than comparing deviations from a curved line. The problems with comparing differences...
View ArticleCyclical color ramps for time series line plots
Morphet & Symanzik (2010) propose different novel cyclical color ramps by taking ColorBrewer ramps and wrapping them on the circle. All other previous continuous circle ramps I had seen prior were...
View Article