Structure change with transition matrix

 

We continue to consider

 

for

for the first group of period of time

 

for the second group of period of time

.

.

.

 for the ns-th group of period of time

 

together with different thetafs across groups.

 

We set bigger matrix Ps(tms in the program) and thetas by:

 

 

 

where each P is dim x dim and each is dim x 1. We pick every dim of them.