In this paper, we present a generalized Japan Standard Time algorithm (JST-algo) for higher-order atomic clock ensembles and mathematically clarify the relations of the (generalized) JST-algo and the conventional Kalman filtering algorithm (CKF-algo) in the averaged atomic time and the clock residuals for time scale generation. In particular, we reveal the fact that the averaged atomic time of the generalized JST-algo does not depend on the observation noise even though the measurement signal is not filtered in the algorithm. Furthermore, the prediction error of CKF- algo is rigorously shown by using the prediction error regarding an observable state space. It is mathematically shown that when the covariance matrices of system noises are id...