TI-89 HomeGames ArchiveTitanium GamesGames How ToProgramsFAQForumTI-89 WikiLinks

The Stat/List Editor’s binomial CDF is sometimes inaccurate.

 
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> Math
Author Message
BlainUSM



Joined: 24 Oct 2009
Posts: 30
Location: New England

PostPosted: February 1, 2010 11:17 AM    Post subject: The Stat/List Editor’s binomial CDF is sometimes inaccurate. Reply with quote

The function TIStat.binomCDF(n,p,low,up) may produce inaccurate answers when the parameter n is greater than a million.

I first noticed the error in the function during an in-class evaluation of the safety of commercial air flights, which happened to involve a binomial distribution with a large value of n. Here’s a similar example:

Input: TIStat.binomCDF(10^6,.00001,0,10)

Output: -3

The correct answer is approximately .58304, as indicated by Mathematica. For values of n less than a million, the function TIStat.binomCDF tends to agree with Mathematica. A binomial distribution may be defined that does not have the limitations of the one above:

Input: Define bi(n,p,l,u) = Σ(nCr(n,i)*p^i*(1-p)^(n-i),i,l,u)

Input: bi(10^6,.00001,0,10)

Output: .5830…

TI may have lessened the severity of this problem on newer 89’s; for all n ≥ 10^6, the function TIStat.binomCDF appears to return -3, an answer that is obviously not correct. On older TI-89’s, TIStat.binomCDF will sometimes return an inaccurate answer between 0 and 1, which could cause some confusion.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:    View previous topic : View next topic  
Post new topic   Reply to topic    Your TI-89 Resource Forum Index -> Math All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Contact Us | Privacy Policy | Disclaimer | Trademarks

Copyright ©2006 All rights reserved.


Free Greeting Cards | Girly Myspace Layouts | Myspace Unblocker |