Search found 30 matches
- Wed Sep 10, 2014 2:40 pm
- Forum: Programming
- Topic: A Loop Which Iterations Take Increasing Amount of Time
- Replies: 7
- Views: 6980
Re: A Loop Which Iterations Take Increasing Amount of Time
Strange that it is really unfixable in an easy way. I guess the 'used objects name list' is just some data structure that can be simply deleted. Maybe as a workaround only after it gets a thousand elements or something. This really might deserve some more attention, especially now that the 64-bit ve...
- Mon Sep 08, 2014 3:24 pm
- Forum: Programming
- Topic: A Loop Which Iterations Take Increasing Amount of Time
- Replies: 7
- Views: 6980
Re: A Loop Which Iterations Take Increasing Amount of Time
That's a fantastic example program. Thanks! The issue is with the creation and deletion of objects with different names. A single EViews program keeps track of all named objects that get created, even if they are deleted. You're creating tens of thousands of named objects (with different names) and...
- Sun Sep 07, 2014 9:38 am
- Forum: Programming
- Topic: A Loop Which Iterations Take Increasing Amount of Time
- Replies: 7
- Views: 6980
Re: A Loop Which Iterations Take Increasing Amount of Time
I did some more testing on this. It appears that the combination of creating objects together with performing some operation on them causes the process to take more and more time, if done in a single program. The attached programs allow you to see the issue. The program iteratively creates new objec...
- Wed Aug 20, 2014 7:44 am
- Forum: Programming
- Topic: Different ways to check for NA
- Replies: 4
- Views: 3894
- Wed Aug 20, 2014 7:44 am
- Forum: Programming
- Topic: Resize or Initialise a Vector or Matrix to NA
- Replies: 2
- Views: 2714
Re: Resize or Initialise a Vector or Matrix to NA
Okay, a pity though!
- Wed Aug 20, 2014 3:29 am
- Forum: Programming
- Topic: Resize or Initialise a Vector or Matrix to NA
- Replies: 2
- Views: 2714
Resize or Initialise a Vector or Matrix to NA
Is there a way to resize (enlarge) a vector or matrix and initialise the new elements to NA instead of zero, without the use of cumbersome for-loops and helping variables?
- Wed Aug 20, 2014 3:27 am
- Forum: Programming
- Topic: Different ways to check for NA
- Replies: 4
- Views: 3894
Different ways to check for NA
What is the difference between @isna(a) and a=na in if statements? Which one would be better or faster? The result is the same.
- Mon Aug 18, 2014 2:30 am
- Forum: Programming
- Topic: @dropmap doesn't work
- Replies: 5
- Views: 4573
Re: @dropmap doesn't work
Thanks for reconsidering building this. It is true that using delete a* is 'an alternative method of achieving the same thing', but this is not true for the @keeplist option, though maybe you could copy the objects to keep to a new workfile and use copy a* to keep only those objects...
- Mon Aug 18, 2014 2:24 am
- Forum: Programming
- Topic: A Loop Which Iterations Take Increasing Amount of Time
- Replies: 7
- Views: 6980
Re: A Loop Which Iterations Take Increasing Amount of Time
Okay, it is going to take some time though to abridge the code and make up something presentable for you. I'll get back to this.
- Sun Aug 17, 2014 2:42 pm
- Forum: Programming
- Topic: A Loop Which Iterations Take Increasing Amount of Time
- Replies: 7
- Views: 6980
A Loop Which Iterations Take Increasing Amount of Time
Is there any reason why this loop's iterations, for !i=1 to 100 [do something] next would require increasing amounts of time when there is no reason for that in the code? Perhaps due to some memory quirk? Iteration 100 is a several orders of magnitude slower than the 1st iteration. The statements be...
- Sun Aug 17, 2014 8:08 am
- Forum: Bug Reports
- Topic: Some fields are not copied when copying state space objects
- Replies: 1
- Views: 2661
Some fields are not copied when copying state space objects
When copying estimated state space objects (by dragging them, copy/pasting or the copy command), the information criteria fields are not copied along. That is, the new object does not have a BIC, AIC, etc.
- Sun Aug 17, 2014 4:21 am
- Forum: Programming
- Topic: @dropmap doesn't work
- Replies: 5
- Views: 4573
Re: @dropmap doesn't work
Thanks for the prompt reply. Why would this not be made possible to work with normal work files though? Also, I searched for it but I must admit I cannot find any reference for this in the Eviews Command and Programmming Reference manual (the latest version from April 2013). In fact, the example und...
- Sat Aug 16, 2014 10:13 am
- Forum: Programming
- Topic: @dropmap doesn't work
- Replies: 5
- Views: 4573
@dropmap doesn't work
Maybe I am missing the obvious here, but this program saves all variables instead of dropping them:
What am I doing wrong?
Code: Select all
wfcreate u 1
scalar a1
scalar a2
wfsave filename @dropmap a*- Sun Aug 10, 2014 5:42 am
- Forum: Bug Reports
- Topic: Crash Using Switching Regression
- Replies: 2
- Views: 3128
Crash Using Switching Regression
Reproduce using the following program.
Code: Select all
wfcreate u 1 100
series e=nrnd
switchreg e c @prv e(-1)- Sun May 04, 2014 12:14 pm
- Forum: Estimation
- Topic: Switching Regression Dependent on Coefficient Vector c?
- Replies: 14
- Views: 12361
Re: Switching Regression Dependent on Coefficient Vector c?
Thanks a lot, I wasn't entirely sure whether you meant if any errors during initial starting estimates are handled (the amount of which is controlled by startiter) or also the errors during final estimations (controlled by startnum). A little more information on how the randomization works might be ...
