Search found 8 matches

by yzhao
Tue Jul 28, 2015 11:51 am
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

yzhao -- Just ignore Gareth. We do.
Not a problem. I should have given it more thought before asking :)
by yzhao
Tue Jul 28, 2015 9:07 am
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

Thanks for the answer to the second question. I was being stupid with the first thing. I was in Stata mode and thought I must explicitly declare an option optional or mandatory...
by yzhao
Tue Jul 28, 2015 8:34 am
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

Thanks. :)

By the way, how can I make an equaloption optional and set a default value (like in many built-in procs)? Also, I thought you said that there is a way to show "secondary" dialog box depending on what users check in the "primary" dialog box. Do you mind telling me again?
by yzhao
Mon Jul 27, 2015 7:07 pm
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

I tried your code and indeed elements in the two vectors are in opposite order. But please see the attached screenshot. If I'm understanding the MSE table correctly, what the table gives are the in-sample MSEs, i.e., ones that are used to derive the weights. So, a larger MSE should mean a smaller we...
by yzhao
Mon Jul 27, 2015 2:37 pm
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

Now that you are saying it out loud, it actually makes a lot of sense... Somehow when I was looking at them I wasn't able to see a reason. :oops: One minor suggestion: Is there anyway to easily match weights in the vector to the series names? It seems that weights in the vector is sorted, and is not...
by yzhao
Mon Jul 27, 2015 2:21 pm
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

Thank you for the quick response! One other thing I noticed today: If I run the following command, trying to get only an in-sample combination by setting the forecast sample to equal training sample (I know it's kind of cheating...), I get combined forecasts beyond my forecast sample, but the foreca...
by yzhao
Sun Jul 26, 2015 7:53 pm
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Re: Somewhat strange behavior in forecast combination

That makes sense for sure. Thank you! Pardon me since I'm really new to this feature. But when I tried the simple median method using the dialog box, I get the error saying that I need a training sample - but the text box for entering a training sample is disabled (greyed out). Please see the two sc...
by yzhao
Sun Jul 26, 2015 9:07 am
Forum: Programming
Topic: Somewhat strange behavior in forecast combination
Replies: 15
Views: 7480

Somewhat strange behavior in forecast combination

Hello, I was trying out the new forecast combination procedures today and noticed some rather strange behavior, as shown in the attached screenshot, namely, MSE table and graph show nothing but zeros. In the attached workfile, c0act is the actual value, c0n??? are individual forecast series, and c0f...

Go to advanced search