str(survreg(s~groups, dist="gaussian")) is probably a good place to start.
Hadley On 7/11/07, Vlado Sremac <[EMAIL PROTECTED]> wrote: > dear r experts: > It seems my message got spam filtered, another try: > i would appreciate advice on how to get the p-value from the object 'sr' > created with the function survreg() as given below. > vlad > > sr<-survreg(s~groups, dist="gaussian") > Coefficients: > (Intercept) groups > -0.02138485 0.03868351 > > Scale= 0.01789372 > > Loglik(model)= 31.1 Loglik(intercept only)= 25.4 > Chisq= 11.39 on 1 degrees of freedom, p= 0.00074 > n= 16 > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] 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. > ______________________________________________ [email protected] 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.
