logLik.slrm(spatstat)
logLik.slrm()所属R语言包:spatstat
Loglikelihood of Spatial Logistic Regression
Loglikelihood的空间Logistic回归
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Computes the (maximised) loglikelihood of a fitted Spatial Logistic Regression model.
计算的空间Logistic回归模型的拟合(最大化)loglikelihood。
用法----------Usage----------
## S3 method for class 'slrm'
logLik(object, ..., adjust = TRUE)
参数----------Arguments----------
参数:object
a fitted spatial logistic regression model. An object of class "slrm".
一个厨房的空间Logistic回归模型。对象的类"slrm"。
参数:...
Ignored.
忽略。
参数:adjust
Logical value indicating whether to adjust the loglikelihood of the model to make it comparable with a point process likelihood. See Details.
表明是否调整loglikelihood的模型以一个点的过程可能与逻辑值。查看详细信息。
Details
详细信息----------Details----------
This is a method for logLik for fitted spatial logistic regression models (objects of class "slrm", usually obtained from the function slrm). It computes the log-likelihood of a fitted spatial logistic regression model.
这是一种为logLik合身的空间Logistic回归模型(类的对象"slrm",通常获得的功能slrm的)。它的安装空间logistic回归模型计算对数似然。
If adjust=FALSE, the loglikelihood is computed using the standard formula for the loglikelihood of a logistic regression model for a finite set of (pixel) observations.
如果adjust=FALSE,的loglikelihood的计算使用的标准公式的loglikelihood Logistic回归模型(像素)观察一组有限的。
If adjust=TRUE then the loglikelihood is adjusted so that it is approximately comparable with the likelihood of a point process in continuous space, by subtracting the value n * log(a) where n is the number of points in the original point pattern dataset, and a is the area of one pixel.
如果adjust=TRUE然后loglikelihood被调整,以便它是约与在连续空间中的点处理的可能性,通过减去值n * log(a)其中n是的点的数量在原来的点模式数据集,和a是一个像素的面积。
值----------Value----------
A numerical value.
一个数值。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:adrian@maths.uwa.edu.au">adrian@maths.uwa.edu.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
slrm
slrm
实例----------Examples----------
X <- rpoispp(42)
fit <- slrm(X ~ x+y)
logLik(fit)
logLik(fit, adjust=FALSE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|