Search found 560 matches

by EViews Matt
Wed Mar 27, 2024 2:42 pm
Forum: Models
Topic: Model computational Limits?
Replies: 3
Views: 109

Re: Model computational Limits?

Hello, Given that there are no missing values in the data and that simpler variations of your model solve successfully, my first thought is that the full model includes some type of numerical issue that only the data for that one observation happens to trigger. I would certainly like to examine your...
by EViews Matt
Wed Mar 27, 2024 2:30 pm
Forum: Models
Topic: FLIPTYPE
Replies: 1
Views: 479

Re: FLIPTYPE

Hello, The algebra performed by the fliptype procedure doesn't consider special cases when inverting functions, e.g., introducing a potential for division by zero where none existing previously. In general, the procedure will just attempt to "solve for" the leftmost instance of the new end...
by EViews Matt
Tue Mar 19, 2024 2:26 pm
Forum: Programming
Topic: @recode issue
Replies: 2
Views: 103

Re: @recode issue

Hello, The issue is the expressions used in the @recode statements for AFG_80, AFG_70, and AFG_60. You cannot test whether a value is within a range using an expression such as "X80 <= AFG < X90". Instead, use two conjoined relational expressions, i.e. "X80 <= AFG and AFG < X90",...
by EViews Matt
Tue Feb 20, 2024 12:43 pm
Forum: Models
Topic: sample adjusted
Replies: 2
Views: 289

Re: sample adjusted

Hello, The model solution procedure adjusts the solution sample to ensure that all referenced variable lags/leads exist in the workfile. For example, imagine a quarterly workfile spanning 2000Q1 to 2020Q4. If the specified solution sample covered the full workfile, "2000Q1 2020Q4", but the...
by EViews Matt
Mon Feb 12, 2024 6:17 pm
Forum: Models
Topic: addinit(v=a)
Replies: 4
Views: 599

Re: addinit(v=a)

Hello, It's possible that if solution values (or expressions they appear in) are very close to numeric singularities, then the adjustment of add factors combined with the solution rounding and significant digits setting could produce such failures. Here's a small program that demonstrates this effec...
by EViews Matt
Tue Jan 16, 2024 5:35 pm
Forum: Add-in Support
Topic: scaled IRF in SVAR
Replies: 2
Views: 8334

Re: scaled IRF in SVAR

Hello, Would that be error 82? It appears that the sirf add-in contains a bug triggered by generating the IRF for any variable other than the first. EViews 13 stops the add-in at that point, but earlier versions of EViews proceed as if the user had specified the first variable. I don't see an easy w...
by EViews Matt
Thu Jan 11, 2024 11:17 am
Forum: Estimation
Topic: SVAR short and long-run restriction
Replies: 1
Views: 1085

Re: SVAR short and long-run restriction

Hello,

I believe the restrictions you've currently applied to the B matrix should instead be applied to the S matrix. The A and B matrices will then be unrestricted.
by EViews Matt
Tue Jan 09, 2024 10:59 am
Forum: Programming
Topic: If - Else code
Replies: 5
Views: 6693

Re: If - Else code

Hello, You may also find it more readable/maintainable to use a vector to store the mapping between the value of !i and that of !bestlag rather than a sequence of @recode statements. For example, vector(21) bestlagmap bestlagmap.fill 12, 6, 2, 1, 2, 2, 1, 4, 1, 1, 2, 2, 11, 1, 4, 1, 11, 6, 1, 12, 3 ...
by EViews Matt
Mon Dec 18, 2023 4:05 pm
Forum: Programming
Topic: Is there a solver tool?
Replies: 6
Views: 6697

Re: Is there a solver tool?

Hello,

Take a look at EViews' optimize command, which is the general purpose command for user-defined optimization. It requires knowledge of EViews programming to use, but it's very flexible once understood.
by EViews Matt
Mon Dec 11, 2023 11:23 am
Forum: Programming
Topic: GENERATING RANDOM NORMAL DRAWS
Replies: 4
Views: 5723

Re: GENERATING RANDOM NORMAL DRAWS

Quick follow up... EViews' @rnorm function is parameterless since it returns draws from the standard normal distribution. You can adjust your genr statement accordingly, e.g.,

Code: Select all

series draws_errorvariance_CA_{%h}Y_{%c}_AR = @rnorm * @sqrt(errorvariance_CA_{%h}Y_{%c}_AR)
by EViews Matt
Mon Nov 20, 2023 2:34 pm
Forum: Programming
Topic: @colpctiles Not Working...
Replies: 2
Views: 1768

Re: @colpctiles Not Working...

Hello,

You're correct, the rank 'direction' argument is being incorrectly ignored. We'll fix that in an upcoming patch.
by EViews Matt
Wed Aug 30, 2023 3:36 pm
Forum: Models
Topic: Incorrect error message
Replies: 6
Views: 52604

Re: Incorrect error message

The errors messages didn't directly implicate the variable, DISPINCRP, so a little investigation is necessary as random_user points out. The most significant clue comes from your description; the issue only arises in your custom scenario and not the default scenario. The model's scenario summary (Vi...
by EViews Matt
Tue Aug 29, 2023 4:03 pm
Forum: Models
Topic: Incorrect error message
Replies: 6
Views: 52604

Re: Incorrect error message

Hello, EViews is correctly reporting that override data is missing in Scenario 2. That scenario excludes and overrides series DISPINCRP, but the series that should hold the override values, DISPINCRP_2M, is full of NAs. Perhaps that series didn't exist prior to your initial solution attempt and an e...
by EViews Matt
Fri Aug 04, 2023 9:50 am
Forum: Data Manipulation
Topic: How to generate different series in the same regression?
Replies: 2
Views: 2954

Re: How to generate different series in the same regression?

Hello, The result you're seeing is due to your use of nested loops. For each of the series named in the outer loop, i.e. "serie1", "serie2", and "serie3", you create three series in the inner loop, i.e. "d1", "d2", and "d3". Each of these s...
by EViews Matt
Thu Aug 03, 2023 11:20 am
Forum: Data Manipulation
Topic: Count number of dummy variables
Replies: 1
Views: 2505

Re: Count number of dummy variables

Hello,

Try these...

Code: Select all

series cum = @recode(@isna(below50), 0, @nan(cum(-1), 0) + 1)
series cum2 = @recode(@eqna(below50,below50(-1)), @nan(cum2(-1), 0), 0) + @recode(@isna(below50), -1, 1)

Go to advanced search