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

R语言 SkewHyperbolic包 skewhypFit()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 09:51:28 | 显示全部楼层 |阅读模式
skewhypFit(SkewHyperbolic)
skewhypFit()所属R语言包:SkewHyperbolic

                                         Fit the Skew Hyperbolic Student t-Distribution to Data
                                         符合“倾斜”双曲学生t分布的数据

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

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

Fits a skew hyperbolic t-distribution to given data. Displays the histogram, log-histogram (both with fitted densities), Q-Q plot and P-P plot for the fit which has maximum likelihood.
适用于一个歪斜的双曲t分布给定的数据。显示的直方图,对数直方图(配有密度),QQ图和PP的图为合适,它具有最大的可能性。


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


skewhypFit(x, freq = NULL, breaks = NULL, startValues = "LA",
           paramStart = NULL, method = "Nelder-Mead", hessian = TRUE,
           plots = FALSE, printOut = TRUE, controlBFGS = list(maxit = 200),
           controlNM = list(maxit = 1000), maxitNLM = 1500, ...)
## S3 method for class 'skewhypFit'
plot(x, which = 1:4,
     plotTitles = paste(c("Histogram of ", "Log-Histogram of ",
     "Q-Q Plot of ", "P-P Plot of "), x$obsName, sep = ""),
     ask = prod(par("mfcol")) < length(which) && dev.interactive(), ...)
## S3 method for class 'skewhypFit'
print(x,digits = max(3, getOption("digits") - 3),...)



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

参数:x
Data vector for skewhypFit. Object of class "skewhypFit" for print.skewhypFit.
数据向量,skewhypFit。对象类"skewhypFit"print.skewhypFit。


参数:freq
Vector of weights with length equal to length of x.
的权重向量,其长度等于长度x。


参数:breaks
Breaks for histogram, defaults to those generated by hist(x, plot = FALSE, right = FALSE).If startValues = "LA" then 30 breaks are used by default.  
直方图,默认中断所产生的hist(x, plot = FALSE, right = FALSE).如果startValues = "LA",30符默认情况下使用。


参数:startValues
Code giving the method of determining starting values for finding the maximum likelihood estimates of the parameters.   <tr valign="top"><td>paramStart</td>
代码给确定的初始值的方法中找到的最大似然估计的参数。 <tr valign="top"> <TD> paramStart</ TD>

If startValues = "US" the user must specify a vector of starting parameter values in the form c(mu,delta,beta,nu).  
如果startValues = "US"用户必须指定一个向量的起始参数值的形式c(mu,delta,beta,nu)。


参数:method
Different optimisation methods to consider, see Details.
考虑不同的优化方法,请参阅详细信息。


参数:hessian
Logical; if hessian = TRUE the value of the hessian is returned.
逻辑hessian = TRUE如果,则返回值的麻。


参数:plots
Logical; if plots = TRUE the histogram, log-histogram, Q-Q and P-P plots are printed.
逻辑,如果plots = TRUE的直方图,直方图log,QQ和PP图被打印出来。


参数:printOut
Logical; if printOut = TRUE results of the fitting are printed.
逻辑,如果printOut = TRUE拟合结果被打印出来。


参数:controlBFGS
A list of control parameters for optim when using the "BFGS" optimisation.
控制参数列表optim使用"BFGS"优化。


参数:controlNM
A list of control parameters for optim when using the "Nelder-Mead" optimisation.
控制参数列表optim使用"Nelder-Mead"优化。


参数:maxitNLM
A positive integer specifying the maximum number of iterations when using the "nlm" optimisation.
一个正整数,指定最大迭代次数,,当使用"nlm"优化的。


参数:which
If a subset of plots is required, specify a subset of the numbers 1:4.
如果需要的一个子集的图,指定号码1:4的一个子集。


参数:plotTitles
Titles to appear above the plots.
以上的图出现的标题。


参数:ask
Logical; if TRUE the user is asked before plot change, see par(ask = .).
逻辑,如果TRUE用户要求图的变化之前,请参阅par(ask = .)。


参数:digits
Desired number of digits when the object is printed.
打印时,该对象的所需的位数。


参数:...
Passes arguments to optim, nlm, hist,logHist, qqskewhyp and ppskewhyp.
将参数传递到optim,nlm,hist,logHist,qqskewhyp和ppskewhyp。


Details

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

startValues can be either "US"(User-supplied) or "LA" (Linear approximation) If startValues = "US" then a value for paramStart must be supplied. For the details concerning the use of startValues and paramStart see skewhypFitStart.
startValues是"US"(用户自备)或"LA"(线性近似)如果startValues = "US"那么的值paramStart必须提供。对于使用startValues和paramStartskewhypFitStart的详细信息。

The three optimisation methods currently available are:
目前可用的三种优化方法是:

"BFGS"Uses the quasi-Newton method "BFGS" as documented in optim.
"BFGS"使用拟牛顿方法"BFGS"中的optim。

"Nelder-Mead"Uses an implementation of the Nelder and Mead method as documented in optim.
"Nelder-Mead"使用内尔德和米德法实施中的optim。

"nlm"Uses the nlm function in R.
"nlm"使用nlm功能,R.

For the details of how to pass control information using optim and nlm, see optim and nlm.
的详细信息如何传递控制信息使用optim和nlm,看到optim和nlm.,


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

skewhypFit returns a list with components:
skewhypFit返回一个列表的组件:


参数:param
A vector giving the maximum likelihood estimates of the parameters in the form c(mu,delta,beta,nu).
一个向量,最大似然估计,参数的形式c(mu,delta,beta,nu)。


参数:maxLik
The value of the maximised log-likelihood.
最大化的对数似然的值。


参数:hessian
If hessian was set to TRUE, the value of the hessian, not present otherwise.
如果hessian设置为TRUE“的Hessian的价值,不存在其他方式。


参数:method
Optimisation method used.
优化方法。


参数:conv
Convergence code. See optim or nlm for details.
收敛代码。 optim或nlm的详细信息。


参数:iter
Number of iterations of optimisation routine.
优化例程的迭代数。


参数:x
The data used to fit the distribution.
所使用的数据适合的分布。


参数:xName
Character string with the actual x argument name.
字符串的实际x参数名称。


参数:paramStart
Starting values of the parameters returned by skewhypFitStart.
返回skewhypFitStart开始的参数值。


参数:svName
Name of the method used to find starting values.
名称所使用的方法找到的起始值。


参数:startValues
Acronym of method used to find starting values.
首字母缩写使用的方法找到的初始值。


参数:breaks
Cell boundaries found by a call to hist.
单元界限,通过调用hist。


参数:midpoints
The cell midpoints found by a call to hist.
单元格中点通过调用hist。


参数:empDens
The estimated density found by a call to hist if startValues = "US", or density if startValues = "LA".
估计密度,发现调用hist如果startValues = "US"或density如果startValues = "LA"。


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



David Scott <a href="mailto:d.scott@auckland.ac.nz">d.scott@auckland.ac.nz</a>, Fiona Grimson




参考文献----------References----------

The Generalised Hyperbolic Skew Student's t-distribution, Journal of Financial Econometrics, 4, 275&ndash;309.

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

optim, nlm, par, hist, density, logHist, qqskewhyp, ppskewhyp, dskewhyp and skewhypFitStart.
optim,nlm,par,hist,density,logHist,qqskewhyp,ppskewhyp,<X >和dskewhyp。


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


## See how well skewhypFit works[#如何,以及skewhypFit作品]
param <- c(0, 1, 4, 10)
data <- rskewhyp(500, param = param)
fit <- skewhypFit(data)
## Use data set NOK/EUR as per Aas&amp;Haff[#每个原子吸收光谱法和哈夫使用的数据集NOK / EUR]
data(lrnokeur)
nkfit <- skewhypFit(lrnokeur, method = "nlm")
## Use data set DJI[#使用的数据集DJI]
data(lrdji)
djfit <- skewhypFit(lrdji)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-25 22:59 , Processed in 0.020675 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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