Group Abstract Group Abstract

Message Boards Message Boards

0
|
2.8K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Solving relations between statistics

Posted 10 years ago

Good day to all the members. I am rather new to Mathematica and I apologise if this is a redundant question or if it has been answered elsewhere on this forum. (I searched but could not find it) While I have used the Solve function to solve some equations they have always been in the traditional form given by the help function.

Is it possible to solve 1 set of statistics in terms of another set, when they both depend on the same variables.

For example:

U1 = Y1/(Y1 + Y2 + Y3)

U2 = Y2/(Y1 + Y2 + Y3)

V1 = Y1/Y3

V2= Y2/Y3

Solve[{V1, V2}, {U1, U2}]

I know from doing the calculations by hand that the solution is

U1=V1/(1+V1+V2)

U2=V2/(1+V1+V2)

but I have too many of these equations to do them all by hand.

Thanks for any help

POSTED BY: Albert Mijburgh
2 Replies
Posted 10 years ago

Thank you very much! Solved my problem instantly

POSTED BY: Albert Mijburgh

Hi Albert,

You want to 'eliminate' Y1 and Y2 from your equations if I understood correctly. This can be done using Eliminate:

Eliminate[{U1 == Y1/(Y1 + Y2 + Y3), U2 == Y2/(Y1 + Y2 + Y3), V1 == Y1/Y3, V2 == Y2/Y3}, {Y1, Y2}]

this will automatically look at all the cases, also the case for which Y3 = 0. You can use Refine to simplify your expressions based on assumptions...

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard