[R] p-values from lm()

Pascal Oettli kridox at ymail.com
Thu Jun 14 12:59:06 CEST 2012


Hello,

What do you want to do with these p-values?

Best Regards


Le 12/06/14 19:44, David Studer a écrit :
> Hi everyone!
>
> Can anyone tell me, how to obtain p.values from a linear model?
>
> Example:
> mod1<-lm(dV~iV1+iV2)
>
> Now, I can get the coefficients with mod1$coef
> But how can I get p-values? ($p.values seems to work with cor.test() only)
>
> Thank you!
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.
>



More information about the R-help mailing list