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

R语言 spatstat包 anova.ppm()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:08:53 | 显示全部楼层 |阅读模式
anova.ppm(spatstat)
anova.ppm()所属R语言包:spatstat

                                        ANOVA for Fitted Point Process Models
                                         合身点过程模型的方差分析

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

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

Performs analysis of deviance for two or more fitted point process models.
两个或两个以上的拟合点过程模型进行分析的偏差。


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


  ## S3 method for class 'ppm'
anova(object, ..., test=NULL, override=FALSE)



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

参数:object
A fitted point process model (object of class "ppm").  
已安装点过程模型(对象类"ppm"“)。


参数:...
One or more fitted point process models.  
一个或多个安装点过程的模型。


参数:test
Character string, partially matching one of "Chisq", "F" or "Cp".  
字符串,部分匹配的"Chisq","F"或"Cp"。


参数:override
Logical flag indicating whether to proceed even when there is no statistical theory to support the calculation.  
逻辑标志,指示是否进行统计时,有没有理论支持计算。


Details

详细信息----------Details----------

This is a method for anova for  fitted point process models (objects of class "ppm", usually generated by the model-fitting function ppm).
这是一个方法anova装点过程模型(对象类"ppm",,通常由模型的拟合函数ppm)。

If the fitted models are all Poisson point processes, then this function performs an Analysis of Deviance of the fitted models. The output shows the deviance differences (i.e. 2 times log likelihood ratio), the difference in degrees of freedom, and (if test="Chi") the two-sided p-values for the chi-squared tests. Their interpretation is very similar to that in anova.glm.
如果安装的所有型号都泊松点过程,那么这个函数的越轨行为的拟合模型进行分析。输出显示越轨行为的差异(即2倍的对数似然比),自由度的差异,(如果test="Chi")双面卡方检验的p值。他们的解释是,在anova.glm非常相似。

If some of the fitted models are not Poisson point processes, then there is no statistical theory available to support a similar analysis. The function issues a warning, and (by default) returns a NULL value.
如果一些的拟合模型是泊松点过程,那么有没有的统计理论支持了类似的分析。功能发出警告,(默认情况下)返回一个NULL值。

However if override=TRUE, then a kind of analysis of deviance table will be printed. The "deviance" differences in this table are equal to 2 times the differences in the maximised values of the log pseudolikelihood (see ppm). At the time of writing, there is no statistical theory to support inferential interpretation of log pseudolikelihood ratios. The override option is provided for research purposes only!
但是,如果override=TRUE,然后分析偏差表是一种将被打印。在此表中的“越轨行为”的差异是等于2倍最大化值的logpseudolikelihood的差异(见ppm“)。在写作的时候,有推理解释的logpseudolikelihood比无统计学理论支持。 override选项仅用于研究目的!


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

An object of class "anova", or NULL.
对象类"anova"或NULL。


错误和警告----------Errors and warnings----------

There may be an error message that the models are not “nested”. For an Analysis of Deviance the models must be nested, i.e. one model must be a special case of the other. For example the point process model with formula ~x is a special case of the model with formula ~x+y, so these models are nested. However the two point process models with formulae ~x and ~y are not nested.
有可能会得到一个错误信息,该模型不是“嵌套”。越轨行为的分析模型,必须嵌套,即一个模型必须是一个特殊的情况下,其他。例如,用公式~x点过程模型是一个特殊的情况下,模型与公式~x+y,所以这些模型嵌套。然而,两个点过程模型与公式~x和~y不嵌套。

If you get this error message and you believe that the models should be nested, the problem may be the inability of R to recognise that the two formulae are nested. Try modifying the formulae to make their relationship more obvious.
如果您收到此错误消息,并且相信,该机型都要被嵌套,这个问题可能是无力的R认识到,这两个公式是嵌套的。尝试修改的公式来使他们的关系更加明显。

There may be an error message from anova.glmlist that “models were not all fitted to the same size of dataset”. This implies that the models were fitted using different quadrature schemes (see quadscheme) and/or with different edge corrections or different values of the border edge correction distance rbord.
有可能是一个错误消息,anova.glmlist“模型并非所有安装在同样大小的数据集”。这意味着,该模型进行拟合使用不同的正交方案(见quadscheme)和/或具有不同的边缘补正或不同值的边界边缘校正距离rbord。

To ensure that models are comparable, check the following:
为了确保模型相媲美,检查以下内容:

the models must all have been fitted to the same point pattern dataset, in the same window.
的模型都必须被安装到同一个点模式数据集,在同一窗口中。

all models must have been fitted by the same fitting method as specified by the argument method in ppm.
所有的模型都必须安装相同的拟合方法作为指定参数methodppm。

If some of the models depend on covariates, then they should all have been fitted using the same list of covariates, and using allcovar=TRUE to ensure that the same quadrature scheme is used.
如果依赖协变量的模型,那么他们应该已经安装使用相同的协变量列表,并使用allcovar=TRUE,以确保使用相同的积分方案。

all models must have been fitted using the same edge correction as specified by the arguments correction and rbord. If you did not specify the value of rbord, then it may have taken a different value for different models. The default value of rbord is equal to zero for a Poisson model, and otherwise equals the reach (interaction distance) of the interaction term (see reach). To ensure that the models are comparable, set rbord to equal the maximum reach of the interactions that you are fitting.
所有模型都必须使用相同的边缘校正参数指定的correction和rbord已安装。如果你没有指定值的rbord,那么它可能已经采取了不同的值,针对不同的机型。 rbord的默认值是等于0的泊松模型和,否则等于REACH(作用距离)的交互项(见reach)。为了确保该模型具有可比性,设置rbord等于最大范围的互动,你是装修。


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


Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.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----------

ppm
ppm


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


data(swedishpines)
mod0 <- ppm(swedishpines, ~1, Poisson())
modx <- ppm(swedishpines, ~x, Poisson())
anova(mod0, modx, test="Chi")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-12 16:37 , Processed in 0.025608 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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