Page 1 of 1

SYSTEM - @subst

Posted: Thu Nov 12, 2020 10:55 pm
by tvonbrasch
Hi

How can I retrieve the specifications in a SYSTEM object with the coefficients substituted into the string specification? I used the command

Code: Select all

SYSTEM.@subst
however, this command wrongfully substituted the current values in the coefficient vector C into the specification (and not the coefficient values in the system ) ....

If there is a command that retrieves the specification with substituted coefficients for all type of objects, that would be great.
t

Re: SYSTEM - @subst

Posted: Fri Nov 13, 2020 12:08 am
by tvonbrasch
Is there a command for retrieving the specification for a variable in a model with substituted coefficients if the variable comes from a system, equation object etc?
t

Re: SYSTEM - @subst

Posted: Tue Nov 17, 2020 2:07 pm
by EViews Matt
Hello,

I'm not sure if System::@subst's behavior is more a bug or a feature, but you can use System::updatecoefs followed by System::@subst to achieve the specification you want, at least until I correct @subst's behavior.

Re: SYSTEM - @subst

Posted: Tue Nov 17, 2020 10:09 pm
by tvonbrasch
okay. your solution is great Matt, thanks. this works for me now. ideally, I would also like to have a command that retrieves the coefficient values from a specification in a model object. hopefully, this is something you can add to EV12 if it does not already exist.
t

Re: SYSTEM - @subst

Posted: Wed Nov 18, 2020 5:55 pm
by EViews Matt
The next patch will change System::@subst and Logl::@subst to use the estimated coefficients as intended.

Re: SYSTEM - @subst

Posted: Wed Nov 18, 2020 11:31 pm
by tvonbrasch
Okay, great
t