How Do You Correctly Express q(y,x) in the Metropolis-Hastings Algorithm?

  • Thread starter Thread starter kulimer
  • Start date Start date
  • Tags Tags
    Algorithm
kulimer
Messages
9
Reaction score
0
I digged out this old tread, but it is closed. I'll repost, but with my question.
https://www.physicsforums.com/showthread.php?t=74004&highlight=metropolis

\pi(x)

and
\pi(y)

and
q(y,x) is the jump distribution

in the relation:
\alpha(x,y)= \min \left( 1,\frac{\pi (y)q(y,x)}{\pi (x)q(x,y)} \right)

Say, my jump distribution(aka transition prob) is normal(0,1). How do you write out q(y,x)? Is it \frac{1}{\sqrt{2\pi }\sigma }{{e}^{\frac{{{(x-0)}^{2}}}{2{{\sigma }^{2}}}}}?

But this doesn't make sense, because it doesn't involve y, since q(y,x) means given y, the transition probability of getting x. We are suppose to relate y to x in the equation.
 
Last edited:
Physics news on Phys.org
Variables x, y, z, in algebra, are place holders.

q(y,x)=normal(0,1) means y=0 x=1

Algebra is a incomplete story of placeholders. Be careful where you can plugin the values.
 
Namaste & G'day Postulate: A strongly-knit team wins on average over a less knit one Fundamentals: - Two teams face off with 4 players each - A polo team consists of players that each have assigned to them a measure of their ability (called a "Handicap" - 10 is highest, -2 lowest) I attempted to measure close-knitness of a team in terms of standard deviation (SD) of handicaps of the players. Failure: It turns out that, more often than, a team with a higher SD wins. In my language, that...
Hi all, I've been a roulette player for more than 10 years (although I took time off here and there) and it's only now that I'm trying to understand the physics of the game. Basically my strategy in roulette is to divide the wheel roughly into two halves (let's call them A and B). My theory is that in roulette there will invariably be variance. In other words, if A comes up 5 times in a row, B will be due to come up soon. However I have been proven wrong many times, and I have seen some...
Back
Top