Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

Is anyone aware of a orthogonal multiple regression library that is implemented in say R, Scipy, Matlab, Octave, etc.? (Or even fortran/C...) If I'm not mistaken, it would not be difficult to write but just wanted to check.

Second question: my actual application is for a multivariate regression case where I have two matrices, $\mathbf{Y}$ and $\mathbf{X}$. If I am able to find a total least squares estimator for $\boldsymbol\beta$ and $\boldsymbol\beta'$, would the inverse of its transposed elements equal one another ($\hat{\beta}_{ji}^{-1} = \hat{\beta}'_{ij}$) if the two coefficient matrices are defined by $\mathbf{Y} = \hat{\boldsymbol{\beta}} \mathbf{X}$ and $\mathbf{X} = \hat{\boldsymbol{\beta}}' \mathbf{Y}$? It seems that this equality ($\hat{\beta}_{ji}^{-1} = \hat{\beta}'_{ij}$) does not necessarily hold as it does for the classic case, where the scalar values of $\beta^{-1}=\beta'$ when $\mathbf{Y}$ and $\mathbf{X}$ are simply vectors rather than matrices, but also wanted to check if this was a known fact.

Thanks.

share|improve this question

1 Answer

Perhaps I do not understand your question, but the result does not hold even for scalars. Suppose $$ Y=\beta X + \varepsilon, $$ where $Y$, $X$, and $\varepsilon$ are scalar random variables. Suppose $E[X \varepsilon ] = 0$. Then OLS of $Y$ on $X$ converges to $\beta$. But OLS of $X$ on $Y$ does not converge to $1/\beta$. Although it is true that $$ X = (1/\beta) Y + \eta $$ where $\eta = -\varepsilon/\beta$, notice that $E[Y \eta] \neq 0$. That is, $Y$ is correlated with $\eta$ (by definition of the first regression model), and hence OLS of $X$ on $Y$ is inconsistent; that is, it will not converge to anything, let alone $1/\beta$.

share|improve this answer
2  
The question is not about OLS, however: it is about the "total least squares estimator." This based on an errors-in-variables model. For scalars it is indeed true that the coefficients are reciprocals. This relationship does not extend to higher dimensions, though (which is obvious just from looking at the dimensions of the matrices involved). – whuber Jul 3 '12 at 19:09
Thanks for the clarification. – Aelmore Jul 4 '12 at 15:26
"This relationship does not extend to higher dimensions" is what I was looking for; the dimensions of the matrices would be the same if transposed but actually it is a little more clear that they should not be related as simply as in the scalar case. – crippledlambda Sep 30 '12 at 12:19

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.