Say you have a random variable $X$ (e.g., kilometers driven). Getting its variance is straightforward. But what if you want to say, $A$ percent of the variance in $X$ is due to $\text{Var}(X)$ for female drivers and $B$ percent is the rest, that is, $\text{Var}(X)$ for male drivers? $A + B$ should be 100 percent.
Is this possible? Are there assumptions to be made to simplify things? Independence of female and male drivers?
[Question was also asked here https://mathoverflow.net/questions/88185/variance-decomposition-anova but I realized it's best to do it at Stats instead.]