Serving the Quantitative Finance Community

 
User avatar
humtumiit
Topic Author
Posts: 0
Joined: April 28th, 2007, 6:20 pm

Independent variable

December 9th, 2011, 3:48 am

I have 2 stocks and How should I decide on the independent variable while testing for co integration? We can not say which one is dependent on other. We can consider any one of them as independent but which stock as independent variable would make more sense? 1. S1 ~ S22. S2 ~ S1how to decide between 1 and 2? Another question:Let us say we want to analyze pairs with basket of stocks. While regressing one basket of stocks vs the other basket of stocks, which basket should be on right and which should be on left?
Last edited by humtumiit on December 8th, 2011, 11:00 pm, edited 1 time in total.
 
User avatar
eh
Posts: 3
Joined: March 2nd, 2010, 9:26 am

Independent variable

December 9th, 2011, 12:06 pm

Use an orthogonal regression, then it doesn't matter.
 
User avatar
tags
Posts: 3630
Joined: February 21st, 2010, 12:58 pm

Independent variable

December 10th, 2011, 10:21 pm

one can have a look at 3.2 Total Least Squares of Paul Teetor's paper Better Hedge Ratios for Spread Trading .here, pb273 comments that orthogonal regression is "far more unstable" than regression of A on B or B on A.
 
User avatar
humtumiit
Topic Author
Posts: 0
Joined: April 28th, 2007, 6:20 pm

Independent variable

December 12th, 2011, 10:05 am

How to choose the dependent variable and set of independent variables if I regress S1 ~ S2+S3+S4Where S1,S2,S3,S4 are 4 different stock price.How to decide S1 should be dependent, or S2, S3, S4?
 
User avatar
Traden4Alpha
Posts: 3300
Joined: September 20th, 2002, 8:30 pm

Independent variable

December 12th, 2011, 10:45 am

Ordinary regression assumes that the independent variables (the right-hand side of your eqn.) have no noise, measurement imperfections, etc. and that only the value of the dependent variable has such disturbances. So if one stock price is "imperfect" and the rest are "perfect" then that's your answer.But if the independent variables do have measurement error, then you get biased results.Methods such as orthogonal regression and total least squares can cope with the situation in which all stock prices contain some noise or error.
 
User avatar
humtumiit
Topic Author
Posts: 0
Joined: April 28th, 2007, 6:20 pm

Independent variable

December 13th, 2011, 5:52 am

Can we say like this? Let us say variance (S1) > variance(S2) and variance (S1) > variance(S3) andvariance (S1) > variance(S4)Then, can we say the variable which has highest variance should be dependent variable? This is true for the case like S1 ~ S2. But not sure about basket on one side and single stock on another.
Last edited by humtumiit on December 12th, 2011, 11:00 pm, edited 1 time in total.
 
User avatar
PavelG
Posts: 0
Joined: April 21st, 2011, 2:43 pm

Independent variable

December 13th, 2011, 10:29 am

QuoteOriginally posted by: humtumiitI have 2 stocks and How should I decide on the independent variable while testing for co integration? We can not say which one is dependent on other. We can consider any one of them as independent but which stock as independent variable would make more sense? 1. S1 ~ S22. S2 ~ S1how to decide between 1 and 2? Market Cap is very well test. If s1 - 10Billion and s1 - 2Billion, s1 independent, s2-dependent
 
User avatar
PavelG
Posts: 0
Joined: April 21st, 2011, 2:43 pm

Independent variable

December 13th, 2011, 10:29 am

QuoteOriginally posted by: PavelGQuoteOriginally posted by: humtumiitI have 2 stocks and How should I decide on the independent variable while testing for co integration? We can not say which one is dependent on other. We can consider any one of them as independent but which stock as independent variable would make more sense? 1. S1 ~ S22. S2 ~ S1how to decide between 1 and 2? Market Cap is very well test. If s1 - 10Billion and 21 - 2Billion, s1 independent, s2-dependent
 
User avatar
PavelG
Posts: 0
Joined: April 21st, 2011, 2:43 pm

Independent variable

December 13th, 2011, 10:29 am

QuoteOriginally posted by: PavelGQuoteOriginally posted by: PavelGQuoteOriginally posted by: humtumiitI have 2 stocks and How should I decide on the independent variable while testing for co integration? We can not say which one is dependent on other. We can consider any one of them as independent but which stock as independent variable would make more sense? 1. S1 ~ S22. S2 ~ S1how to decide between 1 and 2? Market Cap is very well test. If s1 - 10Billion and s2 - 2Billion, s1 independent, s2-dependent
 
User avatar
PavelG
Posts: 0
Joined: April 21st, 2011, 2:43 pm

Independent variable

December 13th, 2011, 10:29 am

QuoteOriginally posted by: PavelGQuoteOriginally posted by: PavelGQuoteOriginally posted by: humtumiitI have 2 stocks and How should I decide on the independent variable while testing for co integration? We can not say which one is dependent on other. We can consider any one of them as independent but which stock as independent variable would make more sense? 1. S1 ~ S22. S2 ~ S1how to decide between 1 and 2? Market Cap is very well test. If s1 - 10Billion and s2 - 2Billion, s1 independent, s2-dependent
 
User avatar
humtumiit
Topic Author
Posts: 0
Joined: April 28th, 2007, 6:20 pm

Independent variable

December 15th, 2011, 5:09 am

In co integration relationship for pairs trading, we regress S1 ~ S2 without intercept. But we know, regression without intercept increases R square dramatically. How to handle this? R square change dramatically, how can we say that this fitting is not spurious?