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

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

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

                                         Computes the long term average for each sites.
                                         计算术语平均每个网站。

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

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

Computes the long term average of observations and cross-validated predictions for each of the sites in predCV. The long term averages are computed using only timepoints that have observations, this applies to both the observed and predicted. Also the function allows for a transformation: if requested the transformation is applied before the averaging.
计算的术语平均每个网站的predCV的意见和交叉验证的预测。术语平均值计算使用只有有观察的时间点,适用于观察和预测。另外,函数允许变换:如果被请求的变换前的平均施加。


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


compute.ltaCV(predCV, trans = NULL)



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

参数:predCV
Result of a cross-validation. Should be the output from predictCV.  
交叉验证的结果。应该是输出predictCV。


参数:trans
Transform observations and predictions before computing averages. NULL gives no transformation, trans=0 takes the exponent of data (assuming that data was originally log-transformed) a non-zero value will raise the data to that power (assuming an original root-transform), e.g. trans=2 gives the long term averages as mean(obs^2) and mean(pred^2).  
小波变换在计算平均值之前的观测和预测。 NULL给出没有变换,trans=0需要的指数数据(假设数据原本登录变换)一个非零的值将提高该功率的数据(假设一个原始根变换),例如: trans=2术语平均mean(obs^2)和mean(pred^2)。


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

Returns a (number of locations) - by - 2 matrix with the observed and predicted value for each location.
返回(的位置) - 由 -  2矩阵与所观察到的,每个位置的预测值。


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



Johan Lindstr枚m




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

See createCV and estimateCV for cross-validation set-up and estimation.
createCV和estimateCV交叉验证设置和估计。

For computing CV statistics, see also predictNaive,  and for further illustration see plotCV,  CVresiduals.qqnorm, and summaryStatsCV.
对于计算CV统计,也predictNaive,并为进一步的说明,请参阅plotCV,CVresiduals.qqnorm和summaryStatsCV。


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


##load data[#加载数据]
data(mesa.data.res)

##Extract pre-computed cross-validated predictions[#提取预先计算的交叉验证预测]
pred.cv <- mesa.data.res$pred.cv

##compute long term averages of predictions and observations[#计算的预测和观察的术语平均值]
pred.lta <- compute.ltaCV(pred.cv)

##we can now compare observed and predicted averages at each site[#现在我们可以观察和预测平均每个站点]
plot(pred.lta[,"obs"],pred.lta[,"pred"])
abline(0,1)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-6-11 05:06 , Processed in 0.024646 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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