subroutine  cond_mean
pageselect quarterly

smpl @all

for !h = 1 to 12

if (!h<5) or (!h=8) or (!h=12) then

series m1_h!h_cond_mean = m1_h!h_q50
series m2_h!h_cond_mean = m2_h!h_q50
series m3_h!h_cond_mean = m3_h!h_q50
series m4_h!h_cond_mean = m4_h!h_q50
series m5_h!h_cond_mean = m5_h!h_q50
series m6_h!h_cond_mean = m6_h!h_q50
series m7_h!h_cond_mean = m7_h!h_q50
series m8_h!h_cond_mean = m8_h!h_q50

series m9_h!h_cond_mean   = m1_h!h_cond_mean
series m10_h!h_cond_mean = m2_h!h_cond_mean
series m11_h!h_cond_mean = m3_h!h_cond_mean
series m12_h!h_cond_mean = m4_h!h_cond_mean
series m13_h!h_cond_mean = m5_h!h_cond_mean
series m14_h!h_cond_mean = m6_h!h_cond_mean
series m15_h!h_cond_mean = m7_h!h_cond_mean
series m16_h!h_cond_mean = m8_h!h_cond_mean

endif

next

endsub
call cond_mean
