Page 1 of 1
Put Scalars into a matrix
Posted: Fri Aug 12, 2011 11:28 am
by marcsean
Hi,
I have generated about 1000 scalars and I want to put them together into a series or a matrix in order to compute the quantile funciton.
How do I do that?
Thank you.
Re: Put Scalars into a matrix
Posted: Fri Aug 12, 2011 11:43 am
by EViews Gareth
Code: Select all
mat(1,1) = scalar1
mat(2,1) = scalar2
etc...
If they've got a nice naming pattern, you could for loop it:
Code: Select all
for !i=1 to 1000
mat(!i,1) = scalar{!i}
next
Re: Put Scalars into a matrix
Posted: Fri Aug 12, 2011 1:51 pm
by marcsean
Thank you.
I want to estimate 10000 equations within a programme, however eviews stops, when it is time to estimate the 1000th equation. Is this the limit eviews can handle?
Re: Put Scalars into a matrix
Posted: Fri Aug 12, 2011 1:55 pm
by EViews Gareth
Nope, I just created 20,000 equations without a problem.