p2beta_diff: Probability for difference of x or more between two beta...

View source: R/p2beta_diff.r

p2beta_diffR Documentation

Probability for difference of x or more between two beta distributions

Description

Probability for difference of x or more between two beta distributions

Usage

p2beta_diff(x, a1, b1, a2, b2)

Arguments

x

value

a1

alpha for first

b1

beta for first

a2

alpha for second

b2

beta for second

Value

returns the probability of a difference of x or more between two beta distributions. This is a simplification of the original P2beta function simplified for vectorization. Therre is a lot of space here for improved run times.

Author(s)

Randall Henner


GNGTools documentation built on Dec. 16, 2022, 5:09 p.m.