Hi, Thanks for your reply, I don't use HP GLM node since it has limitation for polynomial degree (up to 3). I need a little bit higher than that. Indeed, I need these variables: &em_import_validate, &em_export_validate,&em_export_train. However, I don't know what my equation looks like before I ran my model. For instance, I did a nonlinear model as follows to calculate the ASE: ... model Yt_1 = Y / (a + b * Y) ... data EM_IMPORT_VALIDATE_est; set &EM_IMPORT_VALIDATE. ; _res2 = (Y1- (Y / (aa + bb *Y) ) )**2; run; proc means data=EM_IMPORT_VALIDATE_est noprint; var _res2; output out=&EM_EXPORT_VALIDATE(drop=_:) n=validate_n sum=validate_sse; run; validate_ase=validate_sse/(validate_n-2); In this way, I can calculate my ASE for validation portion. My problem here is: 1 if I don't know my predict equation ahead, how can I code to calculate ASE? 2.Without code calculating ASE, I can still calculate the overall ASE for the entire data set by using the obtained regression equation. But how can I figure out which portion of the data set was used to do training and which portion is used to do validation? Thanks.
... View more