Calculators TI-89 Titanium - Probability - Expected Value

AI Thread Summary
The discussion centers on calculating the Expected Value of multiple outcomes with their respective probabilities using the TI-89 calculator. The user seeks a method to input outcomes and probabilities in a matrix format and compute the expected value efficiently. The solution involves utilizing the TwoVar() function on the TI-89, which not only calculates the expected value but also provides additional statistical insights beyond the basic calculation. This approach allows for a streamlined process of managing and analyzing probability data in a user-defined function format.
rekshaw
Messages
15
Reaction score
0
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:

\begin{pmatrix}<br /> <br /> 1 &amp; 1/6 \\<br /> 2 &amp; 1/6 \\<br /> 3 &amp; 1/6 \\<br /> 4 &amp; 1/6 \\<br /> 5 &amp; 1/6 \\<br /> 6 &amp; 1/6 \end{pmatrix}

To find the expected value I would need to do:

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

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 x 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!
 
Last edited by a moderator:
Computer science news on Phys.org
This week, I saw a documentary done by the French called Les sacrifiés de l'IA, which was presented by a Canadian show Enquête. If you understand French I recommend it. Very eye-opening. I found a similar documentary in English called The Human Cost of AI: Data workers in the Global South. There is also an interview with Milagros Miceli (appearing in both documentaries) on Youtube: I also found a powerpoint presentation by the economist Uma Rani (appearing in the French documentary), AI...

Similar threads

Replies
5
Views
5K
Replies
1
Views
5K
Replies
1
Views
16K
Replies
3
Views
3K
Replies
2
Views
7K
Replies
8
Views
10K
Back
Top