BookmarkSubscribeRSS Feed
jaweriahh
Obsidian | Level 7
While estimating an Unobseved Components Model how can i get the prediction error variance in my output?
3 REPLIES 3
Puwang
Obsidian | Level 7

You can use the OUTFOR= option in the FORECAST statement. The table contains the "STD" column which stores the standard error of prediction. Is that what you want?

 

You can also refer to the online help doc of UCM procedure:

http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_ucm_sect036.ht...

jaweriahh
Obsidian | Level 7

 

Thank you for your reply. I require some common diagnostic statistics such as (Predicted error variance

the one step ahead prediction errors, the normality statistic based on the third and fourth moments, heteroscedasticity statistic based on the ratio of the sample for the first one third of the prediction errors, the Box-Ljung serial correlation statistics, Durbin Watson) I have looked into the outfor=option but could not get these statistics (though I was able to get several diagnostic graphs).

Think you

Puwang
Obsidian | Level 7

Use ODS table options to trieve more statistics. For example, the following statements can provide you the one step ahead prediction errors, the normality statistic.

   ods output FitStatistics = fitstat;
   ods output FitSummary = fits;

 

More info on ODS output tables please check

http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_ucm_sect034.ht...

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1925 views
  • 0 likes
  • 2 in conversation