coef.selection(sampleSelection)
coef.selection()所属R语言包:sampleSelection
Extract Coefficients from Selection Models
从选择模型中提取系数
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function extracts coefficients from sample selection models
这个函数抽取样本选择模型的系数
用法----------Usage----------
## S3 method for class 'selection'
coef(object, part = "full", ...)
## S3 method for class 'summary.selection'
coef(object, part = "full", ...)
## S3 method for class 'coef.selection'
print( x, prefix = TRUE,
digits = max(3, getOption("digits") - 3), ... )
参数----------Arguments----------
参数:object
object of class selection or summary.selection.
对象的类selection或summary.selection。
参数:part
character string indication which parts to extract: "full" for all estimated parameters (selection estimates, outcome estimates, error variance and correlation) or "outcome" for the outcome estimates only (including the coefficient of the inverse Mill's ratio in case of a two-step estimation).
字符串指示哪些部分来提取:“满”的所有估计参数(选择估计,结果估计,误差方差和相关)或“结果”的结果估计(包括的系数的情况下,在逆轧机比仅两个步骤的估计)。
参数:x
object returned by coef.selection.
对象返回的coef.selection。
参数:prefix
logical. Add a prefix to the names of the coefficients that indicates to which equation the coefficient belongs.
逻辑。添加一个前缀,表示的方程的系数属于系数的名称。
参数:digits
numeric, (suggested) number of significant digits.
数字,(建议)的显著数字。
参数:...
currently not used.
目前未使用。
值----------Value----------
coef.selection returns a vector of the estimated coefficients.
coef.selection返回一个向量,估计系数。
coef.summary.selection returns a matrix of the estimated coefficients, their standard errors, t-values, and p-values.
coef.summary.selection返回的估计系数的矩阵,它们的标准误差,t值,和p-值。
(作者)----------Author(s)----------
Arne Henningsen,
Ott Toomet (<a href="mailtotoomet@ut.ee">otoomet@ut.ee</a>)
参见----------See Also----------
coefficients, selection,
coefficients,selection,
实例----------Examples----------
## Estimate a simple female wage model taking into account the labour[#估计一个简单的女性工资模型中,考虑到劳动]
## force participation[#人口参与]
data(Mroz87)
a <- heckit(lfp ~ huswage + kids5 + mtr + fatheduc + educ + city,
log(wage) ~ educ + city, data=Mroz87)
## extract all coefficients of the model:[#提取系数的模型:]
coef( a )
## now extract the coefficients of the outcome model only:[#提取结果模型的系数:]
coef( a, part="outcome")
## extract all coefficients, standard errors, t-values[#提取所有的系数,标准差,T值。]
## and p-values of the model:[#和p-值的模型:]
coef( summary( a ) )
## now extract the coefficients, standard errors, t-values[#提取的系数,标准差,T值]
## and p-values of the outcome model only:[仅#和p值的结果模型:]
coef( summary( a ), part="outcome")
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|