Bin Sun wrote: > I need to extract t-test statistics from glm(). For example, > > > > Coefficients: > > Estimate Std. Error t value Pr(>|t|) > > (Intercept) 46.2199 11.6310 3.974 0.000106 *** > > Var1 1.0440 0.5948 1.755 0.081088 . > > Var2 -0.4717 2.0257 -0.233 0.816178 > > Var3 0.2376 0.1454 1.635 0.104024 > > > > And I want to put all the t-values (and if possible, only that is associated > with one particular independent variable such as Var3) to another table that > can be reused later. I'm new to R and your help is highly appreciated! > >
coefficients(summary(glm())) Uwe Ligges > > Eric > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.