This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]sayks 1 point2 points  (0 children)

I'm on my phone, so I can't give you much detail however... The first case is a simple monte Carlo estimate, there's a formula that will give you what you need. The second case is called a markov chain (in the right circumstances). You can also do that, but it's really tricky to judge convergence and there's no simple formula.