rmvbtld | R Documentation |
This function is the random generator for length n d-dimensional MVBTLD random variables.
rmvbtld(n, theta, alpha, sigma, dim, normalize = FALSE, ...)
n |
size of dataset desired |
theta |
mode matrix. 2 Must be d-by-2 dimensions. |
alpha |
scale matrix. Must be d-by-2 dimensions. |
sigma |
value on the off diagonal for Gaussian covariance matrix used in copula generation. Can be vector. |
dim |
number of dimensions |
normalize |
default is FALSE. If true normalize across dimensions so that each observation is a probability space and thus sums to 1. |
... |
kws for |
matrix n by d random variates from the MVBTLD
alpha<-matrix(c(3,3,3,3),nrow=2,ncol=2, byrow=TRUE) theta<-matrix(c(0.3,0.7,0.3,0.7),ncol=2,nrow=2,byrow=TRUE) rmvbtld(1000, alpha=alpha, theta=theta, sigma=0.5,dim=2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.