[Gmm-commits] r64 - pkg/gmmExtra/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Nov 5 16:41:48 CET 2012


Author: chaussep
Date: 2012-11-05 16:41:48 +0100 (Mon, 05 Nov 2012)
New Revision: 64

Modified:
   pkg/gmmExtra/man/bootGmm.Rd
   pkg/gmmExtra/man/bootGmmMet.Rd
   pkg/gmmExtra/man/bootJ.Rd
Log:
fisxed a memory problem with the examples

Modified: pkg/gmmExtra/man/bootGmm.Rd
===================================================================
--- pkg/gmmExtra/man/bootGmm.Rd	2012-10-25 19:23:13 UTC (rev 63)
+++ pkg/gmmExtra/man/bootGmm.Rd	2012-11-05 15:41:48 UTC (rev 64)
@@ -51,5 +51,5 @@
 d <- getdat(500)
 res <- gmm(d$Y~d$X-1,~d$Z-1,vcov="iid")
 # Just resampling 25 time to save time
-resB <- bootGmm(res, 25, seed = 123, niter = 10, trace=TRUE)
+resB <- bootGmm(res, 25, seed = 123, niter = 2, trace=TRUE)
 }

Modified: pkg/gmmExtra/man/bootGmmMet.Rd
===================================================================
--- pkg/gmmExtra/man/bootGmmMet.Rd	2012-10-25 19:23:13 UTC (rev 63)
+++ pkg/gmmExtra/man/bootGmmMet.Rd	2012-11-05 15:41:48 UTC (rev 64)
@@ -53,7 +53,7 @@
 d <- getdat(500)
 res <- gmm(d$Y~d$X-1,~d$Z-1)
 # Just resampling 25 time to save time
-resB <- bootGmm(res, 25, seed=123, niter=10, trace=TRUE)
+resB <- bootGmm(res, 25, seed = 123, niter = 2, trace = TRUE)
 plot(resB, 2)
 plot(resB, 2, "density")
 summary(resB)

Modified: pkg/gmmExtra/man/bootJ.Rd
===================================================================
--- pkg/gmmExtra/man/bootJ.Rd	2012-10-25 19:23:13 UTC (rev 63)
+++ pkg/gmmExtra/man/bootJ.Rd	2012-11-05 15:41:48 UTC (rev 64)
@@ -45,7 +45,7 @@
 set.seed(123)
 d <- getdat(500)
 res <- gmm(d$Y~d$X-1,~d$Z-1)
-resB <- bootGmm(res, 100, seed = 123, niter = 10, trace=TRUE)
+resB <- bootGmm(res, 25, seed = 123, niter = 2, trace=TRUE)
 J <- bootJ(resB)
 J$test
 }



More information about the Gmm-commits mailing list