Thread Closed

TI-89 Titanium - Probability - Expected Value

 
Share Thread Thread Tools
Mar30-10, 10:27 AM   #1
 

TI-89 Titanium - Probability - Expected Value


EDIT: I found the solution, it can be done using the TwoVar() function on the TI-89 and it gives you a whole lot more than just the expected value. thanks anyways

Hello everyone! :)

I hope I will get an answer for this!

As a USER-DEFINED function I would like to be able to calculate the Expected Value of n outcomes with their respective probabilities (also in a single matrix)

it should look something like this:

[latex]\begin{pmatrix}

1 & 1/6 \\
2 & 1/6 \\
3 & 1/6 \\
4 & 1/6 \\
5 & 1/6 \\
6 & 1/6 \end{pmatrix}[/latex]

To find the expected value I would need to do:

[latex](1 \times 1/6) + (2 \times 1/6) + ... + (6 \times 1/6) = E(X)[/latex]

Basically, multiply each outcome with its probability and finally sum the whole lot...

IDEALLY...I would like to be able to make a single 2*n matrix with outcomes and probabilities side-by-side, store it as A and be able to do:
Code:
expval(A).
or...which is faster to type: make a n*2 matrix!

Anyways...sorry for the long post, any help will be much appreciated!!!!
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> King Richard III found in 'untidy lozenge-shaped grave'
>> Google Drive sports new view and scan enhancements
>> Researcher admits mistakes in stem cell study
Thread Closed
Thread Tools


Similar Threads for: TI-89 Titanium - Probability - Expected Value
Thread Forum Replies
Expected Value (probability problem) Calculus & Beyond Homework 6
Probability of expected size Calculus & Beyond Homework 2
Expected value and probability Precalculus Mathematics Homework 7
Probability and Expected value Calculus & Beyond Homework 8
Probability Theory - Expected Value. Calculus & Beyond Homework 4