[R] R - need more memory, or rejection sampling algorithm doesn't work?
ekwaters at unimelb.edu.au
Tue Mar 3 06:39:27 CET 2009
I am trying to run rejection sampling for the quantity z11 in the function
below. Unfortunately I can't simplify the function further so that z11 only
Whenever I run the algorithm, R looks as if it is running it (no error
messages or anything), but then nothing happens for minutes...how long
should it take to run something like this in R? I have tried in in both
linux and windows.
I realise standard rejection sampling is pretty cumbersome, so I have also
tried to run a Gibbs sampler doing rejection sampling instead of the form of
the algorithm here, with the same result. R thinks about starting to run it,
Is this a memory issue, or an issue with the algorithm?
THe GIbbs sampler I tried looks as follows:
for(i in 2000)
View this message in context: http://www.nabble.com/R---need-more-memory%2C-or-rejection-sampling-algorithm-doesn%27t-work--tp22302800p22302800.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help