Is there any math-y treatment of Peddler variants talking about statistics and economy and engine-building?

Sometimes a kingdom has no draw other than peddler variants, but anyone that's ever played with something like Forager and Peddler knows that it's possible to end up with a deck with nothing but Peddlers in it pretty quickly.

An all-Peddler deck is super-consistent...until the deck has 5 stop cards in it, at which point, it's essentially guaranteed to stall, but only after playing a few cards (how many, on average?) and finally drawing all 5 stops.

So: What's the formula for average cash-per-hand based on a five-card hand, the total number of stop cards in the deck and the total number of Peddlers? That might offer some guidance about when to start greening, how many Provinces/Duchies you'll likely get, especially if one of the stop card is a terminal +buy.