Escolar Documentos
Profissional Documentos
Cultura Documentos
Think of it this way. OLS regression tells you to hold the portfo
compute Beta for you to minimize the standard deviation of th
hold:
The standard deviation of return of asset Y times -Rho divide
The standard deviation of return of asset X divided by (1 - Rh
Think of it this way. OLS regression tells you to hold the portfo
compute Beta for you to minimize the standard deviation of th
hold:
I'm looking for a linear regression that will minimize the ("clos
("vertical distance to the line")^2 as with standard linear least
This is sometimes called orthogonal regression or total least s
http://en.wikipedia.org/wiki/Total_least_squares
0.0549 0.0118 0.0118
0.4990 0.0648 0.0648
1.2477 0.1365 0.1365
1.3439 0.1509 0.1509
0.9849 0.1730 0.1730
1.5304 0.1934 0.1934
0.9769 0.1991 0.1991
1.2821 0.2523 0.2523
1.6606 0.2714 0.2714
1.5627 0.2844 0.2844
1.7861 0.2897 0.2897
1.7280 0.2987 0.2987
1.5151 0.3028 0.3028
1.2807 0.3093 0.3093
1.4339 0.3412 0.3412
1.9614 0.3420 0.3420
1.2501 0.3704 0.3704
1.5916 0.3784 0.3784
1.9384 0.4449 0.4449
1.8366 0.4692 0.4692
2.1051 0.4966 0.4966
2.0129 0.5226 0.5226
2.4959 0.5341 0.5341
2.1110 0.5417 0.5417
1.8384 0.5466 0.5466
1.7141 0.5681 0.5681
1.5000 0.5936 0.5936
2.0627 0.6213 0.6213
2.6729 0.6449 0.6449
2.3864 0.6602 0.6602
2.4871 0.6614 0.6614
2.2778 0.6822 0.6822
2.3559 0.6946 0.6946
2.8558 0.6979 0.6979
2.3110 0.7027 0.7027
2.2392 0.7271 0.7271
2.8841 0.7373 0.7373
2.3997 0.7948 0.7948
2.6302 0.8180 0.8180
3.3867 0.8216 0.8216
3.3287 0.8385 0.8385
3.3824 0.8537 0.8537
2.5985 0.8600 0.8600
2.8299 0.8757 0.8757
3.5722 0.8801 0.8801
3.3630 0.8939 0.8939
3.4912 0.8998 0.8998
3.6173 0.9568 0.9568
3.3579 0.9797 0.9797
3.1547 0.9883 0.9883
Ordinary Least Squares ( Normal ) OLS x'y OLS y'x
2.8625 #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
0.5704 #VALUE! #VALUE! #VALUE! #VALUE! #VALUE!
#VALUE! #VALUE! #VALUE! #VALUE!
#VALUE! #VALUE! #VALUE! #VALUE!
#VALUE!
ities, and attempting to keep them market neutral. A simple example is:
would buy (AAPL/SPY)*2 = 4.6 shares of SPY. In this case AAPL?s beta to
vs SPY pair is to say for every share of SPY sold, I would buy (SPY/AAPL)
s case SPY?s beta to AAPL is .5
ect to find that the calculation of AAPL?s beta to SPY is simply the inverse
where things stop making sense to me. Using Bloomberg to calculate the
2010 returns results in 1.065. Doing the same to calculate the Beta of SPY
d manually calculating these betas in excel and came up with the same
here the beta of ABC to XYZ does not equal the inverse of the beta of XYZ
XYZ does not equal the inverse of XYZ to ABC, there is a problem when
sulting ratio should be the same either way. I think I'm either calculating
hing this pair neutrality from the wrong angle and have incorrect expectations
on tells you to hold the portfolio $1 of asset Y and -Beta of asset X. It will
e the standard deviation of this portfolio. Orthogonal regression tells you to
on tells you to hold the portfolio $1 of asset Y and -Beta of asset X. It will
e the standard deviation of this portfolio. Orthogonal regression tells you to
nt then the correlation between the two assets is small and asset X has
set Y. In this case, X is not a good hedge for Y as it will not reduce risk
lity. If you held X and used OLS to to find out how much Y to use for a
number.
erior way of identifying "correlated" pairs than least square regression? Also,
esting the significance of parameters obtained from orthogonal regression
al, no?
that will minimize the ("closest distance to the line")^2 rather than the
as with standard linear least squares.
nal regression or total least squares regression.
_least_squares
0.0549
0.4990
1.2477
1.3439
0.9849
1.5304
0.9769
1.2821
1.6606
1.5627
1.7861
1.7280
1.5151
1.2807
1.4339
1.9614
1.2501
1.5916
1.9384
1.8366
2.1051
2.0129
2.4959
2.1110
1.8384
1.7141
1.5000
2.0627
2.6729
2.3864
2.4871
2.2778
2.3559
2.8558
2.3110
2.2392
2.8841
2.3997
2.6302
3.3867
3.3287
3.3824
2.5985
2.8299
3.5722
3.3630
3.4912
3.6173
3.3579
3.1547
A Comparison of a Simple Linear Regression and
i xi yi
1 1 0.0118 0.0549
1 2 0.0648 0.4990
1 3 0.1365 1.2477
1 4 0.1509 1.3439
1 5 0.1730 0.9849
1 6 0.1934 1.5304
1 7 0.1991 0.9769
1 8 0.2523 1.2821
1 9 0.2714 1.6606
1 10 0.2844 1.5627
1 11 0.2897 1.7861
1 12 0.2987 1.7280
1 13 0.3028 1.5151
1 14 0.3093 1.2807
1 15 0.3412 1.4339
1 16 0.3420 1.9614
1 17 0.3704 1.2501
1 18 0.3784 1.5916
1 19 0.4449 1.9384
1 20 0.4692 1.8366
1 21 0.4966 2.1051
1 22 0.5226 2.0129
1 23 0.5341 2.4959
1 24 0.5417 2.1110
1 25 0.5466 1.8384
1 26 0.5681 1.7141
1 27 0.5936 1.5000
1 28 0.6213 2.0627
1 29 0.6449 2.6729
1 30 0.6602 2.3864
1 31 0.6614 2.4871
1 32 0.6822 2.2778
1 33 0.6946 2.3559
1 34 0.6979 2.8558
1 35 0.7027 2.3110
1 36 0.7271 2.2392
1 37 0.7373 2.8841
1 38 0.7948 2.3997
1 39 0.8180 2.6302
1 40 0.8216 3.3867
1 41 0.8385 3.3287
1 42 0.8537 3.3824
1 43 0.8600 2.5985
1 44 0.8757 2.8299
1 45 0.8801 3.5722
1 46 0.8939 3.3630
1 47 0.8998 3.4912
1 48 0.9568 3.6173
1 49 0.9797 3.3579
1 50 0.9883 3.1547
Sum 27.3780 106.8877
x bar 0.54756
y bar 2.13775
SSxx 3.57017
SSxy 10.21956
SSyy 34.04917
X0
3.50
3.00
2.50
2.00
1.50
1.00
0.50
0.00
0.00 0.20 0.40 0.60 0.80
1.0
0.8
0.6
0.4
0.2
0.0
-0.2
-0.4
1 2.3147
-0.6
-0.8
-1.0
0.00 0.10 0.20 0.30 0.40 0.50 0.60 0.70 0.80
Simple Linear Regression and a Total Least Squares Fit
on Minimizes the sum of squared y deviations from the line of best fit
nimizes the sum of squared distances of the data points from the line of best fit
68.7469842
68.7469842
Population Values
Actually I think there's a typo in there. The left inner term should probably be 0.5*ATAN[L
becomes an equally weighted average of the angles - not slopes - of the two regressions
derivation of that expression and Aaron Brown didn't give a proof.
W = (SSyy-SSxx)/(2SSxy)
W + SQRT(W2 + 1) Y=MX+C
W - SQRT(W + 1)
2
D. F. Mean Sq
1 29.25333
48 0.09991 (n-2)r2/(1 - r2) 292.7866863441
49 0.69488
Fobs = 292.7866863441
Fcritical = #VALUE!
P-Value = 2.62795027E-22
atter Plot
Data
Sim Lin
0.60 0.80 1.00 R
-1.6906216
3.331766811556
0.639605065346