spml(splm)
spml()所属R语言包:splm
Spatial Panel Model by Maximum Likelihood
空间面板模型的最大似然法(Maximum Likelihood)
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Maximum likelihood (ML) estimation of spatial panel models, possibly with fixed or random effects.
的空间面板模型的最大似然(ML)估计,可能有固定或随机效应。
用法----------Usage----------
spml(formula, data, index = NULL, listw, listw2=listw,
model=c("within","random","pooling"),
effect=c("individual","time","twoways"),
lag=FALSE, spatial.error=c("b","kkp","none"),
...)
参数----------Arguments----------
参数:formula
a symbolic description of the model to be estimated
以进行估计的模型的符号描述
参数:data
an object of class data.frame or pdata.frame. A data frame containing the variables in the model. When the object is a data.frame, the first two columns shall contain the indexes, unless otherwise specified. See index
对象的类data.frame或pdata.frame。一个数据框包含在模型中的变量。当对象是一个data.frame,前两列应包含索引,除非另有规定。见index
参数:index
if not NULL (default), a charact