on
the previous one?
I hope it helps;
Ales Ziberna
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 15, 2004 4:49 PM
Subject: [R] Multivariate Sampling
Dear all,
I am looking for routines which allow multi-variate sampling from
non-normal
Dear all,
I am looking for routines which allow multi-variate sampling from
non-normal distributions (loglogistic) given correlations among the
variables.
Unfortunately, I could not find a suitable package for R. Does
anybody know one?
Many thanks and best regards,
Stefan Albrecht
Dr. Bolker
I just wrote it yesterday. Thank you anyway. However do you have some
ideas about sampling from restricted beta distribution. say from beta(a,
b) but value between m and n. Now I generate lots of samples from beta(a,
b) and then choose value between m and n, but it is very
R-devel already contains rmultinom.
I don't see why rejection sampling on (m, n) should be slow unless m-n is
very small or far out in the tails, in which case why do you want this?
In any case, inversion will be a perfectly adequate method as you have
pbeta and qbeta.
On Mon, 17 Feb 2003, Peng
Hi
Thanks for replying my question! What really interested me is that the
package providing some complex form sampling, such as wishart,
multinomial, dirichlet. And others for example conditional beta
distribution confining the random variable in the interval (a, b). Since
these concept are