szcf-weiya

Results 91 comments of szcf-weiya

在解决问题 #5 时,曾尝试过在 `.cls` 文件中不使用 `\makeatletter` 和 `\makeatother`,但会报错,加上后不会。

![image](https://user-images.githubusercontent.com/13688320/106989023-2a800180-67ac-11eb-97c9-9bb0069fe57e.png)

![image](https://user-images.githubusercontent.com/13688320/107043331-d1d95480-67fd-11eb-9a2a-6cf2bef9560f.png) ![image](https://user-images.githubusercontent.com/13688320/107043387-e7e71500-67fd-11eb-9674-f42e897d05ef.png) ```R > 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 ```

```R > geweke.diag(mcmc(beta)) Fraction in 1st window = 0.1 Fraction in 2nd window = 0.5 var1 -0.6483 ```

https://github.com/szcf-weiya/MonteCarlo/blob/5b82f2035d625eb7768211c856c7b9cfb4056851/MCOptim/rand-logit.R#L132-L133 - sample sigma comes from the following conditional dist. https://github.com/szcf-weiya/MonteCarlo/blob/5b82f2035d625eb7768211c856c7b9cfb4056851/MCOptim/rand-logit.R#L101-L104 https://github.com/szcf-weiya/MonteCarlo/blob/5b82f2035d625eb7768211c856c7b9cfb4056851/MCOptim/rand-logit.R#L135-L136 - sample beta might be related to the fisher's information (but seems still different. QUESTION)

plot|cumuplot --|-- ![image](https://user-images.githubusercontent.com/13688320/106867096-269aa380-6708-11eb-97a0-02216f64681a.png)|![image](https://user-images.githubusercontent.com/13688320/106867100-29959400-6708-11eb-87d5-eee876441794.png) ![image](https://user-images.githubusercontent.com/13688320/106867607-c6583180-6708-11eb-8aca-268cba9deaaf.png)|![image](https://user-images.githubusercontent.com/13688320/106867630-cbb57c00-6708-11eb-944f-9e29b2f0db14.png) the first try (row 1) returns a larger bias in beta, and the second try (row 2) gives a larger bias of sigma.

Derivation of Q function.

![image](https://user-images.githubusercontent.com/13688320/106853936-7885fe00-66f5-11eb-89e4-bc6d10b00608.png) ```r iter = 2 , diff = 0.3448811 iter = 3 , diff = 0.0660542 iter = 4 , diff = 0.04427646 iter = 5 , diff = 0.01623779...

with scale = 0.1, all test passed, ```r Fraction in 1st window = 0.1 Fraction in 2nd window = 0.5 var1 0.6041 Stationarity start p-value test iteration var1 passed 1...

![image](https://user-images.githubusercontent.com/13688320/107053926-66e24a80-680a-11eb-93fd-d056431bdbda.png)