- #1
Weather Freak
- 40
- 0
So I have what I think is going to be a silly matrix algebra question.
I'm performing a linear regression, using standard matrix algebra:
Y = XA (all are matrices)
I have found my coefficients (A) and now I wish to use that information to get X as a function of Y.
If this were a normal algebraic equation, I'd have X = Y/A, but that doesn't make sense in matrix-land.
I've tried: Y * A' * inv(A * A') = X, but that doesn't give me numbers which make any sense.
Can anyone help me clear this up? I'm sure it's not too difficult... thanks!
EDIT: I suppose it might be useful to give some matrix dimensions, but I think the algebra should be the same no matter what... A = (10x144), X = (1x10), Y = (1x144)
I'm performing a linear regression, using standard matrix algebra:
Y = XA (all are matrices)
I have found my coefficients (A) and now I wish to use that information to get X as a function of Y.
If this were a normal algebraic equation, I'd have X = Y/A, but that doesn't make sense in matrix-land.
I've tried: Y * A' * inv(A * A') = X, but that doesn't give me numbers which make any sense.
Can anyone help me clear this up? I'm sure it's not too difficult... thanks!
EDIT: I suppose it might be useful to give some matrix dimensions, but I think the algebra should be the same no matter what... A = (10x144), X = (1x10), Y = (1x144)