Sum of Squares
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Sum of Squares
Hi, I'm doing my master thesis now and I wondered if there is a way to calculate the sum of squred differenceof 87 stocks. I want the sum of AB, AC... BC, BD etc. Im doin pairs trading as topic
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Sum of Squares
You'll have to either calculate each one manually, or write a quick program with a for loop to loop through them, using the @sumsq function.
Re: Sum of Squares
is it difficult to write such a program?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Sum of Squares
No.
Read the programming chapter of the Command and Programming Reference, and read through this thread:
http://forums.eviews.com/viewtopic.php?f=5&t=1638
Read the programming chapter of the Command and Programming Reference, and read through this thread:
http://forums.eviews.com/viewtopic.php?f=5&t=1638
Re: Sum of Squares
is it possible to use this?
https://support.office.com/en-gb/articl ... n-GB&ad=GB
https://support.office.com/en-gb/articl ... n-GB&ad=GB
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13600
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Sum of Squares
If you were using Excel...
Re: Sum of Squares
I can't figure out the programming, could you help me out?
Who is online
Users browsing this forum: No registered users and 2 guests
