Description Usage Arguments Value Examples
Generates an n-random sample according to a Tweedie Bayesian network with parameters (p,phi,beta)
1 | generateSample.tbn(beta, phi, p, n)
|
beta |
a lower triangular matrix of the Tweedie Bayesian network coefficients. |
phi |
a vector of dispersion parameters. |
p |
a vector of power parameters. |
n |
an integer specifying the sample size. |
This function returns a matrix containing a random sample of n vectors drawn form a Tweedie Bayesian network.
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.