Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘’ 1 Total Sum of Squares: 5.2364e+20 Residual Sum of Squares: 4.8454e+20 R-Squared: 0.074684 Adj. R-Squared: -0.029788 F-statistic: 5.00411 on 1 and 62 DF, p-value: 0.028892 x1 的系数表示当 X 增加一个单位...
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘’ 1 Residual standard error: 0.3841 on 12 degrees of freedom Multiple R-squared: 0.9995, Adjusted R-squared: 0.9994 F-statistic: 1.139e+04 on 2 and 12 DF, p-value: < 2.2e-16 从F统计量和R方中可以看出,p值...
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘’ 1 Residual standard error: 1.525 on 13 degrees of freedom Multiple R-squared: 0.991, Adjusted R-squared: 0.9903 F-statistic: 1433 on 1 and 13 DF, p-value: 1.091e-14 > women$weight [1] 115 117 120 123 12...
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘’ 1 #Tips:在公式里有一个lm()函数,它是一个线性模型函数(linear model),我们会在相关和回归里重点介绍它,这里只需要记住写法。同样,和t检验和wilcoxon检验一样这里,这里有“~”,而“~”之前的变量是数值变量,之后是分组变量。
一般情况,p值在0~0.001之间是非常非常显著,通常用‘***’号表示;在0.001~0.01之间是非常显著,通常用‘**’号表示;在0.01~0.05之间是比较显著,通常用‘**’号表示;在0.05~0.1之间是显著,通常用‘.’号表示;在0.1~1之间是不显著。
(1:100))Residuals:Min 1Q Median 3Q-483.71-98.17-23.21111.40Max368.72Coefficients:Estimate Std.Error(Intercept)1056.422430.3377c(1:100)-2.71430.5216t valuePr(>|t|)(Intercept)34.822<2e-16***c(1:100)-5.2041.07e-06***---Signif.codes:0‘***’0.001‘**’0.01‘*’0.05‘.’0.1‘ ’1...
Coefficients:Estimate Std. Error t-value Pr(>|t|)log(pcap) 0.0043026 0.0253425 0.1698 0.86519log(pc) 0.2144604 0.0232533 9.2228 < 2e-16 ***log(emp) 0.7830897 0.0279794 27.9881 < 2e-16 ***unemp -0.0025609 0.0010546 -2.4282 0.01517 *---Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’...
(Intercept)2.480122 0.298476 8.31 3.7e-10 ***Span -0.0004720.013130 -0.04 0.971Gest -0.0043940.002081 -2.11 0.041 *---Signif.codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1Residualstandard error: 1 on 39 degrees of freedo...
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘’ 1 Residual standard error: 1.319 on 10 degrees of freedom Multiple R-squared: 0.9481, Adjusted R-squared: 0.9429 F-statistic: 182.6 on 1 and 10 DF, p-value: 9.505e-08 ...
Call:coxph(formula = Surv(time, status) ~ sex, data = lung)n= 228, number of events= 165coef exp(coef) se(coef) z Pr(>|z|)sex -0.5310 0.5880 0.1672 -3.176 0.00149 **---Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1exp(coef) exp(-coef) lower .95...