Page 1 of 1

Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 11:07 am
by Econometrics64
Hey, sorry if i am posting this in the wrong spot but i cannot for the life of me figure out why i am getting syntax error when running a simple regression.

in the command line im running
C log(salary) LS RGP RPPG REV DUMMY

Any help would be greatly appreciated!

Re: Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 11:24 am
by EViews Gareth
Are you using the LS command?

Re: Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 11:45 am
by Econometrics64
yes i am

Re: Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 12:06 pm
by EViews Gareth
So what is the full command you are typing?

Re: Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 12:34 pm
by Econometrics64
c log(salary) ls rpg ppg rev dummy

need to get the coefficients for the explanatory variables

Re: Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 12:52 pm
by EViews Gareth
If you're using the LS command, the LS part should come first. See the LS entry in the Command Reference for more details.

Re: Syntax Error I Cannot figure out

Posted: Mon Nov 18, 2013 12:56 pm
by Econometrics64
umm... yeah i'm an idiot i had those switched the whole time guess i was up too late writing a paper. Sorry for wasting your time but i really do appreciate the help!