我知道是什么原因了。因为你要预测的X值是51,超过了training dataset 的范围,所以proc gam无法计算其预测值。具体可以参考 http://support.sas.com/kb/14/043.html
If the value of a predictor variable in the SCORE DATA= data set is outside the range of that predictor variable in the PROC GAM DATA= dataset, then predicted values for that variable and for the response will be missing in the SCORE OUT= data set. Predicted values can only becomputed when all predictor values are in the range the data used to fitthe model.


雷达卡




京公网安备 11010802022788号







