Your M and Q are what Harrington calls the weak force and the strong force. Both are guages to assess the need to, make a move, and both apply to tournament play only. The M, a term coined by Paul Magriel, is the more important of the 2 concepts and is simply the size of you or your opponents chip stacks compared to the total of the blinds and antes or in short, the cost to play per round. On-line, this is a breeze to calculate because the chip stacks and pot total are usually displayed. In live play, you should always know the blinds and antes, but determining chip stacks at the table requires more of a knack. The Math = Pot/stack.
Your Q is a term coined apparently bt DH himself and as you said, it is the ratio of your chip stack compared to the average chip stack left in the tournament. Again, a breeze on-line, not so easy live. But, if you know the original buy in, and the number of players who started, you can determine the total value of chips in play. This number will remain constant throughout the tournament so you only have to do it once. The second part is trickier. To determine the average chip stack, you must be aware of how many players are left. In a large tournament, this might not be possible unless the information is provided somehow. In the bigger events it usually is. Vegas Night at the Elks Club, probably not.
Math = Your Chip Stack / (Number of original entrants x Buy-In) / Players Remaining)
Again some good news. This Q concept is like pokers version of determining your cholesterol level. It's a good thing to know, but it's more an indicator of overal health than immediate danger.
I have to do alot of math in my line of work. Usually to determine quantities of material that I will need to complete a project. Very rarely are exact numbers required. When I'm determining a ratio with some insignificant figures I'll often drop the last 1 or 2 digits from both numbers and round the numbers up or down to make the numbers easier to reduce.
Sorry for the long post BoTY. I know it's more than you needed, but I thought it might be helpfull for some of the new members to know what we were talking about.