days
posterior
0 50 100 150 200 250 300 350
0.0 0.2 0.4 0.6 0.8 1.0
Figure 2: Posterior Probability Plot of p
θ
t
= 1
x
x
x
t
with
Informative Priors.
Table 9: AIC values for Proposed and Stationary Models
with Informative Priors.
Items Proposed Stationary
AIC -505.776 -522.896
6 CONCLUSIONS
This paper proposes a class of nonstationary Bernoulli
distribution and the Bayes optimal prediction algo-
rithm under the known nonstationary hyper parame-
ter. The proposed class has only one extra hyper pa-
rameter compared to the stationary Bernoulli distribu-
tion, and it is proved that the posterior distribution of
the Bernoulli parameter is obtained analytically. Fur-
thermore, the predictive performance of the proposed
algorithm is evaluated using real binary data. As a
result, a certain advantage for predictive performance
is discovered by comparing the results to those of the
stationary Bernoulli model; however, this point can-
not be explained in terms of model selection theory.
As important factor in the abovementioned ad-
vantage is the additional nonstationary hyper param-
eter in the proposed model. Because the empirical
Bayesian approach is used in this study and the ad-
ditional hyper parameter is estimated by the approx-
imate maximum likelihood estimation, the objective
likelihood function should be analyzed in detail. This
point will be left for future work.
REFERENCES
Akaike, H. (1973). Information theory and an extension of
the maximum likelihood principle. 2nd International
Symposium on Information Theory, pages 267–281.
Berger, J. (1985). Statistical Decision Theory and Bayesian
Analysis. Springer-Verlag, New York.
Bernardo, J. M. and Smith, A. F. (2000). Bayesian Theory.
John Wiley & Sons, Chichester.
Cox, D. R. (1970). The Analysis of Binary Data. Chapman
and Hall, London.
Harvey, A. C. (1989). Forecasting, Structural Time Series
Models and the Kalman Filter. Cambridge University
Press, Marsa, Malta.
Japan Meteorological Agency (2020). ClimatView
(in Japanese). https://www.data.jma.go.jp/gmd/cpd/
monitor/dailyview/. Browsing Date: Nov. 27, 2020.
Koizumi, D. (2020). Credible interval prediction of a non-
stationary poisson distribution based on bayes deci-
sion theory. In Proceedings of the 12th International
Conference on Agents and Artificial Intelligence - Vol-
ume 2: ICAART,, pages 995–1002, Valletta, Malta.
INSTICC, SciTePress.
Koizumi, D., Matsuda, T., and Sonoda, M. (2012). On the
automatic detection algorithm of cross site scripting
(xss) with the non-stationary bernoulli distribution.
In The 5th International Conference on Communica-
tions, Computers and Applications (MIC-CCA2012),
pages 131–135, Istanbul, Turkey. IEEE.
Koizumi, D., Matsushima, T., and Hirasawa, S. (2009).
Bayesian forecasting of www traffic on the time vary-
ing poisson model. In Proceeding of The 2009 In-
ternational Conference on Parallel and Distributed
Processing Techniques and Applications (PDPTA’09),
volume II, pages 683–689, Las Vegas, NV, USA.
CSREA Press.
Press, S. J. (2003). Subjective and Objective Bayesian
Statistics: Principles, Models, and Applications. John
Wiley & Sons, Hoboken.
Smith, J. Q. (1979). A generalization of the bayesian steady
forecasting model. Journal of the Royal Statistical So-
ciety - Series B, 41:375–387.
Weiss, L. and Blackwell, D. (1961). Statistical Decision
Theory. McGraw-Hill, New York.
Yasuda, G., Nomura, R., and Matsushima, T. (2001). A
study of coding for sources with nonstationary pa-
rameter (in Japanese). Technical Report of IEICE
(IT2001-15), 101(177):25–30.
APPENDIX
A: Proof of Lemma 2.1
Suppose t = 1, A
1
= a
1
and C
1
= c
1
are defined as,
A
1
∼ Gamma(α
1
, 1) , (34)
C
1
∼ Beta [kα
1
, (1 − k) α
1
] , (35)
according to Definition 2.5 and Definition 2.6, respec-
tively.
Since A
2
= C
1
A
1
from Definition 2.3, and A
t
and
C
t
are conditional independent from Definition 2.4,
On the Prediction of a Nonstationary Bernoulli Distribution based on Bayes Decision Theory
963