[Splm-commits] r212 - pkg/man
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Nov 21 18:57:45 CET 2016
Author: the_sculler
Date: 2016-11-21 18:57:45 +0100 (Mon, 21 Nov 2016)
New Revision: 212
Modified:
pkg/man/slmtest.Rd
Log:
Documentation fixes
Modified: pkg/man/slmtest.Rd
===================================================================
--- pkg/man/slmtest.Rd 2016-11-21 12:55:21 UTC (rev 211)
+++ pkg/man/slmtest.Rd 2016-11-21 17:57:45 UTC (rev 212)
@@ -56,9 +56,13 @@
\value{
an object of class \code{htest}
}
-\references{Baltagi, B.H., Song, S.H., Jung B. and Koh, W. (2007)
-Testing panel data regression models with spatial and serial error correlation.
-\emph{Journal of Econometrics}, \bold{140}, 5-51.}
+
+\references{Anselin, L., Bera, A.K., Florax, R. and Yoon, M.J. (1996)
+Simple diagnostic tests for spatial dependence.
+\emph{Regional Science and Urban Economics}, \bold{26}(1), 77-104.
+Elhorst, J.P. (2014) Spatial Panel data Models, in Spatial Econometrics
+(Springer) 37-93.}
+
\author{Giovanni Millo}
%\seealso{\code{detest}}
@@ -66,12 +70,12 @@
data(Produc, package="plm")
data(usaww)
fm <- log(gsp)~log(pcap)+log(pc)+log(emp)+unemp
-## robust LM test for spatial lag sub spatial error
+## robust LM test for spatial error sub spatial lag
## model on original data, pooling hypothesis
-slmtest(fm, data=Produc, listw = usaww, test="rlml")
+slmtest(fm, data=Produc, listw = usaww, test="rlme")
## model on within-transformed (time-demeaned) data,
## eliminates individual effects
-slmtest(fm, data=Produc, listw = usaww, test="rlml",
+slmtest(fm, data=Produc, listw = usaww, test="rlme",
model="within")
}
More information about the Splm-commits
mailing list