[Pomp-commits] r574 - pkg/tests

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jan 5 20:33:47 CET 2012


Author: kingaa
Date: 2012-01-05 20:33:47 +0100 (Thu, 05 Jan 2012)
New Revision: 574

Modified:
   pkg/tests/ou2-probe.Rout.save
   pkg/tests/ricker-probe.Rout.save
Log:
- update the unit tests


Modified: pkg/tests/ou2-probe.Rout.save
===================================================================
--- pkg/tests/ou2-probe.Rout.save	2012-01-05 19:33:00 UTC (rev 573)
+++ pkg/tests/ou2-probe.Rout.save	2012-01-05 19:33:47 UTC (rev 574)
@@ -1,5 +1,5 @@
 
-R version 2.13.1 (2011-07-08)
+R version 2.14.1 (2011-12-22)
 Copyright (C) 2011 The R Foundation for Statistical Computing
 ISBN 3-900051-07-0
 Platform: x86_64-unknown-linux-gnu (64-bit)
@@ -194,7 +194,7 @@
 > y2 <- head(x$y2,-1)
 > z2 <- tail(x$y2,-1)
 > max(abs(pb at datvals-c(mean(y1*z1)/mean(x$y1^2),mean(y2*z2)/mean(x$y2^2),mean(y1*z1)/mean(y1*y1),mean(y2*z2)/mean(y2*y2))))
-[1] 1.221245e-15
+[1] 1.110223e-16
 > 
 > po <- simulate(ou2)
 > pb <- probe(
@@ -224,7 +224,7 @@
 0.2817183 0.2877123 0.3216783 0.2817183 0.2877123 0.3216783 
 
 $synth.loglik
-[1] 91.41242
+[1] 93.95585
 
 > 
 > pb <- probe(

Modified: pkg/tests/ricker-probe.Rout.save
===================================================================
--- pkg/tests/ricker-probe.Rout.save	2012-01-05 19:33:00 UTC (rev 573)
+++ pkg/tests/ricker-probe.Rout.save	2012-01-05 19:33:47 UTC (rev 574)
@@ -312,7 +312,7 @@
 +                               )
 +             )
    user  system elapsed 
-  7.380   0.000   7.404 
+  7.680   0.008   7.713 
 > plot(pm)
 > 
 > cbind(truth=coef(ricker),est=coef(pm),guess=coef(po))
@@ -371,7 +371,7 @@
 +                               )
 +             )
    user  system elapsed 
-  5.492   0.000   5.512 
+  5.668   0.000   5.683 
 > plot(pm)
 > plot(as(pm,"pomp"),variables="y")
 > plot(simulate(pm),variables="y")



More information about the pomp-commits mailing list