找回密码
 注册
查看: 388|回复: 0

R语言 spdep包 LR.sarlm()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 14:40:58 | 显示全部楼层 |阅读模式
LR.sarlm(spdep)
LR.sarlm()所属R语言包:spdep

                                        Likelihood ratio test
                                         似然比检验

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

The LR.sarlm() function provides a likelihood ratio test for objects for which a logLik() function exists for their class, or for objects of class logLik. LR1.sarlm() and Wald1.sarlm() are used internally in summary.sarlm(), but may be accessed directly; they report the values respectively of LR and Wald tests for the absence of spatial dependence in spatial lag or error models. The spatial Hausman test is available for models fitted with errorsarlm and GMerrorsar.
LR.sarlm()功能提供了对象的存在一个logLik()功能,其类,或为对象的类logLik似然比检验。 LR1.sarlm()和Wald1.sarlm()内部使用中summary.sarlm(),但可以直接访问他们的报告值分别LR和Wald检验的情况下空间依赖于的空间滞后或错误的模型。的空间Hausman检验提供配备了errorsarlm和GMerrorsar的模型。


用法----------Usage----------


LR.sarlm(x, y)
## S3 method for class 'sarlm'
logLik(object, ...)
LR1.sarlm(object)
Wald1.sarlm(object)
## S3 method for class 'sarlm'
Hausman.test(object, ..., tol=NULL)
## S3 method for class 'gmsar'
Hausman.test(object, ..., tol=NULL)



参数----------Arguments----------

参数:x
a logLik object or an object for which a logLik() function exists
logLik对象或对象存在的logLik()函数


参数:y
a logLik object or an object for which a logLik() function exists
logLik对象或对象存在的logLik()函数


参数:object
a sarlm object from lagsarlm() or errorsarlm()
一个sarlm的对象lagsarlm()或errorsarlm()


参数:...
further arguments passed to or from other methods
进一步的参数传递给其他方法


参数:tol
tol argument passed to solve, default NULL
tol参数传递给solve,默认为空


值----------Value----------

The tests return objects of class htest with:
的测试返回对象的类htest:


参数:statistic
value of statistic
值的统计


参数:parameter
degrees of freedom
自由度


参数:p.value
Probability value
概率值


参数:estimate
varies with test
随测试


参数:method
description of test method
测试方法的说明

logLik.sarlm() returns an object of class logLik LR1.sarlm, Hausman.sarlm and Wald1.sarlm returm objects of class htest
logLik.sarlm()返回一个对象类logLikLR1.sarlm,Hausman.sarlm和Wald1.sarlmreturm类的对象htest


注意----------Note----------

The numbers of degrees of freedom returned by logLik.sarlm() include nuisance parameters, that is the number of regression coefficients, plus sigma, plus spatial parameter esitmate(s).
返回logLik.sarlm()自由度的数目包括滋扰参数,是的回归系数的数目,加上σ,加上空间的参数esitmate()。


(作者)----------Author(s)----------


Roger Bivand <a href="mailto:Roger.Bivand@nhh.no">Roger.Bivand@nhh.no</a>



参考文献----------References----------

<h3>See Also</h3>

实例----------Examples----------


example(columbus)
mixed <- lagsarlm(CRIME ~ HOVAL + INC, data=columbus, nb2listw(col.gal.nb),
  type="mixed")
error <- errorsarlm(CRIME ~ HOVAL + INC, data=columbus, nb2listw(col.gal.nb))
LR.sarlm(mixed, error)
Hausman.test(error)

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-18 01:55 , Processed in 0.019844 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表