Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: Stata 13 forecast solve likely bug


From   David Rosnick <rosnick@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Stata 13 forecast solve likely bug
Date   Fri, 11 Oct 2013 12:53:26 -0400

Hello all,

I'm running Stata/MP 13.0 for Mac (64-bit Intel) Revision 19 Sep 2013 on OSX Version 10.8.5 and have run into a weird error with -forecast solve-. Specifically, I am unable to save iterations.  After setting up the model, I have no problem running

. forecast solve, begin(2009) prefix(f_) simulate(betas, statistic(stddev, prefix(sdf_)))

However, if I instead try to save iterations...

. forecast solve, begin(2009) prefix(f_) simulate(betas, statistic(stddev, prefix(sdf_)) saving(baseline, replace))

Computing dynamic forecasts for model gmodel.
---------------------------------------------
Starting period:  2009
Ending period:    2014
Number of panels: 28
Forecast prefix:  f_

Solving panel 1
…
Solving panel 28

Performing simulations (50)
----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 
could not write to results file
r(198);

end of do-file

r(198);

Interestingly, I have no problem opening baseline.dta.  The variables have been created, so I know it is able to create/write to the file. Nevertheless, there are zero observations. This appears to be a problem within fc_solve.fc_solve_sim-- presumably mata:fc_sim_do("rc")

Any help on resolving this issue would be greatly appreciated. Thanks in advance,

--
David Rosnick
"When in doubt, cancel infinity with zero."


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index