Page 1 of 1

Help in creating table to show scalar values from different models

Posted: Sat Dec 02, 2017 11:48 am
by sudesh
Hi,
I would like to show the result of my analysis in two tables.
The scalar values are stored in the following format.

NAME_A_B_C.

A has two values : USD and CAD
B has 34 values : eq1 to eq34
C has 30 values : 1 to 30.

Therefore I would like to build the first table with USD values. The rows will be the C and the column will be B
The second table will be the same as the first however with CAD values.

Thanks for your help.

Re: Help in creating table to show scalar values from different models

Posted: Sat Dec 02, 2017 4:25 pm
by EViews Gareth
What have you done so far?

Re: Help in creating table to show scalar values from different models

Posted: Sat Dec 02, 2017 4:28 pm
by sudesh
As I'm new to Eviews, I'm looking how to create a table and thinking about doing a loop to insert the value in the table.
Any help will be greatly appreciated

Re: Help in creating table to show scalar values from different models

Posted: Sat Dec 02, 2017 5:06 pm
by EViews Gareth

Code: Select all

wfcreate u 10
table mytable
for !i=1 to 10
mytable(!i,1) = !i
mytable(!i,2) = "Hello world, this is row " + @str(!i)
next
show mytable

Re: Help in creating table to show scalar values from different models

Posted: Sun Dec 03, 2017 7:08 pm
by sudesh
Thanks, I was able to use your suggestions into two loops and it's working.