rbivgeomRoy: Pseudo-random generation

Description Usage Arguments Value Author(s) References See Also Examples

Description

Generation of pseudo-random values from Roy's bivariate geometric model

Usage

1
rbivgeomRoy(n, theta1, theta2, theta3)

Arguments

n

a positive integer, corresponding to the sample size

theta1

paramater θ_1

theta2

paramater θ_2

theta3

paramater θ_3

Value

A n\times 2 numeric matrix containing the bivariate sample values

Author(s)

Alessandro Barbiero

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

dbivgeomRoy, FbivgeomRoy

Examples

1
2
3
4
5
6
7
8
9
theta1 <- 0.5
theta2 <- 0.7
theta3 <- 0.9
# random sample of size n=1000:
set.seed(12345)
n <- 1000
d <- rbivgeomRoy(n, theta1, theta2, theta3)
# joint frequency distribution:
table(d[,1],d[,2])

bivgeom documentation built on May 2, 2019, 6:36 a.m.