compute.design.data(RMark)
compute.design.data()所属R语言包:RMark
Compute design data for a specific parameter in the MARK model (internal
计算对MARK模型中的特定参数的设计数据(内部
译者:生物统计家园网 机器人LoveR
描述----------Description----------
For a specific type of parameter (e.g., Phi, p, r etc), it creates a data frame containing design data for each parameter of that type in the model as structured by an all different PIM (parameter information matrix). The design data are used in constructing the design matrix for MARK with user-specified model formulae as in make.mark.model.
有关的参数(例如,检测号码,披河等)的一种特定类型的,它创建了一个设计数据的数据框,其中包含在模型中作为结构化的该类型的每个参数的所有不同的PIM(参数信息矩阵)。使用的设计数据与用户指定的模型公式构造设计矩阵MARK在make.mark.model。
用法----------Usage----------
compute.design.data(data, begin, num, type = "Triang",
mix = FALSE, rows = 0, pim.type = "all", secondary,
nstrata = 1, tostrata = FALSE, strata.labels = NULL,
subtract.stratum = strata.labels, common.zero = FALSE,
sub.stratum = 0)
参数----------Arguments----------
参数:data
data list created by process.data
数据列表中创建的process.data
参数:begin
0 for survival type, 1 for capture type
0为生存型,1拍摄类型
参数:num
number of parameters relative to number of occasions (0 or -1)
的参数数量相对数量的场合(0或-1)
参数:type
type of parameter structure (Triang (STriang) or Square)
类型的参数结构(Triang(STriang)或方)
参数:mix
if TRUE this is a mixed parameter
如果是TRUE,这是一个混合参数
参数:rows
number of rows relative to number of mixtures
相对于混合物的数量的行数
参数:pim.type
type of pim structure; either all (all-different) or time
要么全部(不同的)或时间类型的PIM结构;
参数:secondary
TRUE if a parameter for the secondary periods of robust design
TRUE如果一个参数的第二时期的稳健性设计
参数:nstrata
number of strata for multistrata
为多层次的阶层数
参数:tostrata
set to TRUE for transition parameters
过渡参数设置为TRUE
参数:strata.labels
labels for strata as identified in capture history
层标签中所确定的捕捉历史
参数:subtract.stratum
for each stratum, the to.strata that is computed by subtraction
各阶层,to.strata的计算方法是减法
参数:common.zero
if TRUE, uses a common begin.time to set origin (0) for Time variable defaults to FALSE for legacy reasons but should be set to TRUE for models that share formula like p and c with the Time model
如果为true,则使用一个共同的begin.time设置原点(0)为时间变量的默认为FALSE遗留的原因,但应设置为TRUE份额公式的模型,如P和C的时间模型
参数:sub.stratum
the number of strata to subtract for parameters that use mlogit across strata like pi and Omega for RDMSOpenMisClass
阶层的数量减为参数,使用mlogit pi和欧米茄等跨阶层RDMSOpenMisClass
Details
详细信息----------Details----------
This function is called by make.design.data to create all of the default design data for a particular type of model and by add.design.data to add binned design data fields for a particular type of parameter. The design data created by this function include group, age, time and cohort as factors variables and continuous (non-factor) versions of all but group. In addition, if groups have been defined for the data, then a data column is added for each factor variable used to define the groups. Also for specific closed capture heterogeneity models (model="HetClosed", "FullHet", "HetHug", "FullHetHug") the data column mixture is added to the design data. The arguments for this function are defined for each model by the function setup.model.
这个函数被调用make.design.data创建的所有默认的设计数据,为特定类型的模型和add.design.data添加分级的设计数据字段,为特定类型的参数。由该函数创建的设计数据,包括group,age,time和cohort的因素变量和非连续(因子)的所有版本,但group 。此外,如果组已被定义的数据,然后数据列被添加为每个因子变量用于定义的基团。此外,为特定封闭俘获异质性模型(model=“HetClosed”中,“FullHet”,“HetHug”,“FullHetHug”)的数据列mixture被添加到的设计数据。这个函数被定义为每个模型参数的功能setup.model。
值----------Value----------
design.data: a data frame containing all of the design data fields for a particular type of parameter
design.data:包含所有的设计数据字段的一个特定类型的参数的数据框
参数:group
group factor level <tr valign="top"><td>age</td>
组因子水平<tr valign="top"> <TD> age</ TD>
age factor level <tr valign="top"><td>time</td>
年龄因素水平<tr valign="top"> <TD> time</ TD>
time factor level
时间因子水平
参数:cohort
cohort factor level <tr valign="top"><td>Age</td>
队列因子水平<tr valign="top"> <TD> Age</ TD>
age as a continuous variable <tr valign="top"><td>Time</td>
年龄作为连续变量<tr valign="top"> <TD> Time</ TD>
time as a continuous variable <tr valign="top"><td>Cohort</td>
作为一个连续变量的时间<tr valign="top"> <TD>Cohort</ TD>
cohort as a continuous variable
队列作为一个连续变量
参数:mixture
mixture factor level <tr valign="top"><td>other
混合因子水平<tr valign="top"> <TD> <CODE>其他
any factor variables used to define groups
任何因素变量用来定义组
(作者)----------Author(s)----------
Jeff Laake
参见----------See Also----------
make.design.data, add.design.data
make.design.data,add.design.data
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|