Search found 207 matches

by mamo
Thu Jun 25, 2026 4:41 am
Forum: Bug Reports
Topic: Tables with empty cells: unexpected results from a loop search for a string
Replies: 1
Views: 1184

Tables with empty cells: unexpected results from a loop search for a string

Using Eviews 14 Dec 26 2024 build Tables with empty cells behave unexpectedly in a loop search for a string. The search would unexpectedly stop once the loop reaches an empty cell, see code below. wfcreate u 1 ' create table with four rows and one column table(4,1) tab ' Filling the table, but leavi...
by mamo
Thu Jun 25, 2026 4:13 am
Forum: Bug Reports
Topic: function @rinstr not working properly
Replies: 1
Views: 1133

function @rinstr not working properly

I use Eviews 14 Dec26 2024 build The function @rinstr does not work as described in the help documentation which says: Starting at the end of the string and searching in reverse, finds the starting position of the target string str2 in the string str1. By default, the function returns the location o...
by mamo
Thu Sep 11, 2025 12:05 am
Forum: Bug Reports
Topic: @makedate and weeks - unexpected error
Replies: 7
Views: 21246

Re: @makedate and weeks - unexpected error

So here is a workaround for @makedate with years & weeks as arguments not working: Assume you have an unordered workfile containing variables indicating year and week of the year, "year" and "week", respectively. In order to generate a proper date series "date" out ...
by mamo
Mon Sep 08, 2025 2:37 am
Forum: Bug Reports
Topic: @makedate and weeks - unexpected error
Replies: 7
Views: 21246

Re: @makedate and weeks - unexpected error

Hm, @dateval works fine and as expected with a monthly date as argument in any workfile context. There seems to be an issue with calendar-week dates in Eviews. wfcreate m 2000M01 2010M12 show @dateval("2009M04", "yyyy[M]mm") wfcreate u 1 show @dateval("2009M04", "y...
by mamo
Fri Sep 05, 2025 1:00 am
Forum: Bug Reports
Topic: @makedate and weeks - unexpected error
Replies: 7
Views: 21246

Re: @makedate and weeks - unexpected error

p1.png Well, the functions @dateval and @datepart(@date, week) obviously assign 1) a date to a specified week and 2) a week to a specified date, respectively. So there seems to be a uniquely defined link between weeks and dates (as is also the case with months and dates). So suggestion here. Please...
by mamo
Thu Sep 04, 2025 1:54 am
Forum: Bug Reports
Topic: @makedate and weeks - unexpected error
Replies: 7
Views: 21246

@makedate and weeks - unexpected error

Hi, using Eviews 14 Dec 2024 build.
What is wrong with the following command line? Unexpectedly, it produces the error message "Bad date format 'yyyyww' - Missing data generated."

Code: Select all

series x=@makedate(201143, "yyyyww")
by mamo
Tue Jul 08, 2025 3:34 am
Forum: Data Manipulation
Topic: Panel data: Sample comprising all cross sections with no NAs in the selected date range
Replies: 1
Views: 197915

Re: Panel data: Sample comprising all cross sections with no NAs in the selected date range

Okay, I managed to find an approach that works:

Code: Select all

smpl 2001 2010 if @nasby(x, @crossid)=0 ' only crossids 1 and 3 are in the sample smpl 2000 2009 if @nasby(x, @crossid)=0 ' only crossids 1 and 2 are in the sample smpl 2001 2009 if @nasby(x, @crossid)=0 ' crossids 1, 2, and 3 are in the sample
by mamo
Tue Jul 08, 2025 12:55 am
Forum: Data Manipulation
Topic: Panel data: Sample comprising all cross sections with no NAs in the selected date range
Replies: 1
Views: 197915

Panel data: Sample comprising all cross sections with no NAs in the selected date range

Hi everybody, using EVIEWS 14. Question: How do you define a sample in panel data set so that the sample comprises all cross sections with no NAs in the selected date range? See example in the files attached: If the selected data range is 2001 - 2010 only crossids 1 and 2 should be in the sample. Wi...
by mamo
Wed Mar 26, 2025 5:52 am
Forum: Bug Reports
Topic: Eviews crashes after spool operations
Replies: 0
Views: 94747

Eviews crashes after spool operations

Dear Eviews team, I use Eviews 14 Dec 2024 build. Eviews crashes after some spool operations. The sequence of events making Eviews crash is as follows: 1 Open an object within a spool by mouse click on that object 2 Close the spool w/o closing the object first. 3 Open the spool again by mouse click ...
by mamo
Fri Feb 21, 2025 7:27 am
Forum: Suggestions and Requests
Topic: Make the @first function properly taking account of panel data
Replies: 3
Views: 54431

Re: Make the @first function properly taking account of panel data

Dear Eviews Matt,
many thanks, indeed this works!
My suggestion would be include a reference to the documentation of @firstsby into the index so that it can be found easily.
Same applies to @lastsby
firstsby.png
firstsby.png (11.63 KiB) Viewed 46428 times
Best, mamo
by mamo
Fri Feb 14, 2025 3:10 am
Forum: Suggestions and Requests
Topic: Make the @first function properly taking account of panel data
Replies: 3
Views: 54431

Make the @first function properly taking account of panel data

Dear EViews team, I am using EViews 14 I suggest that you improve the @first(x) function to work proper in panels so that it allows for showing the first value of series x in each cross section in the preselected sample. To give an example, I would like to have an easy function which would show the ...
by mamo
Wed Oct 30, 2024 9:51 am
Forum: Bug Reports
Topic: Strange result from the matrix.@row() function
Replies: 0
Views: 106386

Strange result from the matrix.@row() function

Dear Eviews team, I use Eviews 13 October 2022 build. Why is that the matrices m1 m1a in the code example below are of dimension 3X1 rather than 1X3? I would expect the extraction of a row from a 3X3 matrix to yield a matrix of dimension 1X3 wfcreate u 1 1 matrix x=@unvec(@range(1,9),3) 'create a 2X...
by mamo
Wed Oct 30, 2024 6:06 am
Forum: Bug Reports
Topic: Table to Excel: saving Table with merged cells to Excel makes Eviews break down
Replies: 0
Views: 104749

Table to Excel: saving Table with merged cells to Excel makes Eviews break down

Dear Eviews team, I use Eviews 13 Oct 2022 build. Eviews breaks down, when saving a table with merged cells to Excel. This bug seems to happen only when there are no cell entries right of the merged columns (see example code below). wfcreate u 1 1 table tab tab(1,1)="C1" tab(1,2)="C2&...
by mamo
Wed Oct 30, 2024 5:48 am
Forum: Bug Reports
Topic: Table to Excel: strange result - rows shifted by 2 rows downwards in Excel
Replies: 0
Views: 104416

Table to Excel: strange result - rows shifted by 2 rows downwards in Excel

Dear Eviews team, I use Eviews 13 Oct 2022 build. The code below creates an unexpected outcome: table rows are shifted downwards in Excel when saving the table to an excel xlsx file. With the code below, the two cell filled with "C1" are shifted downwards, starting only in the third row of...
by mamo
Wed Oct 30, 2024 5:31 am
Forum: Bug Reports
Topic: Table to Excel: bold/ italics formatting not saved in Excel
Replies: 0
Views: 104016

Table to Excel: bold/ italics formatting not saved in Excel

Dear Eviews team I use Eviews 13 Oct 2022 build Some table formatings - bold, italics - do not appear to be saved to Excel when saving the table to an excel xlsx file. See example below wfcreate u 1 1 table tab tab(1,1)= "A1" tab(1,2)="A2" tab.setfont(1,1) +b tab.setfont(1,2) +i ...

Go to advanced search