LogNormalPriorCh(SpatialEpi)
LogNormalPriorCh()所属R语言包:SpatialEpi
Compute Parameters to Calibrate a Log-normal Distribution
计算参数校准对数正态分布
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Compute parameters to calibrate the prior distribution of a relative risk that has a log-normal distribution.
计算校准参数的相对风险,有一个对数正态分布的先验分布。
用法----------Usage----------
LogNormalPriorCh(theta1, theta2, prob1, prob2)
参数----------Arguments----------
参数:theta1
lower quantile
降低位数
参数:theta2
upper quantile
上分位数
参数:prob1
lower probability
概率较低
参数:prob2
upper probability
上概率
值----------Value----------
A list containing:
一个列表,其中包含:
参数:mu
mean of log-normal distribution
平均的对数正态分布
参数:sigma
variance of log-normal distribution
对数正态分布的方差
(作者)----------Author(s)----------
Jon Wakefield
参见----------See Also----------
GammaPriorCh
GammaPriorCh
实例----------Examples----------
# Calibrate the log-normal distribution s.t. the 95% confidence interval is [0.2, 5][校准的对数正态分布S.T. 95%的置信区间为[0.2,5]]
param <- LogNormalPriorCh(0.2, 5, 0.025, 0.975)
curve(dlnorm(x,param$mu,param$sigma), from=0, to=6, ylab="density")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|