I have what seems like a simple problem to state, but it’s beyond what I know of probability to figure out how to analyze it. So I’m asking for some help. I’m not looking for answers here, maybe just some direction as to what type of problem this is or how to look at it (of course I won’t object to any or all solutions).
It’s essentially a ‘waiting until success’ problem with the addition that the probability of success varies in some known fashion. I’ll state it in the form of an abstract example:
Every day Jack drives his car to the train station and rides the train to work. Let’s say there’s no parking lot, so Jack must park on a nearby street. He drives down the street searching for a parking spot and will park at the first parking spot he finds. Assume that the probability of any existing parking spot is p(x), where x is the distance from the station. Because other people take the train, p(x) changes (likely increases) the further Jack gets from the station. What is the expected distance that Jack will drive if p(x) is the same every morning?
Here’s a few cases I’m thinking of, and terminology:
I can set up a discrete statement - if, for example the probability of a spot on each ‘block’ i is p[sub]i[/sub] and the prob. of no spot on a block is q[sub]i[/sub]. If we further imagine that at some point the prob. of a spot = 1 (or define this event to be that Jack gives up or runs out of gas), we can generate a probability distribution P(x) for parking as:
P(1) = p[sub]1[/sub]
P(2) = q[sub]1[/sub]p[sub]2[/sub]
P(3) = q[sub]1[/sub]q[sub]2[/sub]p[sub]3[/sub]
…
n-1
P(n) = p[sub]n[/sub] * | | (q[sub]i[/sub])
| |
i = 1
(that’s a big pi there)
My problem is in finding the expectation for a long series easily and in generalizing to a continuous p(x) (say, linear).
I can see that I could work on this discretely as a multinomial distribution (with each ‘block’ having its own variable), but I’m hoping there’s something simpler given a simple function for p(x). Note I’m only interested in expectations really, not in finding the distribution fn.