Dear colleges I need to get the p values for a table with 15000 entries of t values. Does any of you know how to do it? I can, of course, get one by one but that is not sensible. Thanks Rosario
On 12/01/2010 10:47 AM, Rosario Garcia Gil wrote:> Dear colleges > > I need to get the p values for a table with 15000 entries of t values. Does any of you know how to do it? I can, of course, get one by one but that is not sensible. > >Put the t values into a vector, then use pt() in an appropriate way to calculate them all at once. ("An appropriate way" depends on details like whether you want one or two tailed value, degrees of freedom, etc.) Duncan Murdoch
>>> Duncan Murdoch <murdoch at stats.uwo.ca> 12/01/2010 18:07:46 >>> >> I need to get the p values for a table with 15000 entries of tvalues.>>... >Put the t values into a vector, then use pt() in an appropriate way... and don't forget any necessary correction for multiple comparisons; see ?p.adjust Steve E ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}