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

R语言 vacem包 sim.n.vacc.sample.pop()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-10-1 14:20:58 | 显示全部楼层 |阅读模式
sim.n.vacc.sample.pop(vacem)
sim.n.vacc.sample.pop()所属R语言包:vacem

                                        Calculates the number of vaccinations each member of a sample population...
                                         接种疫苗的每一个成员的样本人口数计算...

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

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

Calculates the number of vaccinations each member of a sample population would receive based upon probabilities generated from the campaigns
计算每个成员的样本人口数量的疫苗接种将获得基于概率的运动产生的


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





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

参数:obs
the synthetic population, i.e. a data frame with one row per observation and columns for @c date of observation and @c age of individual on that date; <i>Note: all ages should be in months</i>
合成的人口,即一个数据框,观察每行和列日@ C的观察和C年龄的人于该日<i>请注意:所有年龄应该是在几个月</ I>


参数:camps
a data frame with one row per activity and columns providing the activity's @c date, targeted age range (@c age.low and @c age.high), size of targeted population (@c N) and the number of vaccine doses nominally distributed (@c v)
活动提供活动的@ C日期,有针对性的年龄范围(和列一列,每一个数据框@&#199;age.low @ C age.high),目标人群的大小(@ C N)的数量的疫苗剂量名义上分布(CV)


参数:rho
the proportion of the population (scalar) that can be vaccinated, i.e @code1 - rho is the @e inaccessible portion of the general population.
(标量),可以接种疫苗的人口比例,即代码1  -  rho是@ E无法访问部分的总人口。


参数:alpha
the vaccination efficiency parameter (scalar) for the campaign; @codealpha = -inf implies perfect efficiency, @codealpha = 0 implies random efficiency; see note above
疫苗接种效率参数(标量)的活动; codealpha =-INF意味着完美的效率,@ codealpha = 0表示随机的效率;见上文附注


参数:cond.on.accessible
a flag indicating whether the probabilities should be conditioned on the individual's inclusion in the accessible population, i.e. @p rho; the default is @c FALSE
在访问的人口,即@ P RHO空调的概率是否应列入对个人的一个标志,指示,默认值是@ C FALSE


参数:z
the eligibility matrix for each individual/campaign pairing, i.e. @codez[i,j] = 1 if this individual @c i is eligible for campaign @c j, otherwise @codez[i,j] = 0; <i>Note: if @c z is @c NULL, then the eligibilty matrix is calculated from @p obs and @p camps parameters using @code z.matrix  function.</i>
每一个人的资格矩阵/运动配对,即@ codez [I,J] = 1,如果这个人@词是活动@ CJ资格,否则@ codez [I,J] = 0; <i>请注意:如果锆石是C NULL,,然后eligibilty矩阵计算@ P OBS和@ P营地的参数,使用@的代码z.matrix的函数。</ I>


参数:w
the weight matrix for each individual/campaign pairing, i.e. @code w[i,k]  gives the probability of individual @c i receiving a routine vaccination in year @c k <i>Note: if @c w is @c NULL, then the weight matrix is calculated from @p obs, @p camps, @p cdf.fun and @p ... parameters using @code w.matrix  function.</i>
每一个人/运动配对的权重矩阵,即@代码W [I,K]给出的概率的个别@词在今年@ CK <i>请注意接收常规免疫接种:@ CW @ C NULL,那么权重矩阵计算@ P OBS,@ P营地,@ P cdf.fun和@ P ...参数@的代码w.matrix的函数。</ I>


参数:cdf.fun
a cumulative distribution function (CDF) used to calculate the probability of routine vaccination based upon age, e.g. @code constant.post.9mo . <i>Note: this parameter is only required if the weight matrix, @p w, is <u>not</u> provided.</i>
的累积分布函数(CDF)用于计算常规疫苗接种的概率根据年龄,例如@代码constant.post.9mo。 <i>注意:此参数只需要@ PW,权重矩阵,是<u> </ U> </ I>


参数:...
any additional arguments to the @p cdf.fun, e.g. @c lambda <i>Note: this parameter is only required if the weight matrix, @p w, is not provided.</i> </table>
@ P cdf.fun,例如任何其他参数@ C的lambda <i>请注意:此参数仅在需要权重矩阵,@ PW,不提供。</ I> </ TABLE>


Details

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

TBD: Add details
TBD:添加详细信息


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

a vector containing the number of vaccinations each individual in observation set, @p obs, would have received
一个向量,包含数接种疫苗的每一个人在观察组,@ P OBS,已收到

@see z.matrix @see w.matrix @see nine.month.pointmass @see constant.post.9mo @see get.win.smooth.expected.mcmcres
@见z.matrix @见w.matrix看到nine.month.pointmass:constant.post.9mo @见get.win.smooth.expected.mcmcres


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

The inefficiency measure @p alpha is defined as the natural log of psi, i.e. @codepsi = e^alpha.  @codepsi = 0 (@codealpha = -inf) represents perfect efficiency, i.e. when every dose results in an additional vaccinee.  @codepsi = 1 (@codealpha = 0) represents random efficiency, i.e. when probability of any dose resulting in an additional vaccinee is independent of receiving a dose previously
@ P字母被定义为PSI的自然对数的低效率措施,即@ codepsi = E ^阿尔法。 @ codepsi = 0(codealpha =-INF)代表完美的效率,即每剂量的额外疫苗接种的结果。 codepsi = 1(@ codealpha = 0)表示随机效率,即当在一个额外的接种者产生任何剂量的概率是独立的先前接收的剂量


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


dates <- as.Date( c( "2005-05-01", "2007-07-02", "2009-09-03" ) )
sample.obs   <- make.sample.pop( N=N, age.low=0, age.high=25,
date=array(dates,dim=N) )
sample.camps <- data.frame( date=(dates - 3*DAYS.PER.MONTH),
N=(0.5*N), v=(0.5*N),
age.low=8, age.high=20, is.SIA=1 )

sim.n.vacc.sample.pop( sample.obs, sample.camps, rho=0.9, alpha=0,

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-27 18:48 , Processed in 0.031633 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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