Scoring a model in SPSS
In the previous post "predicting payment days for accounts receivables at hospitals", we created several model nuggets that could predict the payment days based on inputs such as age, income, employment, marital status, etc and on the observed values of the actual number of days that we taken for payment. In today's post, we will use one of those model nuggets to to predict the number of days for a new set of data. This process, called "scoring the model" in SPSS is really the main objective of the entire modeling exercise. In order to do this, we first need a new set of data that contain the same fields as the data that was used in developing the model. An easy way to test this is by using the same file that was used to train the model but removing the observed data from the file. From the image below, you will see that the field "payment days" is missing: We then run this data through the Auto Data Prep node. This is important because we used...