On Thu, 2008-02-21 at 14:25 +0000, Angelo Passalacqua wrote: > I entered the following: > > formula<-nst~age+soc+inc+reg+imp > > pnstlm<-lm(formula,nst) > > summary(pnstlm) > > imp and soc are ordered categorical variables but the summary does not give > an output of the overall p-values, just individual comparisons. I can't > find help for this in the manual. Is there a command or option change in > the summary to find out the overall p-value?
I think you want: anova(pnstlm) to get single measures for imp and soc G -- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% ______________________________________________ R-help@r-project.org 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.