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-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1543 views
  • 0 likes
  • 2 in conversation