Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

different results for same initial parameters #3

Open
psarkis opened this issue Apr 9, 2015 · 1 comment
Open

different results for same initial parameters #3

psarkis opened this issue Apr 9, 2015 · 1 comment

Comments

@psarkis
Copy link

psarkis commented Apr 9, 2015

I run the same code by changing the initial slope parameter to m = 4. The first time I get an acceptance fraction: 0.2748 the second time 0.0.
I did a plot to see how the slope parameter varies with each iteration, during the second trial, it seems that the code is stuck at m = 4.
Does it has to do with how the metropolis-hastings method is being implemented?

@drphilmarshall
Copy link
Collaborator

I expect so, yes! Can you free the sampler up by varying its proposal
distribution? Perhaps the prior on m is making life difficult?

On Thu, Apr 9, 2015 at 12:26 PM, Paula Sarkis [email protected]
wrote:

I run the same code by changing the initial slope parameter to m = 4. The
first time I get an acceptance fraction: 0.2748 the second time 0.0.
I did a plot to see how the slope parameter varies with each iteration,
during the second trial, it seems that the code is stuck at m = 4.
Does it has to do with how the metropolis-hastings method is being
implemented?


Reply to this email directly or view it on GitHub
#3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants