[Splm-commits] r119 - in pkg: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu May 26 09:18:59 CEST 2011


Author: the_sculler
Date: 2011-05-26 09:18:59 +0200 (Thu, 26 May 2011)
New Revision: 119

Modified:
   pkg/ChangeLog
   pkg/DESCRIPTION
   pkg/NAMESPACE
   pkg/R/vcov.splm.R
   pkg/man/spml.Rd
Log:
Fixed vcov.splm method, added man page and examples of linear hyp. testing



Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2011-05-26 06:39:23 UTC (rev 118)
+++ pkg/ChangeLog	2011-05-26 07:18:59 UTC (rev 119)
@@ -1,3 +1,6 @@
+Changes in Version 0.9-04
+  o added visible vcov.splm method for interoperability with lmtest, car
+
 Changes in Version 0.9-03
   o reinroduced bsjktest, excluding C.3; syntax harmonized with bsktest
   o removed spreml, spfeml from namespace and documentation

Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION	2011-05-26 06:39:23 UTC (rev 118)
+++ pkg/DESCRIPTION	2011-05-26 07:18:59 UTC (rev 119)
@@ -1,7 +1,7 @@
 Package: splm
 Title: Econometric Models for Spatial Panel Data
-Version: 0.9-03
-Date: 2011-05-19
+Version: 0.9-04
+Date: 2011-05-26
 Author: Giovanni Millo <giovanni.millo at generali.com>, Gianfranco Piras <gpiras at mac.com>
 Maintainer: Giovanni Millo <giovanni.millo at generali.com>
 Description: ML and GM estimation and diagnostic testing of econometric models for spatial panel data.

Modified: pkg/NAMESPACE
===================================================================
--- pkg/NAMESPACE	2011-05-26 06:39:23 UTC (rev 118)
+++ pkg/NAMESPACE	2011-05-26 07:18:59 UTC (rev 119)
@@ -6,7 +6,7 @@
 importFrom(MASS,ginv)
 
 
-export(bsktest, sphtest, bsjktest,
+export(bsktest, sphtest, bsjktest, vcov.splm,
 effects.splm, print.effects.splm, write.effects.splm, 
 print.splm, spml, spgm, summary.splm, sphtest, listw2dgCMatrix)
 
@@ -15,6 +15,7 @@
 S3method(print, splm)
 S3method(print, summary.splm)
 S3method(effects, splm)
+S3method(vcov, splm)
 S3method(print, effects.splm)
 S3method(bsktest, formula)
 S3method(bsjktest, formula)

Modified: pkg/R/vcov.splm.R
===================================================================
--- pkg/R/vcov.splm.R	2011-05-26 06:39:23 UTC (rev 118)
+++ pkg/R/vcov.splm.R	2011-05-26 07:18:59 UTC (rev 119)
@@ -1,3 +1,2 @@
-`vcov.splm` <-
-function(x) return(x$vcov)
+`vcov.splm` <- function(object, ...) return(object$vcov)
 

Modified: pkg/man/spml.Rd
===================================================================
--- pkg/man/spml.Rd	2011-05-26 06:39:23 UTC (rev 118)
+++ pkg/man/spml.Rd	2011-05-26 07:18:59 UTC (rev 119)
@@ -83,7 +83,7 @@
 respaterr <- spml(fm, data = Produc, listw = mat2listw(usaww), model="random", spatial.error="b")
 summary(respaterr)
 ## random effects panel with spatial lag
-respatlag <- spml(fm, data = Produc, listw = mat2listw(usaww), model="random", spatial.error="b", lag=TRUE)
+respatlag <- spml(fm, data = Produc, listw = mat2listw(usaww), model="random", spatial.error="none", lag=TRUE)
 summary(respatlag)
 }
 



More information about the Splm-commits mailing list