Deriving multiple fields in SPSS modeler (using unique fields each time)

Viewed 17

I'm using SPSS modeler to calculate the accuracy of various weekly estimates. I have a data table with a couple weeks of estimates and a couple weeks of actual data points. Currently, to calculate the errors per week I have to use a derive node for every week ex: Wk1 error <- (Wk1 estimate - Wk1 actual). This is naturally inefficient when considering many weeks. Is there a way to derive all of these error columns at once?

In the data below, can we get 3 new columns for week1, week2, week3 error?

Sample Data

0 Answers
Related