Average Access time in caches

I know that the average access time for systems with level 1 caches is:

Average Access Time = Hit time + (Miss Rate x Miss Penalty)

How can this be generalized for n level caches?