Description Usage Arguments Value Examples
This function simulates bivariate uniform data via Beta(1-t,1+t) and a specified correlation (rho) as described in Demirtas (2014).
1 | genbivunif.t(N=10000, rho, print.cor=TRUE)
|
N |
The sample size for the bivariate uniform data to be simulated. Default is 10,000. |
rho |
Theoretical correlation for the uniform data to be simulated. |
print.cor |
Option to print correlation results. Default is TRUE. |
A list of length 3 containing the simulated bivariate uniform data, the theoretical correlation specified by the user, and the empirical correlation of the simulated data titled unif.dat, specified.rho, and empirical.rho, respectively.
1 2 3 | set.seed(567)
res.gent<-genbivunif.t(N=10000, rho=0.9)
#"Specified rho is 0.9 and empirical rho is 0.897883."
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.