Re: [R] Getting p-value from summary output

2011-02-11 Thread Alice Lin
Awesome! Thanks so much! On Thu, Feb 10, 2011 at 6:13 PM, Dennis Murphy wrote: > Hi: > > Try > summary(myprobit)$coefficients[, 4] > > HTH, > Dennis > > On Thu, Feb 10, 2011 at 3:46 PM, Allie818 wrote: > >> >> I can get this summary of a model that I am running: >> >> summary(myprobit) >> >> Ca

Re: [R] Getting p-value from summary output

2011-02-10 Thread Bill.Venables
Hi Alice, You can use pvals <- summary(myprobit)$coefficients[, "Pr(>|z|)"] Notice that if the p-value is very small, the printed version is abbreviated, but the object itself has full precision (not that it matters). Bill Venables. -Original Message- From: r-help-boun...@r-project.o

Re: [R] Getting p-value from summary output

2011-02-10 Thread Dennis Murphy
Hi: Try summary(myprobit)$coefficients[, 4] HTH, Dennis On Thu, Feb 10, 2011 at 3:46 PM, Allie818 wrote: > > I can get this summary of a model that I am running: > > summary(myprobit) > > Call: > glm(formula = Response_Slot ~ trial_no, family = binomial(link = "probit"), >data = neg_data,