[Gmm-commits] r108 - in pkg/gmmExtra: . man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Jun 14 16:59:35 CEST 2017


Author: chaussep
Date: 2017-06-14 16:59:34 +0200 (Wed, 14 Jun 2017)
New Revision: 108

Removed:
   pkg/gmmExtra/licence
Modified:
   pkg/gmmExtra/DESCRIPTION
   pkg/gmmExtra/man/KConfid.Rd
Log:
Trying to make gmmExtra compile

Modified: pkg/gmmExtra/DESCRIPTION
===================================================================
--- pkg/gmmExtra/DESCRIPTION	2017-06-13 21:26:23 UTC (rev 107)
+++ pkg/gmmExtra/DESCRIPTION	2017-06-14 14:59:34 UTC (rev 108)
@@ -1,11 +1,11 @@
 Package: gmmExtra
 Version: 0.0-3
 Date: 2017-06-13
-Title: Extra tools for GMM estimation
+Title: Methods for Generalize Method of Moments Estimation
 Author: Pierre Chausse <pchausse at uwaterloo.ca>
 Maintainer: Pierre Chausse <pchausse at uwaterloo.ca>
 Description: Tools for GMM such as additional tests or robust confidence regions. They only apply to gmm class object for the gmm package.
-Depends: R (>= 2.10.0), gmm (>= 1.5), parallel, car
+Depends: R (>= 2.10.0), gmm (>= 1.6-2), parallel, car
 Suggests: mvtnorm, stabledist, MASS, timeDate, timeSeries
 Imports: stats
 License: GPL (>= 2)

Deleted: pkg/gmmExtra/licence
===================================================================
--- pkg/gmmExtra/licence	2017-06-13 21:26:23 UTC (rev 107)
+++ pkg/gmmExtra/licence	2017-06-14 14:59:34 UTC (rev 108)
@@ -1,7 +0,0 @@
-This software is distributed under the terms of the GNU General Public
-License as published by the Free Software Foundation; either version 2
-of the License, or (at your option) any later version.
-
-A copy of the GNU General Public License is in file COPYING in the
-sources of this package, and is also available at
-http://www.r-project.org/Licenses/

Modified: pkg/gmmExtra/man/KConfid.Rd
===================================================================
--- pkg/gmmExtra/man/KConfid.Rd	2017-06-13 21:26:23 UTC (rev 107)
+++ pkg/gmmExtra/man/KConfid.Rd	2017-06-14 14:59:34 UTC (rev 108)
@@ -45,11 +45,12 @@
 ## Kconfid fails with prewhite=1
 res <- gmm(z ~ f1 + f2 + f3, ~ f1 + f2 + f3, prewhite=0)
 
-KConfid(res,2, mc.cores=4)
+## To avoid errors especially with windows OS
+\dontrun{KConfid(res,2, mc.cores=4)
 sol <- KConfid(res,c(2,3), mc.cores=4)
 plot(sol, main="Confidence Region")
 polygon(sol,col="grey")
 points(res$coef[2],res$coef[3],pch=21,bg=1)
-text(res$coef[2],res$coef[3],expression(hat(theta)),pos=3)
+text(res$coef[2],res$coef[3],expression(hat(theta)),pos=3)}
 
 }



More information about the Gmm-commits mailing list