cas/xcas implementation of Geometric PDF

05122021, 06:37 PM
(This post was last modified: 05162021 03:22 PM by Wes Loewer.)
Post: #3




RE: cas/xcas implementation of Geometric PDF
(05102021 06:23 PM)parisse Wrote: There is no check on k being an integer for geometric_cdf since it's not necessary to compute the expression. I take it that for the binomial and poisson cdf functions that this check is necessary, although I suppose at least the pdf versions could be calculated for nonintegers using gamma functions for the factorials. Do your cdf implementations of binomial and poisson use a discrete summation, or something more sophisticated? Still, it seems like for consistency and to avoid user error, it would be better to restrict the values to integers. Same for the return value of GEOMETRIC_ICDF(). Are there ever any situations where a noninteger is useful here? In any case, the new Probability Wizard is treating the Geometric distribution as if it were continuous which produces some incorrect results. I'll file a report on that. 

« Next Oldest  Next Newest »

Messages In This Thread 
cas/xcas implementation of Geometric PDF  Wes Loewer  05092021, 06:40 PM
RE: cas/xcas implementation of Geometric PDF  parisse  05102021, 06:23 PM
RE: cas/xcas implementation of Geometric PDF  Wes Loewer  05122021 06:37 PM

User(s) browsing this thread: