Empirical model of variations in the upper atmosphere continuum emission. 3. Emitting-layer altitude