Jump to content

Function: gen-walk


Recommended Posts

Hi,

I was looking at the documentation of "gen-walk" function and have a doubt. It is my understanding that the probability of "forward" and probability of "backward" can each range from 0 to 1, but the sum cannot be greater than 1. However, the sum could be less than 1.

 

So, I think it is not correct to have forward probability as 1 and backward probability as 0.7. This would make the total exceed 1. However, it is OK to have forward probability as 0.3 and backward probability as 0.4. In this case the stationary probability would be 1 - 0.3 - 0.4 = 0.3

 

Am I correct in my understanding? If this is correct, then there is a mistake in the documentation of the function. There is an example with forward probability as 0.9 and backward probability as 0.3. 

 

Kindly clarify.

 

Regards,

Rangarajan

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use Privacy Policy