Page 1 of 1

extract coef from eqaution object to vector

Posted: Sun Nov 09, 2014 11:05 am
by ecofin
hi for all,
i have estimate this model: y c ar(1to 2) ma(1)
how to extract the coefficients from equation object and put them in the vector?
how to extract R²,F-stat,DW, S.E of reg, and the three criterion (AIC, SC, HC) and put them in the table?

kind regards.

Re: extract coef from eqaution object to vector

Posted: Sun Nov 09, 2014 11:49 am
by EViews Gareth

Re: extract coef from eqaution object to vector

Posted: Sun Nov 09, 2014 12:35 pm
by ecofin
solved thanks! :)

Code: Select all

vector(4) v1 equation eq eq.ls y c ar(1 to 2) ma(1) colplace(v1, eq.@coefs)
but for my second question i have no idea :oops:

Re: extract coef from eqaution object to vector

Posted: Sun Nov 09, 2014 12:39 pm
by EViews Gareth