logLik.lme(nlme)
logLik.lme()所属R语言包:nlme
Log-Likelihood of an lme Object
对数似然LME对象
译者:生物统计家园网 机器人LoveR
描述----------Description----------
If REML=FALSE, returns the log-likelihood value of the linear mixed-effects model represented by object evaluated at the estimated coefficients; else, the restricted log-likelihood evaluated at the estimated coefficients is returned.
如果REML=FALSE,返回的线性混合效应模型所代表的对数似然值object评估的估计系数;否则,返回禁区似然估计系数评估。
用法----------Usage----------
## S3 method for class 'lme'
logLik(object, REML, ...)
参数----------Arguments----------
参数:object
an object inheriting from class lme, representing a fitted linear mixed-effects model.
一个对象从lme类代表拟合的线性混合效应模型,继承。
参数:REML
an optional logical value. If TRUE the restricted log-likelihood is returned, else, if FALSE, the log-likelihood is returned. Defaults to the method of estimation used, that is TRUE if and only object was fitted with method = "REML" (the default for these fitting functions) .
一个可选的逻辑值。如果TRUE限制日志的可能性则返回,否则,如果FALSE,日志返回的可能性。估计的方法,那就是默认TRUE如果只object配备method = "REML"(这些拟合函数的默认)。
参数:...
some methods for this generic require additional arguments. None are used in this method.
这个通用的一些方法需要额外的参数。没有使用这种方法。
值----------Value----------
the (restricted) log-likelihood of the model represented by object evaluated at the estimated coefficients.
(限制)日志代表object估计系数评估模型的可能性。
作者(S)----------Author(s)----------
Jose Pinheiro and Douglas Bates
参考文献----------References----------
Using Only Error Contrasts”, Biometrika, 61, 383–385.
in S and S-PLUS", Springer.
参见----------See Also----------
lme,gls, logLik.corStruct, logLik.glsStruct, logLik.lmeStruct, logLik.lmList, logLik.reStruct, logLik.varFunc,
lme,gls,logLik.corStruct,logLik.glsStruct,logLik.lmeStruct,logLik.lmList,logLik.reStruct,logLik.varFunc
举例----------Examples----------
fm1 <- lme(distance ~ Sex * age, Orthodont, random = ~ age, method = "ML")
logLik(fm1)
logLik(fm1, REML = TRUE)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|