Constant multiplication

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

manowar
Posts: 4
Joined: Wed May 21, 2014 11:06 am

Constant multiplication

Postby manowar » Wed May 21, 2014 11:26 am

I am trying to run several regressions to determine the changes in the dependent variable when I alter the constant and independent variables. The regression in its unaltered original form is:

Code: Select all

p c l k
Where p is output, c is the constant or intercept, l is labor and k is capital. I have no problem altering the independent variables by multiplying them (say by 500), but when I try to multiply c I get:

Code: Select all

illegal lag or index specification for coefficient C
.

Is there any way to do this?

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Constant multiplication

Postby EViews Glenn » Wed May 21, 2014 11:46 am

You have to create a new variable

Code: Select all

series cc = 500 equation eq1.ls p cc l k

manowar
Posts: 4
Joined: Wed May 21, 2014 11:06 am

Re: Constant multiplication

Postby manowar » Wed May 21, 2014 3:20 pm

All you've done there is create a new variable whose value for each observation is 500, you didn't multiply the existing constant by anything. I want to multiply each of the observations of my constant by 500.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Constant multiplication

Postby startz » Wed May 21, 2014 8:42 pm

All you've done there is create a new variable whose value for each observation is 500, you didn't multiply the existing constant by anything. I want to multiply each of the observations of my constant by 500.
What do you think the observation is for a constant?

manowar
Posts: 4
Joined: Wed May 21, 2014 11:06 am

Re: Constant multiplication

Postby manowar » Wed May 21, 2014 9:17 pm

What do you think the observation is for a constant?
Not sure I understand your question, but you do know that the constant is made up of more than one value?

The observations of my constant already have values, I don't need a new constant whose value for each observation is 500, I want to modify the values/observations of my existing constant by multiplying them.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: Constant multiplication

Postby startz » Thu May 22, 2014 6:29 am

What do you think the observation is for a constant?
Not sure I understand your question, but you do know that the constant is made up of more than one value?

The observations of my constant already have values, I don't need a new constant whose value for each observation is 500, I want to modify the values/observations of my existing constant by multiplying them.
Using "c" in a regression is exactly the same as entering a variable that equals 1.0 for every observation. For that reason, Glenn's answer is correct. But then, Glenn's answers are almost always correct.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Constant multiplication

Postby EViews Glenn » Thu May 22, 2014 8:38 am

I don't know about that. Given the last couple of posts, it's clear that I didn't understand the original question.

manowar
Posts: 4
Joined: Wed May 21, 2014 11:06 am

Re: Constant multiplication

Postby manowar » Thu May 22, 2014 9:04 am

Got it, thanks.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests