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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

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