New Reply

Regression of linear combination better than just regression

 
Share Thread Thread Tools
Mar16-12, 05:42 PM   #1
 

Regression of linear combination better than just regression


Hi,
I have a problem that is giving me a headache. I have measured two angles that I believe to be related to one another, and they are (this is a data set where I have measured the angle from a datum to two features on a bone. There are 14 bones in the data set):

Angles to feature 1 (F1):
15.225
14.2318
9.4301
12.2947
14.8846
7.6533
9.0948
11.9725
4.2773
14.1819
8.841
17.1037
20.2373
13.4599

Angles to feature 2 (F2):
3.1227
9.4799
7.9047
13.4962
8.5454
24.2871
11.443
12.6693
21.5271
4.0733
5.0085
4.0101
5.4445
16.424

When I plot F1 vs F2 and do a linear correlation I get an r^2 = 0.47. Related, but not very strongly.

The thing is, I'm doing this because I have a bunch partial bone specimens and cannot define the datum, so in general I'm going to have the angle between feature 1 and feature 2, and am hoping to be able to get the position of the datum from this angle. So if I plot (F1-F2) vs F1 I get a much better correlation (r^2 = 0.74) and (F1-F2) vs F2 gets even better (r^2 = 0.9)!

What I don't understand is, how can a linear combination of the two be better than either one alone? I have added no information and the equations are not linearly independent. What am looking at in the plots with the difference?

I have attached plots of F1 vs F2, Diff vs F1 and Diff vs F2 with the regressions plotted.

Thanks for your help.
Attached Thumbnails
F1VsF2.jpg   DiffVsF1.jpg   DiffVsF2.jpg  
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Hong Kong launches first electric taxis
>> Morocco to harness the wind in energy hunt
>> Galaxy's Ring of Fire
Mar16-12, 06:21 PM   #2
 
Quote by headphones543 View Post
Hi,
What I don't understand is, how can a linear combination of the two be better than either one alone? I have added no information and the equations are not linearly independent. What am looking at in the plots with the difference?

I have attached plots of F1 vs F2, Diff vs F1 and Diff vs F2 with the regressions plotted.

Thanks for your help.
It doesn't surprise me that you get a better correlation when measuring Corr[X v Y,|X - Y|] then a for Corr(X,Y). What is the basis for angle measure: the long axis the bones? How different are the bones? How do you a gauge how the cutter would hold the bones, etc?

When you measure Corr(X, |X-Y|) or Corr(Y,|X-Y|) you are biasing the measure toward a higher correlation because the difference in the angles is dependent on the angles themselves and not some external reference. With more measurements you would have a regression to the mean difference.
 
Mar16-12, 07:17 PM   #3
 
Hi SW
Thanks for your reply. To be more specific, these measurements are taken off a set of femurs. The F1 angle is the femoral version (see red line in http://www.kevinneeld.com/wp-content...Assessment.png) and F1 is the angle from the plane that is perpendicular to the frontal plane in the last link (called the sagittal plane) to the linea aspera at 50% shaft position (http://en.wikipedia.org/wiki/Linea_aspera).

The separation angle is the angle from the femoral neck to the linea aspera (minus the 90deg constant between the sagittal and frontal planes). In general, I have only the top half of the femur, so I have the femoral neck and the linea aspera and can measure the angle between them. I would like to be able to determine where the frontal plane is from this measurement.

One thing I noticed is that if I do a 3D plot of x = version, y = linea aspera and z = (version - linea aspera) they lie on a plane that is oriented at 45°. Surprisingly (to me) this is true of any set of random numbers. For example, in Octave (or Matlab)

X = rand(50,1);
Y = rand(50,1);
Z = X-Y;
plot3(X,Y,Z,"bo");

you will see that these all lie on a plane. So it seems that my good correlations are purely from just viewing the data from the "right direction" which is hard to get my head around and makes me think that even though my question was "Can I find the frontal plane from the separation between the linea aspera and the femoral neck" I can't answer this with any more confidence than I can answer the question "Can I find the linea aspera angle given the version".

What do you think? Is that true that the lowest correlation between the two is the limiting one? Or does this simple subtracting of the two variables increase my knowledge somehow?

Thanks again.
 
Mar16-12, 11:05 PM   #4
 

Regression of linear combination better than just regression


Quote by headphones543 View Post
Hi SW
l see that these all lie on a plane. So it seems that my good correlations are purely from just viewing the data from the "right direction" which is hard to get my head around and makes me think that even though my question was "Can I find the frontal plane from the separation between the linea aspera and the femoral neck" I can't answer this with any more confidence than I can answer the question "Can I find the linea aspera angle given the version".

What do you think? Is that true that the lowest correlation between the two is the limiting one? Or does this simple subtracting of the two variables increase my knowledge somehow?

Thanks again.
I'm not qualified to comment on the technical aspects of your problem. I just wanted to verify my idea of how you are measuring angles. In general if you had random line segments on two flat piece of paper with the same orientation, you would not expect any significant correlation of the two. In your problem, I would expect some kind of pattern to be obvious to inspection and you want to measure it in terms of the Pearson correlation coefficient r or [itex] r^2[/itex]. You are not talking about a linear combination which applies to a vector space. I assume these lines are not directed line segments (vectors) in a vector space. Independent vectors are perpendicular to each other, which would be a very specific pattern. All you want know is if the angles of line segments from two sources X and Y to some to some standardized base line are correlated and to what degree. You write this as Corr(X,Y) where X and Y are random variables which are not independent in this case. When you write this as Corr(X,|X-Y|) or Corr(Y,|X-Y|) you are describing something different. It may have some use, but it's not the well understood Pearson correlation coefficient r. In other words, you might have trouble publishing it.
 
Mar19-12, 01:04 PM   #5
 
Hi SW,
Thanks for your reply. It put me in the right direction (ie, I'm out of my element here), and I'm going to consult a statistician and see what they think.

Cheers,
Seth
 
Mar20-12, 01:39 AM   #6
 
Recognitions:
Science Advisor Science Advisor
Quote by headphones543 View Post
What I don't understand is, how can a linear combination of the two be better than either one alone?
You haven't demonstrated that one method or the other is a better predictor, only that the correlation differs. The correlation has to do with the slope of the least squares regression line between two variables, not with how accurately that line predicts one variable from the value of the other.
 
New Reply
Thread Tools


Similar Threads for: Regression of linear combination better than just regression
Thread Forum Replies
Regression SS in multiple linear regression Set Theory, Logic, Probability, Statistics 2
least square linear regression Linear & Abstract Algebra 2
Linear Regression Precalculus Mathematics Homework 1
Linear regression Calculus & Beyond Homework 1
Linear regression in R Programming & Comp Sci 3