[Scilab-users] Problems with cdfbet
Dang Ngoc Chan, Christophe
Christophe.Dang at sidel.com
Fri Nov 4 09:46:59 CET 2022
Hello Heinz,
> De : users <users-bounces at lists.scilab.org> De la part de Heinz Nabielek
> Envoyé : mardi 1 novembre 2022 22:02
>
> I need to compute the inverse of the cumulative beta function, but I just cannot handle cdfbet.
>From what I undestand in
https://help.scilab.org/docs/6.1.1/en_US/cdfbet.html
the notation for the beta function in Scilab is :
P = \int_{0}^{X} t^{A-1} * (1-t)^{B-1} dt
What you want is X knowing [P, A, B] right ?
The syntax seems to be
[X,Y]=cdfbet("XY",A,B,P,Q)
With Q = 1 - P.
With your examples:
--> [X,Y]=cdfbet("XY",1 ,10 ,0.95 ,0.05)
X =
0.2588656
Y =
0.7411344
--> [X,Y]=cdfbet("XY",1 ,100 ,0.95 ,0.05)
X =
0.0295130
Y =
0.9704870
Regards
--
Christophe Dang Ngoc Chan
Mechanical calculation engineer
Technology & Open Innovation
Product Management & Development
Sidel Group
Sidel Blowing & Services
Avenue de la Patrouille de France
CS 60627, Octeville-sur-Mer
76059 Le Havre cedex, France
Tel: 33(0)2 32 85 89 32
Fax: 33(0)2 32 85 91 17
<http://www.sidel.com/>
<mailto:christophe.dang at sidel.com>
General
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
More information about the users
mailing list