Thank you so much for the quick answer!
I'm afraid I'm still stuck, though. Following your suggestion, I have now
freeze(table) ch1.wald c(4)=c(8)
vector supw(!j)=@val(table(6,4))
When I run the loop I get the alert: "TABLE already exists in "FREEZE(TABLE) ch1...", so I assume the table cannot be overwritten for each !j. Adding mode=overwrite allows me tu run the loop until the end, but the whole vector is filled with the same value (obviously Wald for the last j). I cannot figure out what I'm doing wrong...
Thanks again! Arturo
How can I retrieve statistics from a View of an object?
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Posts: 8
- Joined: Thu Jul 30, 2009 11:01 am
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How can I retrieve statistics from a View of an object?
Nothing wrong with the code you posted:
That code works fine.
Code: Select all
create u 100
series y=nrnd
equation ch1
vector(10) supw
for !i=1 to 10
ch1.ls y c rnd
freeze(mode=overwrite, table) ch1.wald c(1)=c(2)
vector supw(!i) = @val(table(6,4))
next
That code works fine.
Follow us on Twitter @IHSEViews
-
- Posts: 8
- Joined: Thu Jul 30, 2009 11:01 am
Re: How can I retrieve statistics from a View of an object?
well everything seems to be ok now!
thanks a lot, this has been very helpful
thanks a lot, this has been very helpful
Who is online
Users browsing this forum: No registered users and 38 guests