Search found 563 matches
- Wed Jan 19, 2022 3:14 pm
- Forum: Programming
- Topic: Using Git when programming add-in
- Replies: 5
- Views: 19233
Re: Using Git when programming add-in
This all depends greatly on your workflow and Git setup, but for this example suppose we have a local Git repository with the "master"/"main" branch and a "dev" branch. We want different versions of an addin registered in EViews depending on which branch is currently ac...
- Tue Jan 11, 2022 6:19 pm
- Forum: Models
- Topic: Simulations: Add-factor interaction with ARMA errors
- Replies: 6
- Views: 28970
Re: Simulations: Add-factor interaction with ARMA errors
Hello, Addressing your last point first, stochastic innovations do interact with ARMA errors as you'd expect. Add factors are the oddity. In effect, residuals/innovations are determined before add factors are applied, so add factors don't propagate through ARMA terms. Your approach for implementing ...
- Tue Jan 11, 2022 3:49 pm
- Forum: Programming
- Topic: Code to determine date of first Friday of the year
- Replies: 5
- Views: 9393
Re: Code to determine date of first Friday of the year
My apologies, I pasted a genr expression for the calculation instead of a scalar context expression. Just replace to two @date references with @now... %mydate = @datestr(@datefloor(@now, "y") + 6 - @mod(@datepart(@datefloor(@now, "y"), "w") + 1, 7), "mm/dd/yyyy&quo...
- Tue Jan 11, 2022 11:39 am
- Forum: Programming
- Topic: Code to determine date of first Friday of the year
- Replies: 5
- Views: 9393
Re: Code to determine date of first Friday of the year
Hello,
I believe this will work:
I believe this will work:
Code: Select all
%mydate = @datestr(@datefloor(@date, "y") + 6 - @mod(@datepart(@datefloor(@date, "y"), "w") + 1, 7), "mm/dd/yyyy")
- Thu Jan 06, 2022 5:59 pm
- Forum: Programming
- Topic: Using Git when programming add-in
- Replies: 5
- Views: 19233
Re: Using Git when programming add-in
A quick note, addin registration is available programmatically. You could for example, write your own addin that switched the registration of other addins between their official and development versions, or even use a git hook to trigger the switch.
- Thu Jan 06, 2022 5:27 pm
- Forum: Models
- Topic: Simulations: Add-factor interaction with ARMA errors
- Replies: 6
- Views: 28970
Re: Simulations: Add-factor interaction with ARMA errors
Hello,
Sorry your post escaped my notice earlier. Unfortunately, add factors are not treated as innovation shocks even in stochastic solves and there are no options for altering this behavior.
Sorry your post escaped my notice earlier. Unfortunately, add factors are not treated as innovation shocks even in stochastic solves and there are no options for altering this behavior.
Re: FLIPTYPE
Hello,
Using the message window, the parsing loop of two posts back could be modified to look for the individual "Dropped add factor series " lines and extract them all that way.
Using the message window, the parsing loop of two posts back could be modified to look for the individual "Dropped add factor series " lines and extract them all that way.
Re: FLIPTYPE
I knew you'd ask that. In which case, to avoid parsing each specification for the first variable name perhaps it's best to include an add factor on all equations, thus the set of dropped add factors will match the set of modified equations.
Re: FLIPTYPE
Another good candidate for a new data member. Otherwise, a brief loop can extract the information... logmode l create u 1 ' Create a trivial model with 50 equations. model m for !i = 1 to 50 m.append x!i = y!i next m.addassign @all ' We're going to flip the first 25 equations. for !i = 1 to 25 %tmp ...
Re: FLIPTYPE
Hello, In light of the limitations of the summary table, until such time as new convenience data members may be added I believe the easiest approach will be to utilize the existing data members for endogenous/exogenous/add-factor information to deduce the changes. Allow me to demonstrate: logmode l ...
- Fri Dec 10, 2021 1:15 pm
- Forum: Programming
- Topic: Eviews Pogram
- Replies: 2
- Views: 7967
Re: Eviews Pogram
Hello,
I notice that the error message "FOR !I=1 TO G_F@COUNT" is missing the period in "g_f.@count". Are you sure that the program you're running includes that period like the samples you've shown us?
I notice that the error message "FOR !I=1 TO G_F@COUNT" is missing the period in "g_f.@count". Are you sure that the program you're running includes that period like the samples you've shown us?
- Thu Dec 09, 2021 11:39 am
- Forum: Programming
- Topic: Devision by 0/difference between Eviews10 and 12
- Replies: 2
- Views: 8462
Re: Devision by 0/difference between Eviews10 and 12
Hello, The "Permissive error handling" global setting was introduced in EViews 11 to address discrepancies in error handling between the 32- and 64-bit editions of EViews. Depending on the edition used, a handful of specific errors either would or would not be reported, which was an undesi...
- Mon Nov 29, 2021 2:46 pm
- Forum: Bug Reports
- Topic: Eviews 12 @cor function problem
- Replies: 1
- Views: 8116
Re: Eviews 12 @cor function problem
Hello,
This issue will be fixed in the next patch.
This issue will be fixed in the next patch.
- Mon Oct 11, 2021 1:39 pm
- Forum: Models
- Topic: Historical Counterfactual with Model
- Replies: 4
- Views: 10099
Re: Historical Counterfactual with Model
Hello, It's possible that overriding a variable while still using its previously solved values could produce different results for other endogenous series. I believe this outcome could arise if (1) the overridden variable were part of a recursive block of variables in the model, and (2) the system o...
- Tue Sep 14, 2021 7:17 am
- Forum: Programming
- Topic: Problem with FOR statement
- Replies: 3
- Views: 10136
Re: Problem with FOR statement
Hello,
I'm afraid we're going to need more information. The single code line you've shared would seem fine for creating a 1/na dummy series based on the contents of the AGES series. What other code isn't working?
I'm afraid we're going to need more information. The single code line you've shared would seem fine for creating a 1/na dummy series based on the contents of the AGES series. What other code isn't working?