Learn R Programming

bivgeom (version 1.0)

SbivgeomRoy: Joint survival function

Description

Joint survival function for Roy's bivariate geometric model

Usage

SbivgeomRoy(x, y, theta1, theta2, theta3)

Arguments

x

vector of observations from the first variable \(X\)

y

vector of observations from the second variable \(Y\) (same length as x)

theta1

paramater \(\theta_1\)

theta2

paramater \(\theta_2\)

theta3

paramater \(\theta_3\)

Value

The probability \(P(X\geq x, Y\geq y\). For this model it is equal to \(S(x,y)=\theta_1^x\theta_2^y\theta_3^{xy}\)

References

Roy, D. (1993) Reliability measures in the discrete bivariate set-up and related characterization results for a bivariate geometric distribution, Journal of Multivariate Analysis 46(2), 362-373.

See Also

FbivgeomRoy

Examples

Run this code
# NOT RUN {
theta1 <- 0.5
theta2 <- 0.7
theta3 <- 0.9
# probability that X>=2 and Y>=3:
SbivgeomRoy(2, 3, theta1, theta2, theta3)
# }

Run the code above in your browser using DataLab