In general we can partition the characteristics contained in a random vector into several groups of arbitrary sizes.

Assume that belong to personal traits and belong to physical traits. Then we can denote as:

Then the expectation is:

and the is