Sum of Squares
Moderators: EViews Gareth, EViews Jason, EViews Steve, EViews Moderator
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
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- 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.
Follow us on Twitter @IHSEViews
Re: Sum of Squares
is it difficult to write such a program?
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- 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:
viewtopic.php?f=5&t=1638
Read the programming chapter of the Command and Programming Reference, and read through this thread:
viewtopic.php?f=5&t=1638
Follow us on Twitter @IHSEViews
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
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13319
- Joined: Tue Sep 16, 2008 5:38 pm
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 25 guests