彩票市场在中国内地甚至全球的市场占有份额日益增加,越来越多赌徒热爱购买彩票。今天僕尝试分析随机内地彩票---福彩3D为数据,分析是否可能从中获利。
福彩3D: 直选走势数据从2016158期至2017158期,一共有360个观测数据。该福彩类型规则乃预测3个随机数字,从000至999。
kfoots
:kfoots程序包使用马克夫链,举例此期开彩010,该模式将分析及预测每当开彩该成绩后的下一个成绩(状态的转换率)的机率PoisNor
:PoisNor程序包提供多随机变量产生器及相关系数分析poilog
:poilog程序包分析双变量泊松模式mvrpois
:mvrpois程序包分析多变量泊松模式
在此,僕使用mvrpois
多变量泊松模式分析仨变量泊松3D彩票数据,有关详情请查阅Dimitris Karlis and Loukia Meligkotsidou (2005)^[7.3 参考文献中的4th文献]和Dimitris Karlis (2002)^[7.3 参考文献中的3rd文献]。
$$(X_{1},X_{2},X_{3}){i} ~ 3 - Pois(\theta{1i},\theta_{2i},\theta_{3i},\theta_{12i},\theta_{13i},\theta_{23i}) \dots equation\ 3.1$$
$log(\theta_{1i}) = \alpha_{1} + \beta_{1}z_{i}$ $log(\theta_{2i}) = \alpha_{2} + \beta_{2}z_{i}$ $log(\theta_{3i}) = \alpha_{3} + \beta_{3}z_{i}$ $log(\theta_{12i}) = \alpha_{4} + \beta_{4}z_{i}$ $log(\theta_{13i}) = \alpha_{5} + \beta_{5}z_{i}$ $log(\theta_{23i}) = \alpha_{6} + \beta_{6}z_{i}$
联合分布函数将为:
**Rerefences for multivariate Poisson models : **
- Can a Multivariate Poisson Distribution be implemented in Stan?
- n-mixture model in Stan? marginalizing
- karlis-ntzoufras-reproduction/model.stan
- Reproductions of models for football (soccer) matches in Stan/PyStan^[So far, the following models have been implemented:] ^[1) Maher (1982) - Modelling Association Football Scores - maher] ^[2) Dixon and Coles (1997) - Modelling Association Football Scores and Inefficiencies in the Football Betting Market - dixon-coles] ^[3)Karlis and Ntzoufras (2008) - Bayesian modelling of football outcomes (using the Skellam's distribution) - karlis-ntzoufras]
由于凯利投资模式,在此使用该模式。有关凯利模式投注,请参阅:
- Application of Kelly Criterion model in Sportsbook Investment
- Job Application - Quantitative Analyst (binary.com)
It's useful to record some information about how your file was created.
- File creation date: 2017-06-15
- File latest updated date:
r Sys.Date()
r R.version.string
- R version (short form):
r getRversion()
- rmarkdown package version:
r packageVersion('rmarkdown')
- tint package version:
r packageVersion('tint')
- File version: 1.0.0
- Author Profile: ®γσ, Eng Lian Hu
- GitHub: Source Code
- Additional session information
- 文献版本: 1.0.0 - "2017-06-15 20:47:50 JST"
- Bayesian Multivariate Poisson Regression for Models of Injury Count, by Severity by Jianming Ma and Kara M. Kockelman (2006)
- FlexMix - An R package for finite mixture modelling by Bettina Grun and Friedrich Leisch (2007)
- Multivariate Poisson Models by Dimitris Karlis (2002)
- Multivariate Poisson Regression with Covariance Structure (Preview) by Dimitris Karlis and Loukia Meligkotsidou (2005)
- Package 'poilog' by Vidar Grøtan and Steinar Engen (2015)
- Resampling Methods for Longitudinal Data Analysis by Yue Li (2005)