recnormal1(VGAM)
recnormal1()所属R语言包:VGAM
Upper Record Values from a Univariate Normal Distribution
上记录值从单变量的正态分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Maximum likelihood estimation of the two parameters of a univariate normal distribution when the observations are upper record values.
最大似然估计的两个参数的单变量正态分布时的观测上记录值。
用法----------Usage----------
recnormal1(lmean = "identity", lsd = "loge",
imean = NULL, isd = NULL, imethod = 1, zero = NULL)
参数----------Arguments----------
参数:lmean, lsd
Link functions applied to the mean and sd parameters. See Links for more choices.
应用到链接功能的均值和标准差的参数。见Links更多的选择。
参数:imean, isd
Numeric. Optional initial values for the mean and sd. The default value NULL means they are computed internally, with the help of imethod.
数字。可选的初始值的平均值和标准差。的默认值NULL意味着,计算它们内部的帮助imethod。
参数:imethod
Integer, either 1 or 2 or 3. Initial method, three algorithms are implemented. Choose the another value if convergence fails, or use imean and/or isd.
整数,1或2或3。初始方法,算法的实现。选择另一个值,如果收敛失败,或使用“imean和/或isd。
参数:zero
An integer vector, containing the value 1 or 2. If so, the mean or standard deviation respectively are modelled as an intercept only. Usually, setting zero = 2 will be used, if used at all. The default value NULL means both linear/additive predictors are modelled as functions of the explanatory variables.
,含有1或2的值的整数向量。如果是这样,平均值或标准偏差分别参照仅作为截距。通常情况下,设置zero = 2将使用,如果使用在所有。默认值:NULL是指线性/添加剂的预测模型的解释变量的函数。
Details
详细信息----------Details----------
The response must be a vector or one-column matrix with strictly increasing values.
响应必须是严格的增加值向量或一列的矩阵。
值----------Value----------
An object of class "vglmff" (see vglmff-class). The object is used by modelling functions such as vglm, and vgam.
类的一个对象"vglmff"(见vglmff-class)。该对象被用于建模功能,如vglm,vgam。
注意----------Note----------
This family function tries to solve a difficult problem, and the larger the data set the better. Convergence failure can commonly occur, and convergence may be very slow, so set maxit = 200, trace = TRUE, say. Inputting good initial values are advised.
这间家庭功能试图解决一个棘手的问题,更大的数据集的更好。收敛失败通常发生和收敛的速度可能会很慢,所以maxit = 200, trace = TRUE“说。输入好初始值的建议。
This family function uses the BFGS quasi-Newton update formula for the working weight matrices. Consequently the estimated variance-covariance matrix may be inaccurate or simply wrong! The standard errors must be therefore treated with caution; these are computed in functions such as vcov() and summary().
这间家庭功能使用BFGS拟牛顿更新公式的权重矩阵。因此,估计的方差 - 协方差矩阵可能是不准确的或完全错误的!标准误差必须谨慎对待,因此,这些计算功能,如vcov()和summary()。
(作者)----------Author(s)----------
T. W. Yee
参考文献----------References----------
Records, New York: John Wiley & Sons.
参见----------See Also----------
normal1, dcennormal1.
normal1,dcennormal1。
实例----------Examples----------
nn = 10000; mymean = 100
# First value is reference value or trivial record[第一个值是参考值或琐碎的记录]
Rdata = data.frame(rawy = c(mymean, rnorm(nn, me = mymean, sd = exp(3))))
# Keep only observations that are records:[只保留意见的记录:]
rdata = data.frame(y = unique(cummax(with(Rdata, rawy))))
fit = vglm(y ~ 1, recnormal1, rdata, trace = TRUE, maxit = 200)
coef(fit, matrix = TRUE)
Coef(fit)
summary(fit)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|