OLS

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

darkerthanblack
Posts: 8
Joined: Mon Nov 26, 2012 2:13 pm

OLS

Postby darkerthanblack » Mon Nov 26, 2012 2:21 pm

Hy everyone,sorry to bother with such trivial questions but it's the first time i'm programming.
I loaded a workfile using a programm created by me, but now i don't know how to write to estimate the ols in the programm.
i tried writing: ls (variable name) (variable name) (variable name) (variable name);
but it keep telling me my variables are not defined...
thanks

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: OLS

Postby EViews Gareth » Mon Nov 26, 2012 2:25 pm

That error message indicates that your variables do not exist. It is hard to know what you've done wrong without further information.

darkerthanblack
Posts: 8
Joined: Mon Nov 26, 2012 2:13 pm

Re: OLS

Postby darkerthanblack » Mon Nov 26, 2012 2:31 pm

I added a print screen. I can open the variables, and see the data, on the panel to the right (sorry i don't know the name)
Attachments
eviews_output.png
eviews_output.png (66.55 KiB) Viewed 6017 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: OLS

Postby EViews Gareth » Mon Nov 26, 2012 2:32 pm

Attach your workfile.

darkerthanblack
Posts: 8
Joined: Mon Nov 26, 2012 2:13 pm

Re: OLS

Postby darkerthanblack » Mon Nov 26, 2012 2:34 pm

Here it is, and thanks for the help.
Attachments
PIB01.WF1
(38.54 KiB) Downloaded 239 times

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: OLS

Postby EViews Gareth » Mon Nov 26, 2012 2:54 pm

Your variable names are actually:

Code: Select all

pibpc_grandes_agregados_ consumo_consumo_saar_var export_exportacoes_saar_ gastos_gastos_publicos_s

darkerthanblack
Posts: 8
Joined: Mon Nov 26, 2012 2:13 pm

Re: OLS

Postby darkerthanblack » Mon Nov 26, 2012 2:57 pm

Thank you so much!

darkerthanblack
Posts: 8
Joined: Mon Nov 26, 2012 2:13 pm

Re: OLS

Postby darkerthanblack » Tue Nov 27, 2012 1:40 pm

Hello again, i was trying to do the maximum likelihood, but i get the follwing error message: missing values in @logl series at current coefficients at observation 2 in "DO_LL1.ML(D)". Can someone tell me what i can correct? thank you
Attachments
tpc.prg
(688 Bytes) Downloaded 276 times


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest