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

R语言 sem包 optimizers()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 00:48:13 | 显示全部楼层 |阅读模式
optimizers(sem)
optimizers()所属R语言包:sem

                                        sem Optimizers
                                         SEM优化器

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

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

The default optimizer used by sem is optimizerSem, which employs compiled code and is integrated with the objectiveML and objectiveGLS objective functions; optimizerSem is a modified version of the standard R nlm optimizer. The other functions call optimizers (nlm, optim, or nlminb),  to fit structural equation models, and are called by the sem function.  The user would not normally call these functions directly, but rather supply one of them in the optimizer argument to sem. Users may also write them own optimizer functions. msemOptimizerNlm is for fitting multigroup models.
使用默认的优化sem是的optimizerSem,它采用编译的代码,并集成了objectiveML和objectiveGLS的目标函数; optimizerSem是修改后的版本标准Rnlm优化。其他函数调用优化(nlm,optim或nlminb),以适应结构方程模型,被称为sem功能。用户通常不会调用这些函数直接,而是为他们提供一个optimizer参数sem。用户也可以编写自己的优化功能。 msemOptimizerNlm是安装多组模型。


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


optimizerSem(start, objective=objectiveML,  
        gradient=TRUE, maxiter, debug, par.size, model.description, warn, ...)
       
optimizerMsem(start, objective=msemObjectiveML, gradient=TRUE,
        maxiter, debug, par.size, model.description, warn=FALSE, ...)
       
optimizerNlm(start, objective=objectiveML, gradient=TRUE,
        maxiter, debug, par.size, model.description, warn, ...)
       
optimizerOptim(start, objective=objectiveML, gradient=TRUE,
        maxiter, debug, par.size, model.description, warn, method="CG", ...)

optimizerNlminb(start, objective=objectiveML, gradient=TRUE, maxiter,
        debug, par.size, model.description, warn, ...)

msemOptimizerNlm(start, objective=msemObjectiveML, gradient=TRUE,
                maxiter, debug, par.size, model.description, warn=FALSE, ...)



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

参数:start
a vector of start values for the parameters.
开始的参数的值的矢量。


参数:objective
the objective function to be optimized; see objective.functions.
目标函数进行优化,见objective.functions。


参数:gradient
TRUE if an analytic gradient is to be used (if one is available).
TRUE如果解析梯度是被使用(如果有一个可用)。


参数:maxiter
the maximum number of iterations allowed.
允许的最大数目的迭代。


参数:debug
TRUE to show the iteration history and other available information about the optimization.
TRUE显示的的迭代历史和其他可用信息的优化。


参数:par.size
"startvalues" to have the optimizer scale the problem according to the magitudes of the start values (ignored by optimizerNlminb).
"startvalues"有优化规模的问题,根据开始值(由optimizerNlminb忽略的magitudes)。


参数:model.description
a list with elements describing the structural-equation model (see the code for details).
列表中的元素的结构方程模型(有关详细信息,请参阅代码)。


参数:warn
if FALSE, suppress warnings during the optimization.
如果FALSE,在优化过程中禁止警告。


参数:method
the method to be employed by the optim optimizer; the default is "CG" (conjugate-gradient).
optim优化方法被采用,默认的是"CG"(共轭梯度)。


参数:...
additional arguments for the nlm, optim, or nlminb optimizer.
额外的参数nlm,optim或nlminb优化。


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

An object of class "semResult", with elements:
对象的类"semResult",元素:


参数:convergence
TRUE if the optimization apparently converged.
TRUE如果优化明显收敛。


参数:iterations
the number of iterations required.
所需的迭代次数。


参数:par
the vector of parameter estimates.
参数估计值的向量。


参数:vcov
the estimated covariance matrix of the parameter estimates, based on a numeric Hessian; not supplied by optimizerNlminb.
估计协方差矩阵的参数估计,基于一个数字黑森州;不提供optimizerNlminb。


参数:criterion
the optimized value of the objective function.
目标函数的优化值。


参数:C
the model-implied covariance or moment matrix at the parameter estimates.
模型隐含的协方差,矩矩阵的参数估计。


参数:A
the estimated A matrix.
估计A矩阵。


参数:P
the estimated P matrix.
估计P矩阵。


(作者)----------Author(s)----------


John Fox <a href="mailto:jfox@mcmaster.ca">jfox@mcmaster.ca</a>



参见----------See Also----------

sem, objective.functions, nlm, optim, nlminb
sem,objective.functions,nlm,optim,nlminb

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-19 02:55 , Processed in 0.019308 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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