summary.TML(RobustAFT)
summary.TML()所属R语言包:RobustAFT
Summarizing Truncated Maximum Likelihood regression
总结截断的最大似然回归
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Summary and print methods for R object of class "TML" and print method for the summary object. Further, methods fitted(), residuals(), weights() or update() work (via the default methods), and coef(), vcov()
总结和打印methodsR对象类的“TML”和print摘要对象的方法。此外,方法fitted()residuals()weights()或update()工作(通过默认方式),并coef() vcov()
用法----------Usage----------
## S3 method for class 'TML'
summary(object, ...)
## S3 method for class 'TML'
print(x, digits = max(3, getOption("digits") - 3), ...)
## S3 method for class 'TML'
coef(object, ...)
## S3 method for class 'TML'
vcov(object, ...)
## S3 method for class 'summary.TML'
print(x, digits = max(3, getOption("digits") - 3),
signif.stars = getOption("show.signif.stars"), ...)
参数----------Arguments----------
参数:object
An object of class "TML", usually, a result of a call to TML.noncensored or TML.censored.
对象类的“TML”,通常情况下,调用TML.noncensored或TML.censored的结果。
参数:...
Potentially more arguments passed to methods.
可能需要更多的参数传递给方法。
参数:digits
Number of digits for printing, see digits in options.
用于打印的数字数,请参阅digits:options。
参数:x
An object of class "TML" or "summary.TML".
对象类“TML”或“summary.TML”的。
参数:signif.stars
Logical indicating if the P-values should be visualized by so called "significance stars".
逻辑表示若P-值应该是通过所谓的“意义分”可视化。
Details
详细信息----------Details----------
summary.TML returns an object of class "summary.TML".
summary.TML返回一个对象class“summary.TML的”。
print.TML returns a printed summary of object of class "TML".
print.TML返回一个类对象的“TML”打印摘要。
print.summary.TML tries to be smart about formatting the coefficients, standard errors, etc, and gives "significance stars" if signif.stars is TRUE (as per default when options where not changed).
print.summary.TML试图是聪明的格式化系数,标准误差等,并给出了“的意义星星”如果signif.stars是TRUE(按默认情况下,当options没有改变)。
coef.TML returns the final coefficient estimates (value th1 of a "TML" object), and vcov.TML returns the covariance matrix of the final estimates (value CV1 of a "TML" object).
coef.TML返回最终的系数估计值(th1的对象“TML”),和vcov.TML返回的最终估计的协方差矩阵(值CV1的“TML “对象)。
值----------Value----------
An object of class "summary.TML" is a list with the following components:
的类“summary.TML”的对象是以下组件的列表:
<table summary="R valueblock"> <tr valign="top"><td>call </td> <td> The component from object.</td></tr> <tr valign="top"><td>terms </td> <td> The component from object.</td></tr> <tr valign="top"><td>residuals </td> <td> The component from object.</td></tr> <tr valign="top"><td>fitted.values </td> <td> The component from object.</td></tr> <tr valign="top"><td>tn </td> <td> The component from object.</td></tr> <tr valign="top"><td>coefficients </td> <td> The matrix of coefficients, standard errors, t-values and p-values. Aliased coefficients are omitted.</td></tr> <tr valign="top"><td>aliased </td> <td> Named logical vector showing if the original coefficients are aliased.</td></tr> <tr valign="top"><td>df </td> <td> Degrees of freedom, a 3-vector (p, n-p, p*), the last being the number of non-aliased coefficients.</td></tr> <tr valign="top"><td>sigma </td> <td> The final scale estimate from object.</td></tr> <tr valign="top"><td>cutoff.values </td> <td> A vector of the final lower and upper cut-off values from object.</td></tr> </table>
<table summary="R valueblock"> <tr valign="top"> <TD> call </ TD> <TD>组件object。</ TD> </ TR> < TR VALIGN =“”> <TD>terms </ TD> <TD>组件object。</ TD> </ TR> <tr valign="top"> <TD> residuals </ TD> <TD>组件object。</ TD> </ TR> <tr valign="top"> <TD> fitted.values </ TD> < TD>组件object。</ TD> </ TR> <tr valign="top"> <TD>tn </ TD> <TD>组件object </ TD> </ TR> <tr valign="top"> <TD>coefficients </ TD> <TD>的系数矩阵,标准误差,T值和p值。别名的系数被忽略了。</ TD> </ TR> <tr valign="top"> <TD>aliased </ TD> <TD>命名逻辑向量显示,如果原始系数的别名。</ TD > </ TR> <tr valign="top"> <TD>df </ TD> <TD>程度的自由,3向量(P,NP,P *),最后被数的非锯齿系数。</ TD> </ TR> <tr valign="top"> <TD>sigma </ TD> <TD>的最终规模估计从object。</ TD> </ TR> <tr valign="top"> <TD> cutoff.values </ TD> <td>一个矢量的最终上限和下限临界值object。</ TD> </ TR> </ TABLE>
参见----------See Also----------
TML.noncensored, TML.censored, summary, print
TML.noncensored,TML.censored,summary,print
实例----------Examples----------
data(D243)
Cost <- D243$Cost # Cost (Swiss francs)[费用(瑞士法郎)]
LOS <- D243$LOS # Length of stay (days)[住院天数(天)]
Adm <- D243$Typadm; Adm <- (Adm==" Urg")*1 # Type of admission [入院类型]
# (0=on notification, 1=Emergency)[(0 =通知,紧急)]
Ass <- D243$Typass; Ass <- (Ass=="P" )*1 # Type of insurance [保险类型]
# (0=usual, 1=private)[(0 =往常一样,1 =私人)]
Age <- D243$age # Age (years)[年龄(岁)]
Dst <- D243$dest; Dst <- (Dst=="DOMI")*1 # Destination [目的地]
# (1=Home, 0=another hospital)[(1 =首页,0 =另一个医院)]
Sex <- D243$Sexe; Sex <- (Sex=="M" )*1 # Sex (1=Male, 0=Female)[性别(1 = 0 =男,女)]
# Truncated maximum likelihood regression with Gaussian errors[被截断的最大似然回归与高斯错误]
z <- TML.noncensored(log(Cost)~log(LOS)+Adm+Ass+Age+Dst+Sex, otp="adaptive",
cov="nonparametric", control=list(fastS=TRUE))
z # -> print.TML(....)[ - > print.TML(....)]
sumz <- summary(z) # -> summary.TML(....)[ - > summary.TML(....)]
sumz # -> print.summary.TML(....)[ - > print.summary.TML(....)]
coef(z) # -> coef.TML(....)[ - > coef.TML(....)]
vcov(z) # -> vcov.TML(....)[ - > vcov.TML(....)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|