[Pomp-commits] r876 - www/vignettes

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jan 8 16:36:38 CET 2014


Author: kingaa
Date: 2014-01-08 16:36:38 +0100 (Wed, 08 Jan 2014)
New Revision: 876

Modified:
   www/vignettes/advanced_topics_in_pomp.pdf
   www/vignettes/bsmc-ricker-flat-prior.rda
   www/vignettes/bsmc-ricker-normal-prior.rda
   www/vignettes/complex-sir-def.rda
   www/vignettes/gompertz-multi-mif.rda
   www/vignettes/gompertz-pfilter-guess.rda
   www/vignettes/gompertz-trajmatch.rda
   www/vignettes/intro_to_pomp.R
   www/vignettes/intro_to_pomp.Rnw
   www/vignettes/intro_to_pomp.pdf
   www/vignettes/nlf-block-boot.rda
   www/vignettes/nlf-boot.rda
   www/vignettes/nlf-fit-from-truth.rda
   www/vignettes/nlf-fits.rda
   www/vignettes/nlf-lag-tests.rda
   www/vignettes/nlf-multi-short.rda
   www/vignettes/plugin-C-code.rda
   www/vignettes/plugin-R-code.rda
   www/vignettes/ricker-comparison.rda
   www/vignettes/ricker-first-probe.rda
   www/vignettes/ricker-mif.rda
   www/vignettes/ricker-probe-match.rda
   www/vignettes/ricker-probe.rda
   www/vignettes/sim-sim.rda
   www/vignettes/sir-pomp-def.rda
   www/vignettes/vectorized-C-code.rda
   www/vignettes/vectorized-R-code.rda
Log:
- rebuilt with version 0.45-8


Modified: www/vignettes/advanced_topics_in_pomp.pdf
===================================================================
(Binary files differ)

Modified: www/vignettes/bsmc-ricker-flat-prior.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/bsmc-ricker-normal-prior.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/complex-sir-def.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/gompertz-multi-mif.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/gompertz-pfilter-guess.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/gompertz-trajmatch.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/intro_to_pomp.R
===================================================================
--- www/vignettes/intro_to_pomp.R	2014-01-08 15:35:11 UTC (rev 875)
+++ www/vignettes/intro_to_pomp.R	2014-01-08 15:36:38 UTC (rev 876)
@@ -401,11 +401,10 @@
 ## theta.true <- coef(gompertz)
 ## theta.mif <- apply(sapply(mf,coef),1,mean)
 ## loglik.mif <- replicate(n=10,logLik(pfilter(mf[[1]],params=theta.mif,Np=10000)))
-## bl <- mean(loglik.mif)
-## loglik.mif.est <- bl+log(mean(exp(loglik.mif-bl)))
+## loglik.mif.est <- logmeanexp(loglik.mif)
 ## loglik.mif.se <- sd(exp(loglik.mif-bl))/exp(loglik.mif.est-bl)
 ## loglik.true <- replicate(n=10,logLik(pfilter(gompertz,params=theta.true,Np=10000)))
-## loglik.true.est <- bl+log(mean(exp(loglik.true-bl)))
+## loglik.true.est <- logmeanexp(loglik.true)
 ## loglik.true.se <- sd(exp(loglik.true-bl))/exp(loglik.true.est-bl)
 
 
@@ -447,11 +446,10 @@
 theta.true <- coef(gompertz)
 theta.mif <- apply(sapply(mf,coef),1,mean)
 loglik.mif <- replicate(n=10,logLik(pfilter(mf[[1]],params=theta.mif,Np=10000)))
-bl <- mean(loglik.mif)
-loglik.mif.est <- bl+log(mean(exp(loglik.mif-bl)))
+loglik.mif.est <- logmeanexp(loglik.mif)
 loglik.mif.se <- sd(exp(loglik.mif-bl))/exp(loglik.mif.est-bl)
 loglik.true <- replicate(n=10,logLik(pfilter(gompertz,params=theta.true,Np=10000)))
-loglik.true.est <- bl+log(mean(exp(loglik.true-bl)))
+loglik.true.est <- logmeanexp(loglik.true)
 loglik.true.se <- sd(exp(loglik.true-bl))/exp(loglik.true.est-bl)
   toc <- Sys.time()
   etime <- toc-tic
@@ -473,16 +471,15 @@
 
 
 ###################################################
-### code chunk number 41: intro_to_pomp.Rnw:690-691 (eval = FALSE)
+### code chunk number 41: intro_to_pomp.Rnw:689-690 (eval = FALSE)
 ###################################################
 ## theta.true <- coef(gompertz)
 ## theta.mif <- apply(sapply(mf,coef),1,mean)
 ## loglik.mif <- replicate(n=10,logLik(pfilter(mf[[1]],params=theta.mif,Np=10000)))
-## bl <- mean(loglik.mif)
-## loglik.mif.est <- bl+log(mean(exp(loglik.mif-bl)))
+## loglik.mif.est <- logmeanexp(loglik.mif)
 ## loglik.mif.se <- sd(exp(loglik.mif-bl))/exp(loglik.mif.est-bl)
 ## loglik.true <- replicate(n=10,logLik(pfilter(gompertz,params=theta.true,Np=10000)))
-## loglik.true.est <- bl+log(mean(exp(loglik.true-bl)))
+## loglik.true.est <- logmeanexp(loglik.true)
 ## loglik.true.se <- sd(exp(loglik.true-bl))/exp(loglik.true.est-bl)
 
 
@@ -935,7 +932,7 @@
 
 
 ###################################################
-### code chunk number 69: intro_to_pomp.Rnw:1125-1126
+### code chunk number 69: intro_to_pomp.Rnw:1124-1125
 ###################################################
 fits
 
@@ -1120,7 +1117,7 @@
 
 
 ###################################################
-### code chunk number 77: intro_to_pomp.Rnw:1271-1272
+### code chunk number 77: intro_to_pomp.Rnw:1270-1271
 ###################################################
 apply(fvals,2,function(x)sd(x)/mean(x))
 
@@ -1133,7 +1130,7 @@
 ##                 transform.params=TRUE,
 ##                 est=c("K","r"),
 ##                 lags=2,
-##                 seed=7639873, 
+##                 seed=7639873L, 
 ##                 method="Nelder-Mead",
 ##                 trace=4,
 ##                 nasymp=5000
@@ -1152,7 +1149,7 @@
                 transform.params=TRUE,
                 est=c("K","r"),
                 lags=2,
-                seed=7639873, 
+                seed=7639873L, 
                 method="Nelder-Mead",
                 trace=4,
                 nasymp=5000
@@ -1162,7 +1159,7 @@
 
 
 ###################################################
-### code chunk number 80: intro_to_pomp.Rnw:1310-1311
+### code chunk number 80: intro_to_pomp.Rnw:1309-1310
 ###################################################
 set.seed(32329L)
 
@@ -1232,7 +1229,7 @@
 
 
 ###################################################
-### code chunk number 83: intro_to_pomp.Rnw:1348-1349
+### code chunk number 83: intro_to_pomp.Rnw:1347-1348
 ###################################################
 apply(pars,2,sd)
 

Modified: www/vignettes/intro_to_pomp.Rnw
===================================================================
--- www/vignettes/intro_to_pomp.Rnw	2014-01-08 15:35:11 UTC (rev 875)
+++ www/vignettes/intro_to_pomp.Rnw	2014-01-08 15:36:38 UTC (rev 876)
@@ -646,11 +646,10 @@
 theta.true <- coef(gompertz)
 theta.mif <- apply(sapply(mf,coef),1,mean)
 loglik.mif <- replicate(n=10,logLik(pfilter(mf[[1]],params=theta.mif,Np=10000)))
-bl <- mean(loglik.mif)
-loglik.mif.est <- bl+log(mean(exp(loglik.mif-bl)))
+loglik.mif.est <- logmeanexp(loglik.mif)
 loglik.mif.se <- sd(exp(loglik.mif-bl))/exp(loglik.mif.est-bl)
 loglik.true <- replicate(n=10,logLik(pfilter(gompertz,params=theta.true,Np=10000)))
-loglik.true.est <- bl+log(mean(exp(loglik.true-bl)))
+loglik.true.est <- logmeanexp(loglik.true)
 loglik.true.se <- sd(exp(loglik.true-bl))/exp(loglik.true.est-bl)
 @ 
 
@@ -1278,7 +1277,7 @@
                 transform.params=TRUE,
                 est=c("K","r"),
                 lags=2,
-                seed=7639873, 
+                seed=7639873L, 
                 method="Nelder-Mead",
                 trace=4,
                 nasymp=5000

Modified: www/vignettes/intro_to_pomp.pdf
===================================================================
(Binary files differ)

Modified: www/vignettes/nlf-block-boot.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/nlf-boot.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/nlf-fit-from-truth.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/nlf-fits.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/nlf-lag-tests.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/nlf-multi-short.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/plugin-C-code.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/plugin-R-code.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/ricker-comparison.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/ricker-first-probe.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/ricker-mif.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/ricker-probe-match.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/ricker-probe.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/sim-sim.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/sir-pomp-def.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/vectorized-C-code.rda
===================================================================
(Binary files differ)

Modified: www/vignettes/vectorized-R-code.rda
===================================================================
(Binary files differ)



More information about the pomp-commits mailing list