Oh, yes, youre right about the "." :)
But if we use ((-sp500+1,931650171)>0)
will eviews really know if its supposed to be multiplied by 1 if its larger than 0 and if its smaller than 0 then multiplied by 0..?
Search found 6 matches
- Wed May 26, 2010 11:58 am
- Forum: Data Manipulation
- Topic: Dummy variables
- Replies: 5
- Views: 5364
- Wed May 26, 2010 10:00 am
- Forum: Data Manipulation
- Topic: Dummy variables
- Replies: 5
- Views: 5364
Re: Dummy variables
Two clarifying questions: (1) What does the expression "(-sp500+1,931650171)" mean in EViews? (2) There are quite a few sets of parentheses. Could you separate out one that you want to look at? (1): The sp500 is a series of stock return and the 1,931650171 is just a number that we change a...
- Wed May 26, 2010 9:14 am
- Forum: Data Manipulation
- Topic: Dummy variables
- Replies: 5
- Views: 5364
Dummy variables
Hello, I was wondering how we could include dummy variables into our equation. We have The following simultaneous equationsystem; dklcl=c(1)+c(2)*(dklcl(-1))+c(2)*(dklcl(-2))+c(2)*(dklcl(-3))+c(2)*(dklcl(-4))+ c(2)*(dklcl(-5))+c(3)*(-sp500+1,931650171) dsp500=c(4)+c(5)*(dsp500(-1))+c(5)*(dsp500(-2))...
- Sat May 22, 2010 8:33 am
- Forum: Estimation
- Topic: Syntax error?
- Replies: 3
- Views: 10430
Re: Syntax error?
You were right about the commas! I putted dots instead and now its working to include the numbers! Thank you! :)
- Sat May 22, 2010 8:30 am
- Forum: Estimation
- Topic: Syntax error?
- Replies: 3
- Views: 10430
Re: Syntax error?
Hi, thank you for your comments! Yes, Im typing them both in since I have a simultanoeous equations system, and theyre working now! :) The problem seems to have been that I included the numbers in the last variable and also too few paranthesises, this formula is working, so I just need to figure out...
- Sat May 22, 2010 4:16 am
- Forum: Estimation
- Topic: Syntax error?
- Replies: 3
- Views: 10430
Syntax error?
Hello, Im trying to figure out whats wrong with this equation in eviews, it says syntax error, so I guess I must have typed it in wrongly. Any suggestions would be very welcomed! dklcl=c(1)+c(2)*((dklcl(-1)+dklcl(-2)+dklcl(-3)+dklcl(-4)+dklcl(-5))+c(3)*(-sp500+1,931650171) dsp500=c(4)+c(5)*(dsp500(-...
