The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Parameters for negbinomial Function?
08-24-2016, 11:50 AM
Post: #1
Parameters for negbinomial Function?
I do not understand the description of the negbinomial function in the Help system. My understanding of this probability mass function is that it provides the probability of r successes out of x trials when the probability of a success is equal to p. The HP Prime computation is P(X=x) = COMB(x-1,r-1)*(p^r)*(1-p)^(x-r). I defined a user function this way and confirmed its results.

I want to use the built-in function negbinomial(n,k,x) but I do not understand the parameters. How do n, k, and x here relate to the x, r, and p above?

Thanks!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Parameters for negbinomial Function? - mark4flies - 08-24-2016 11:50 AM



User(s) browsing this thread: 1 Guest(s)