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

2009-07-27 Thread Dieter Menne
NativeBuff2003 wrote: > > > Sorry I'm new to the list and not great with R. My advisor performed > several for me but I am getting a different output when I try to reproduce > it. > >> 2*(1-pt(-3.59,598)) > 0.000358 <-his answer > [1] 1.999642 <-my answer > > I was working with a different d

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 it anywhere else. This is the code >> I have n

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

2009-07-27 Thread Ben Bolker
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 it anywhere else. This is the code I > have now: 2*(1-pt(t,df)) where t=t-value a

[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