Page 1 of 1

simple question on stom and @convert

Posted: Wed May 29, 2019 9:36 am
by pcruzd
Hi, Im using the stom command in a loop and I can't make the formed matrix not to prompt in every loop its generated, even if the program is running quiet mode. I tryied using @convert as an alternative but it keeps happening. Any hints?

PD. im using Eviews 9

Re: simple question on stom and @convert

Posted: Wed May 29, 2019 9:42 am
by EViews Gareth
What do you mean by "not to prompt in every loop its generated"? A program such as the follow has no prompting.

Code: Select all

create u 10 for !i=1 to 5 series x!i=nrnd stom(x!i, y!i) next

Re: simple question on stom and @convert

Posted: Wed May 29, 2019 9:51 am
by pcruzd
by prompting I mean a window with the newly created matrix pops-up in every loop. I thought that it shouldn't by happenign but it does. The program is very similar to the one you wrote

Re: simple question on stom and @convert

Posted: Wed May 29, 2019 10:17 am
by EViews Gareth
Does it happen with my program?

Re: simple question on stom and @convert

Posted: Wed May 29, 2019 1:02 pm
by pcruzd
It didn't. It turns out its not the stom comand which is causing the window to prompt but the matrix.cov comand that follows in the loop. Is there any way to mute it? Check the program below:

Code: Select all

create u 10 group gr for !i=1 to 5 series x!i=nrnd gr.add x!i stom(x!i, y!i) next stom(gr, mat) mat.cov(out=s) ' HERE IS THE PROBLEM

Re: simple question on stom and @convert

Posted: Wed May 29, 2019 1:10 pm
by EViews Gareth

Code: Select all

do mat.cov(out=s)

Re: simple question on stom and @convert

Posted: Wed May 29, 2019 1:44 pm
by pcruzd
It worked perfect, thanks!