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

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

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

                                         sem Objective-Function Builders
                                         SEM目标函数制造商

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

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

These functions return objective functions suitable for use with optimizers called by sem. The user would not normally call these functions directly, but rather supply one of them in the objective argument to sem. Users may also write their own objective functions. objectiveML and objectiveML2 are for multinormal maximum-likelihood estimation; objectiveGLS and objectiveGLS2 are for generalized least squares. objectiveML and objectiveGLS use compiled code and are therefore substantially faster. objectiveML2 and objectiveGLS2 are provided primarily to illustrate how to write sem objective functions in R. msemObjectiveML uses compiled code is for fitting multi-group models by  multinormal maximum likelihood; msemObjectiveML2 is similar but doesn't use compiled code. msemObjectiveGLS uses compiled code and is for fitting multi-group models by generalized least squares.
这些函数返回用于与optimizers的sem的合适的目标函数。用户通常不会调用这些函数直接,而是为他们提供一个objective参数sem。用户也可以编写自己的目标函数。 objectiveML和objectiveML2multinormal最大似然估计,“objectiveGLS和objectiveGLS2是广义最小二乘。 objectiveML和objectiveGLS使用编译后的代码,因此大大加快。 objectiveML2和objectiveGLS2主要是为了说明怎么写sem目标函数在R msemObjectiveML使用编译后的代码是用于安装多组模型multinormal最大似然,“ msemObjectiveML2是相似的,但不使用编译后的代码。 msemObjectiveGLS使用编译代码,并安装多组模型,通过广义最小二乘。


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


objectiveML(gradient=TRUE, hessian=FALSE)
objectiveML2(gradient=TRUE)

objectiveGLS(gradient=FALSE)
objectiveGLS2(gradient=FALSE)

msemObjectiveML(gradient=TRUE)
msemObjectiveML2(gradient=TRUE)

msemObjectiveGLS(gradient=FALSE)



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

参数:gradient
If TRUE, the object that's returned includes a function for computing an analytic gradient; there is at present no analytic gradient available for objectiveGLS, objectiveGLS2, or msemObjectiveGL.
TRUE如果,返回的对象,包括函数计算的解析梯度,目前有没有解析梯度可用于objectiveGLS,objectiveGLS2或msemObjectiveGL。


参数:hessian
If TRUE, the objected returned includes a function to compute an analytic Hessian; only avaiable for objectiveML and not generally recommended.
如果TRUE,反对返回一个函数来计算分析黑森州,只有缴费的objectiveML“,而不是通常建议。


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

These functions return an object of class "semObjective", with up to two elements:
这些函数返回一个对象的类"semObjective",两个元素:


参数:objective
an objective function.
一个目标函数。


参数:gradient
a gradient function.
梯度功能。


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


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



参考文献----------References----------



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

sem, optimizers
sem,optimizers

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-5-19 03:29 , Processed in 0.031362 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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