From: Emmie on 15 Feb 2007 12:49 Hello, I am trying to use this function: mhsample(start,nsamples,'pdf',pdf,'proppdf',proppdf,'proprnd',proprnd) I read the documentation for this function, but I still do not understand what the "proprnd" is. I understand the M-H algorithm, but I don't think the algorithm needs to generate any random number for the proposal density. I thought we only need to draw from the proposal density. So what is the "proprnd" for? And what should I specify this function as? How should I intepret the examples given in the help file? Thank you very much.
|
Pages: 1 Prev: Real-Time Workshop target: Error using ==> rtwgen Next: code or any help |