I realize that. My point was simply that, while it may be tempting to conclude that as mtbs increases, so does the probability of the input being dead, that may not be the case. Specifically, I wouldn't necessarily expect Pdeath to be a monotonic function of mtbs (or "dormancy", if you will).
There are a couple of nice parsing code bases available, as was mentioned on the thread where you requested that. I'd recommend Znort's (available as a github repository). A really easy place to start is the following post in his 410 richest addresses thread:
https://bitcointalksearch.org/topic/m.1596690
If you're on Linux it will literally take you 5 lines in a terminal to get going--and that includes one for installing build tools ;-).