Page 1 of 1

Write the equation in @uidialog

Posted: Sun Aug 09, 2015 3:16 am
by Afterall
Can anyone help with equation by list. In Vuidialog window, I want to specify equation. I know for that problem I could use sipl equation in workfile. But I nead to know how to do that with edit @uidialog, because I want to changing equation in some birer eviews program.

The program is:

smpl @all

%t="1/01/2014"
%d="3/01/2014"

@uidialog("caption","Equatian window","edit",%t,"First date (MM/DD/YYYY)","edit",%d,"Last date (MM/DD/YYYY)","edit", %varyingcoefs, "The regression equation (//thats not work for now )",512)

equation eq1

smpl %t %d
eq1.ls%varyingcoefs' x1 c x1(-1) There is eror in program

smpl %t %d
eq1.forecast(f=na) tmp_yhat tmp_se
series x1f= tmp_yhat
series x1f_se = tmp_se

delete tmp_yhat
delete tmp_se

Re: Write the equation in @uidialog

Posted: Sun Aug 09, 2015 6:54 am
by EViews Gareth

Code: Select all

eq1.ls {%varyingcoefs} x1 c x1(-1)

Re: Write the equation in @uidialog

Posted: Sun Aug 09, 2015 7:51 am
by Afterall
Thank you, now understand syntax. The line eq1.ls {%varyingcoefs} properly solve my problem.