TI-82 PROGRAM THAT COMPUTES BINOMIAL PROBABILITIES
The TI-83 Plus has this function built-in as part of the DISTR menu. If you have a TI-82 or other calculator without this built-in program, you can write your own program as follows.
Select PRGM to get the program menu. Then select NEW to create a new program. You must first give a program name.
Comments, which should not be entered into the calculator, are set off by the symbol %.
NAME = BINOMPDF
: 0 STOà S % ‘STOà’ is right above the ‘ON’ button. %
: Prompt N % ‘Prompt’ is accessed via PRGM, I/O when you are writing or editing a program. %
: Prompt P
: Prompt K
: N nCr K*P^K * (1-P)^(N-K) STOà S % ‘nCr’ is found under MATH, PRB (select 3). %
: Disp S % ‘Disp’ is accessed via PRGM, I/O when you are writing or editing a program. %
If you want to make changes to your program, select PRGM, move to EDIT, and then select the number of the program you want to edit.
Let’s use this program to compute the probability of exactly 2 people surviving an infection of the Ebola virus among 10 independent cases of Ebola, if the probability of surviving is .10. This is Exercise 6.9c. Select the program, enter the sample size 10 when prompted for N, enter .10 when prompted for P, and enter 2 when prompted for K. This will compute Pr(K = 2) = .1937102445.