Reputation: 105
The /SAVE PRED. command creates a variable named "PRE_1"
Is there a way I can write a command that I want the saved variable to be named as "Italy_Model1_B_Predicted_Value"
Thanks
Upvotes: 2
Views: 161
Reputation: 5089
In the linear regression procedure you can specify what you want to name the variable in parenthesis after the PRED keyword, e.g. /SAVE PRED (Italy_Model1_B_Predicted_Value)
. It works the same way for many of the different regression procedures.
You can of course just use RENAME VARIABLES
as eli-k stated in comments, but note if PRE_1
already exists in the dataset, then SPSS will write the new predicted value as PRE_2
.
Upvotes: 2