[rkward-devel] RegModel: standard error missing

Pep Roca pep.roca at gmail.com
Wed May 9 11:19:30 UTC 2007


Hello:Hello:

I have do a regression analysis with the following code:


AL_FEV_2_DADES <- read.table("AL_FEV_2_DADES.txt", header=TRUE, sep=";")
RegModel.1 <- lm(AL_FEV_2_DADES$FEV~AL_FEV_2_DADES$AL, data=AL_FEV_2_DADES) 
summary(RegModel.1))


but the object RegModel.1 don't show the Std. Error of the coefficient. Only 
show that:


Camí complet: RegModel.1[["coefficients"]]
Classe(s): numeric
Sortida de 'print (RegModel.1[["coefficients"]])':
(Intercept) AL_FEV_2_DADES$AL
-5.3814939 0.0517922 


but if I run the code in the R console of the RKWard, I get all the summary:


> summary(RegModel.1)
Call:
lm(formula = AL_FEV_2_DADES$FEV ~ AL_FEV_2_DADES$AL, data = AL_FEV_2_DADES)
Residuals:
Min 1Q Median 3Q Max
-0.347659 -0.074420 0.005782 0.074922 0.391087 
Coefficients:
Estimate Std. Error t value Pr(>|t|) 
(Intercept) -5.3814939 0.1379754 -39.00 <2e-16 *** 
AL_FEV_2_DADES$AL 0.0517922 0.0008851 58.52 <2e-16 ***
---
Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 
Residual standard error: 0.1132 on 653 degrees of freedom Multiple R-Squared: 
0.8398, Adjusted R-squared: 0.8396 F-statistic: 3424 on 1 and 653 DF, 
p-value: < 2.2e-16


I ma using RKWard 0.4.2. This is a bug?

Thanks a lot. Pep.




More information about the Rkward-devel mailing list