szcf-weiya/MonteCarlo

IMCMR Example 7.12, 8.2

Opened this issue · 3 comments

image
image
where the assumption of Poisson takes advantages of the connection between Poisson dist and Poisson point process,
image

image
image

> heidel.diag(mcmc(beta))
                                   
     Stationarity start     p-value
     test         iteration        
var1 passed       1         0.335  
                             
     Halfwidth Mean Halfwidth
     test                    
var1 passed    2.47 0.0434 
> geweke.diag(mcmc(beta))

Fraction in 1st window = 0.1
Fraction in 2nd window = 0.5 

   var1 
-0.6483