maxlikefn(RSiena)
maxlikefn()所属R语言包:RSiena
A ML version of FRAN
弗兰的ML版本
译者:生物统计家园网 机器人LoveR
描述----------Description----------
A function to be called as 'FRAN'. All in R. very slow. work in progress.
被称为“弗兰的功能。在R.很慢。工作正在进行中。
用法----------Usage----------
maxlikefn(z, x, INIT = FALSE, TERM = FALSE, data,
effects = NULL, nstart = 1000, pinsdel = 0.6,
pperm = 0.3, prelins = 0.1, multfactor=2, promul = 0.1,
promul0 = 0.5, pdiaginsdel = 0.1, fromFiniteDiff = FALSE,
noSamples = 1, sampInterval = 50, int = 1)
参数----------Arguments----------
参数:z
control object, passed in automatically in Siena07
控制对象,通过自动Siena07
参数:x
model object, passed in automatically in Siena07
模型对象,通过自动Siena07
参数:INIT
if TRUE, do initial processing. May be required to set up z
如果为TRUE,做初步的处理。可能需要建立Ž
参数:TERM
if TRUE, do end processing.
如果为TRUE,做最终处理。
参数:data
A siena object
锡耶纳对象
参数:effects
list of data frames as returned by getEffects
列表中的数据框的返回getEffects
参数:nstart
Number of MH steps at the start, after making the chain
数MH步骤开始后,链
参数:pinsdel
Probability of insert/delete step
概率的插入/删除步骤
参数:pperm
Probability of permutation step. (set to zero in startup phase.)
概率的排列一步。 (设置为零启动阶段)。
参数:prelins
Insertion probability in InsDelPermute
插入概率InsDelPermute
参数:multfactor
Factor controlling number of MH steps. Will be read from the model in preference, and that is easier to alter! But I don't want to alter that program yet..
因素控制的MH步骤的数量。从偏好的模型中,将被读取,即更容易改变!但我不想改变这个计划还..
参数:promul
Probability of choosing a random single multiple in InsDelPermute in start up phase.
在开始阶段随机选择单一的多InsDelPermute的概率。
参数:promul0
Probability of choosing a random single multiple in InsDelPermute not in startup phase
概率随机选择多个InsDelPermute在启动阶段
参数:pdiaginsdel
Probability of insertion or deletion of a diagonal link.
概率的对角线的链接的插入或缺失。
参数:fromFiniteDiff
Should always be FALSE
应该永远是假的
参数:noSamples
Number of chains to be returned
链数要返回
参数:sampInterval
If multiple chains are returned, the number of steps between each
如果多个链返回,彼此之间的步骤的数量
参数:int
Number of parallel MCMC chains to pursue.
数平行MCMC链的追求。
Details
详细信息----------Details----------
This can be used for the element FRAN of the model object. The arguments with no defaults must be passed in on the call to siena07. Also you must set the option maxlike=TRUE in the call to sienaModelCreate()
这可以被用来为FRAN的模型对象的元素。没有默认值的参数必须通过在调用siena07。你也必须设置该选项maxlike=TRUE在调用sienaModelCreate()
值----------Value----------
Depends on the call. If INIT or initC or TERM are true, returns z, the control object. Otherwise, returns a list containing:
取决于调用。如果INIT或initC或TERM是真实的,回报z,控制对象。否则,返回一个列表,其中包含:
参数:fra
Simulated scores
模拟评分
参数:dff
2nd deriv, not phase 2
第二DERIV,不相
参数:OK
could be set to FALSE if serious error has occurred
可以设置为FALSE,如果发生严重错误
(作者)----------Author(s)----------
Ruth Ripley
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
## Not run: [#不运行:]
mynet1 <- sienaNet(array(c(tmp3, tmp4), dim=c(32, 32, 2)))
mydata <- sienaDataCreate(mynet1)
myeff<- getEffects(mydata)
mymodel<- sienaModelCreate(fn = maxlikefn, nsub=2, n3=100, maxlike=TRUE)
ans<- siena07(mymodel, data=mydata, effects=myeff, batch=TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|