summary.iwlsm(RSiena)
summary.iwlsm()所属R语言包:RSiena
Summary method for Iterative Weighted Least Squares Models
迭代加权最小二乘模型的简易方法
译者:生物统计家园网 机器人LoveR
描述----------Description----------
summary method for objects of class "iwlsm"
summary的方法为类"iwlsm"对象的
用法----------Usage----------
## S3 method for class 'iwlsm'
summary(object, method = c("XtX", "XtWX"),
correlation = FALSE, ...)
参数----------Arguments----------
参数:object
the fitted model. This is assumed to be the result of some fit that produces an object inheriting from the class iwlsm, in the sense that the components returned by the iwlsm function will be available.
拟合模型。这被认为是一些拟合的结果,产生一个对象继承类iwlsm,在这个意义上,iwlsm函数返回的组件将提供。
参数:method
Should the weighted (by the IWLS weights) or unweighted cross-products matrix be used?
如果使用加权的(通过的IWLS权重)或不加权的交叉产品矩阵?
参数:correlation
logical. Should correlations be computed (and printed)?
逻辑。如果相关性计算(并打印)?
参数:...
arguments passed to or from other methods. </table>
传递的参数或其他方法。 </ TABLE>
Details
详细信息----------Details----------
This function is a method for the generic function summary() for class "iwlsm". It can be invoked by calling summary(x) for an object x of the appropriate class, or directly by calling summary.iwlsm(x) regardless of the class of the object.
这个函数是一个方法的通用函数summary()类"iwlsm"。它可以调用是通过调用summary(x)的对象x适当的类,或直接致电summary.iwlsm(x)的类的对象。
值----------Value----------
If printing takes place, only a null value is returned. Otherwise, a list is returned with the following components. Printing always takes place if this function is invoked automatically as a method for the summary function.
如果打印需要的地方,只有一个返回空值。否则,一个列表返回与以下组件。印刷总是发生,如果此功能被自动调用的方法summary功能。
参数:correlation
The computed correlation coefficient matrix for the coefficients in the model.
在模型中的系数所计算的相关系数矩阵。
参数:cov.unscaled
The unscaled covariance matrix; i.e, a matrix such that multiplying it by an estimate of the error variance produces an estimated covariance matrix for the coefficients.
未缩放的协方差矩阵,即,使得它乘以误差方差的估计产生的估计的协方差矩阵的系数的矩阵。
参数:sigma
The scale estimate.
规模的估计。
参数:stddev
A scale estimate used for the standard errors.
一个规模估计的标准误差。
参数:df
The number of degrees of freedom for the model and for residuals.
自由度的数目的模型和残差。
参数:coefficients
A matrix with three columns, containing the coefficients, their standard errors and the corresponding t statistic.
三列,其中包含的系数,其标准误差及相应的t统计量的矩阵。
参数:terms
The terms object used in fitting this model. </table>
对象,用于在拟合该模型的条款。 </ TABLE>
(作者)----------Author(s)----------
Adapted by Ruth Ripley
参考文献----------References----------
Modern Applied Statistics with S. Fourth edition. Springer. See also http://www.stats.ox.ac.uk/~snijders/siena/
参见----------See Also----------
summary
summary
实例----------Examples----------
## Not run: [#不运行:]
##not enough data here for a sensible example, but shows the idea.[没有足够的数据在这里一个明智的例子,但显示出的主意。]
mymodel <- sienaModelCreate(fn=simstats0c, nsub=2, n3=100)
mynet1 <- sienaNet(array(c(s501, s502), dim=c(50, 50, 2)))
mynet2 <- sienaNet(array(c(s502, s503), dim=c(50, 50, 2)))
mydata1 <- sienaDataCreate(mynet1)
mydata2 <- sienaDataCreate(mynet2)
myeff1 <- getEffects(mydata1)
myeff2 <- getEffects(mydata2)
myeff1 <- setEffect(myeff1, transTrip, fix=TRUE, test=TRUE)
myeff2 <- setEffect(myeff2, transTrip, fix=TRUE, test=TRUE)
myeff1 <- setEffect(myeff1, cycle3, fix=TRUE, test=TRUE)
myeff2 <- setEffect(myeff2, cycle3, fix=TRUE, test=TRUE)
ans1 <- siena07(mymodel, data=mydata1, effects=myeff1, batch=TRUE)
ans2 <- siena07(mymodel, data=mydata2, effects=myeff2, batch=TRUE)
meta <- siena08(ans1, ans2)
metadf <- split(meta$thetadf, meta$thetadf$effects)[[1]]
metalm <- iwlsm(theta ~ tconv, metadf, ses=se^2)
summary(metalm)
## End(Not run)[#(不执行)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|