The partial correlation formula:
p = (A - BC)/((sqrt(1 - B2))(sqrt(1 - C2)))
where p = partial correlation (r23.1), A = r23, B = r12, C = r13
I want to solve for B.
I tried solving it by squaring the whole formula first:
p2 = (A - BC) (A - BC) / (1 - B2) (1 - C2)
p2 = (A2 - 2ABC + B2C2) / (1 - C2 - B2 + B2C2)
Then multiply by p2:
p2 - p2C2 - p2B2 + p2B2C2 = A2 - 2ABC + B2C2
Then I tried moving every term with an B to one side:
- p2B2 + p2B2C2 + 2ABC - B2C2= - p2 + p2C2 + A2
But then I am stumped. I don't know what to do next, since there are 3 terms with B2 and one with B on the same. Any help would be greatly appreciated.
Not sure if this belongs in the algebra category (maybe this involves calculus?).
p = (A - BC)/((sqrt(1 - B2))(sqrt(1 - C2)))
where p = partial correlation (r23.1), A = r23, B = r12, C = r13
I want to solve for B.
I tried solving it by squaring the whole formula first:
p2 = (A - BC) (A - BC) / (1 - B2) (1 - C2)
p2 = (A2 - 2ABC + B2C2) / (1 - C2 - B2 + B2C2)
Then multiply by p2:
p2 - p2C2 - p2B2 + p2B2C2 = A2 - 2ABC + B2C2
Then I tried moving every term with an B to one side:
- p2B2 + p2B2C2 + 2ABC - B2C2= - p2 + p2C2 + A2
But then I am stumped. I don't know what to do next, since there are 3 terms with B2 and one with B on the same. Any help would be greatly appreciated.
Not sure if this belongs in the algebra category (maybe this involves calculus?).