Re: [R] calculating p-values from t-values for a Bonferroni adjustment

2009-07-27 Thread NativeBuff2003
> Ben Bolker wrote: > > > > NativeBuff2003 wrote: >> >> I am performing a sequential bonferroni adjustment on the results of an >> ANCOVA but the equation I have for calculating p-values from the t-values >> is not working. I can't seem to find

[R] calculating p-values from t-values for a Bonferroni adjustment

2009-07-27 Thread NativeBuff2003
I am performing a sequential bonferroni adjustment on the results of an ANCOVA but the equation I have for calculating p-values from the t-values is not working. I can't seem to find it anywhere else. This is the code I have now: 2*(1-pt(t,df)) where t=t-value and df=degrees of freedom from the A