QBETA 函数返回呈 Beta 分布的变量值 x,该变量小于或等于 x 的概率等于指定的百分比。
语法
IDAX.QBETA(DOUBLE percentage, DOUBLE shape, DOUBLE shapeTwo)
参数描述
- percentage
- 必需。
- 所请求的百分比限制。
- 如果 percentage 不在 0 - 1 范围内,那么对于所有的 shapeOne 值和 shapeTwo 值,QBETA(percentage,shapeOne,shapeTwo) 均为 null。
- 最小值:0.00000000001
- 最大值:0.99999999999
- 数据类型:DOUBLE
- shapeOne
- 必需。
- 分布的第一个形状。
- 如果 shapeOne 等于或小于 0,那么对于所有的 percentage 值,QBETA(percentage,shapeOne,shapeTwo) 均为 null。
- 最小值:0.00000000001
- 数据类型:DOUBLE
- shapeTwo
- 必需。
- 分布的第二个形状。
- 如果 shapeTwo 等于或小于 0,那么对于所有的 percentage 值,QBETA(percentage,shapeOne,shapeTwo) 均为 null。
- 最小值:0.00000000001
- 数据类型:DOUBLE
如果 PBETA(x,shapeOne,shapeTwo)=perc,那么对于 0 - 1 范围内的 x 值,当 shapeOne 值和 shapeTwo 值均为正时,QBETA(perc,shapeOne,shapeTwo)=x。
返回的信息
DOUBLE:点 x,在该点处,PBETA(x,shapeOne,shapeTwo)=percentage。