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

R语言 SpatioTemporal包 detrend.data()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:03:22 | 显示全部楼层 |阅读模式
detrend.data(SpatioTemporal)
detrend.data()所属R语言包:SpatioTemporal

                                       
                                         

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

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

Removes the estimated time-trend from the observations in a mesa.data object, returning a similar object with a "vacant" trend, that can then be used to fit a simpler model.
从观测的估计时间趋势的一个mesa.data对象,返回一个类似的对象,然后可以用一个简单的模型,以适应“空”的趋势,中移除。


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


detrend.data(mesa.data,subregion=NA,method="rlm")



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

参数:mesa.data
A mesa.data object.
Amesa.data对象。


参数:subregion
NA (default), or a factor vector of the same length and order of the observations, with levels corresponding to sub-regions that should be treated differntly.  
NA(默认值),或相同的长度和顺序的观测,与对应的子区域,应被视为differntly水平的一个因素的矢量。


参数:method
The method used for trend removal. At present only "rlm" is implemented.
所使用的方法去除的趋势。目前,只有“RLM”的实施。


Details

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

Sometimes there is no apparent spatial structure to the time-trend amplitude, or there is not enough identifiability in the data to properly model the structure. In that case, it is possible, at least as a sensitivity analysis, to de-trend the observations and run a model with a spatial field for the intercept only (apart from the spatio-temporal residual field).
有时没有明显的空间结构的时间趋势的振幅,或没有足够的可识别的数据到适当的结构建模。在这种情况下,它是可能的,至少作为敏感度分析,趋势观测和运行模型的截距(除了从时空剩余场)仅与空间字段。

When the returned object is used as input to create.data.model, the LUR list should contain only one vector of variable IDs (for the intercept). Similarly, vectors with initial parameter values for fit.mesa.model should be of length 5.
当返回的对象作为输入create.data.model,LUR名单应该只包含一个矢量的变量ID(用于拦截)。同样,向量的初始参数值fit.mesa.model应该是长度为5。

detrend.data will remove the trends from the observations, using the trend component of the mesa.data input object. The "rlm" method simply performs robust regression on all the observations as a bulk, with the time trend(s) as predictor(s). The "observations" in the new returned object are the residuals from this regression.
detrend.data将删除从观测的趋势,使用trend mesa.data输入对象的组成部分。简单“RLM”的方法,对所有的意见批量执行稳健回归,时间趋势的预测(S)(S)。 “意见”在新返回的对象是从这个回归的残差。

If a vector with factor levels is provided for subregion, then the model will be an interaction between the time trend(s) and region identifiers.
与因子水平的是,如果一个向量设置为subregion,然后该模型将时间趋势(s)和区域标识符之间的相互作用。


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

A mesa.data object, with the following differences:
Amesa.data对象,有以下区别:


参数:obs
This data frame has one additional column labeled "removedtrend", with the amount subtracted per observation. This enables back-calculation of the original values and of original-scale predictions.
该数据框有一个额外的列标有“removedtrend”的,每次观测扣除。这使得后面计算的原始值和原始规模的预测。


参数:trend
The trend data frame only has a "date" vector. It is still needed in this format, for compatibility as input to create.data.model and other functions.
trend数据框只有一个“日期”矢量。它仍然是这种格式,需要输入create.data.model等功能的兼容性。


参数:oldtrend
An additional data frame with the old trend(s) used for the detrending.
一个附加的数据框与旧的趋势()用于在非趋势。


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


Assaf P. Oron



参见----------See Also----------

mesa.data, mesa.data.model, create.data.model.
mesa.data,mesa.data.model,create.data.model。

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-13 16:57 , Processed in 0.024441 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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