[Splm-commits] r143 - in pkg: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Jul 9 20:57:35 CEST 2012


Author: the_sculler
Date: 2012-07-09 20:57:34 +0200 (Mon, 09 Jul 2012)
New Revision: 143

Modified:
   pkg/ChangeLog
   pkg/DESCRIPTION
   pkg/R/pbsjkARtest.R
Log:
Fixed error in bsjktest, C.2 from calling "rho" as "lambda"


Modified: pkg/ChangeLog
===================================================================
--- pkg/ChangeLog	2012-06-27 21:09:05 UTC (rev 142)
+++ pkg/ChangeLog	2012-07-09 18:57:34 UTC (rev 143)
@@ -1,3 +1,5 @@
+Changes in Version 1.0-02
+  o fixed error in bsjktest(..., type="C.2") (calling "rho" parm by wrong name)
 Changes in Version 1.0-01
   o spreml-type models now output object$sigma2, i.e. sigma2e
   o spreml calcumates sigma2mu on the basis of phi, if any, and sigma2.1 as sigma2e+sigma2mu	

Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION	2012-06-27 21:09:05 UTC (rev 142)
+++ pkg/DESCRIPTION	2012-07-09 18:57:34 UTC (rev 143)
@@ -1,7 +1,7 @@
 Package: splm
 Title: Econometric Models for Spatial Panel Data
-Version: 1.0-01
-Date: 2012-06-27
+Version: 1.0-02
+Date: 2012-07-09
 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/R/pbsjkARtest.R
===================================================================
--- pkg/R/pbsjkARtest.R	2012-06-27 21:09:05 UTC (rev 142)
+++ pkg/R/pbsjkARtest.R	2012-07-09 18:57:34 UTC (rev 143)
@@ -48,7 +48,7 @@
   u.hat<-as.numeric(y-X%*%beta0)
 
   ## retrieve SEM coefficient from model coef
-  lambda <- mymod$errcomp["lambda"]
+  lambda <- mymod$errcomp["rho"]
 
   ## retrieve variance components sigma.e and sigma.mu from lme object
   eta <- mymod$errcomp["phi"]  # pay attention to this renaming



More information about the Splm-commits mailing list