O'Reilly logo

IBM SPSS Modeler Cookbook by Scott Mutchler, Tom Khabaza, Meta S. Brown, Dean Abbott, Keith McCormick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Parsing and performing a conversion on a complex stream

In this example we have data from a call center in the Philippines. The managers at the call center want to determine the call volume between midnight and 8 AM so they can staff the call center accordingly. To get this information, there is a timestamp variable that indicates the time when the customer called and the time zone where the customer was located (in this case all customers are in the Pacific time zone). Now there are two wrinkles in this timestamp variable. First, the timestamp variable does not have a constant string length. This variation in position makes it more difficult to extract the actual times because we cannot just specify to extract all characters between position ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required