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

R语言 schwartz97包 mean-vcov-methods()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-29 22:53:43 | 显示全部楼层 |阅读模式
mean-vcov-methods(schwartz97)
mean-vcov-methods()所属R语言包:schwartz97

                                        Expected value and variance-covariance
                                         期望值和方差 - 协方差

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

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

The function mean returns the expected value of the spot price and the convenience yield for some time in the future. The function vcov returns the covariance matrix of the log spot price and the convenience yield.
函数mean返回在未来一段时间的现货价格和便利收益的预期值。函数vcov返回log现货价格和便利收益的协方差矩阵。


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



## S4 method for signature 'schwartz2f'
mean(x, time = 1)

## S4 method for signature 'schwartz2f'
vcov(object, time = 1)




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

参数:x, object
An object inheriting from class schwartz2f.
对象继承类schwartz2f。


参数:time
The point in time for which the mean or covariance matrix is computed. mean accepts a vector, vcov a scalar only.
的时间点的均值或协方差矩阵的计算。 mean接受向量,vcov的只有一个标量。


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

Either the expected value or variance-covariance matrix.
无论是预期的值或方差 - 协方差矩阵。


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

vcov returns the variance-covariance matrix of [log spot price, convenience yield](time).
vcov返回[log现货价格,便利收益(时间)的方差 - 协方差矩阵。


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


David Luethi



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

schwartz2f to create Schwartz 2 factor objects, plot to show trajectories of the state variables including means and standard deviations.
schwartz2f创建施瓦茨因子对象,plot显示的状态变量,包括均值和标准差的轨迹。


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



  mean(schwartz2f(mu = 0.1), time = 1)

  mean(schwartz2f(mu = 0.2), time = 0:3)

  vcov(schwartz2f(), time = 10)

  ## Plot a schwartz2f-object including means and standard deviations[#绘制一个对象schwartz2f的,包括均值和标准差]
  plot(schwartz2f(sigmaE = 0.1), n = 50, time = 5, dt = 1 / 52)


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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-15 00:54 , Processed in 0.023748 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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