02-18-2016 01:19 PM
I am (vamsi Kumar Sureddy) working as a analyst .I have already completed base sas certification.I am running proc genmod with dist=zip/poisson and i am saving the parameters in the new dataset using store statement.While running proc plm restore to create the scores ,i am using the stored dataset and I am providing the new testing data for score data.I can able to execute the model without any error messages but I am getting all the missing values in Predicted column.Thus, I have worked around the proc plm restore to overcome the missings in the predicted column but i am ended up with missing values.
Please kindly assist me.
02-18-2016 01:55 PM
The first thing I would check on are the variables in the data set to score. Are the variables names EXACTLY the same as the original dataset? Are they the same type (numeric or character)? And last are the values similar?
If the original model has a class variable A with values of 1, 2 and 3 and your data set to score has A with values of 2, 3, 4 and 5 I would expect some issues.
Also interactions that were not present in the initial model might be a cause.
02-18-2016 02:02 PM
02-18-2016 02:47 PM
All the level values are different?
Does this make sense for your data? You may want to drop that variable from your model if you can't reliably measure it for scoring/predicting.