Placing F stat to vector
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
Placing F stat to vector
Hello, I am running a loop with with 10 different regressions. I want to capture F-stat from each regression in a vector. How can achieve it? if I use rowplace(vector_F, eq1.@f ), it gives me am error "scalar sent to function which expects matrix". How can I list all 10 F-stats in one vector? Thanks
-
- EViews Developer
- Posts: 562
- Joined: Thu Apr 25, 2013 7:48 pm
Re: Placing F stat to vector
Hello,
Assuming you've named your equation objects eq1 through eq10, you can use something like the following:
Assuming you've named your equation objects eq1 through eq10, you can use something like the following:
Code: Select all
vector(10) vector_F
for !i = 1 to 10
vector_F(!i) = eq!i.@f
next
Re: Placing F stat to vector
perfect, thank you.
Who is online
Users browsing this forum: Google [Bot] and 17 guests