Re: t-test question
- To: mathgroup at smc.vnet.net
- Subject: [mg64163] Re: t-test question
- From: Bill Rowe <readnewsciv at earthlink.net>
- Date: Fri, 3 Feb 2006 01:03:50 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
On 2/2/06 at 7:09 PM, attila at biking.taiiku.tsukuba.ac.jp (Csukas Attila) wrote: >I have found an equation for comparing two means. >Ue = (na - 1)*Ua + (nb - 1)Ub/na + nb - 2 This is for the pooled >value of distribution and >t0 = |xa-xb|/ Root Ue*(1/na+1/nb) This is for the t value. This would be done in Mathematica as: t0= Abs[xa-xb]/Sqrt[Ue (1/na+1/nb)] >Sample values na=342 nb=170 Ua=6.39 Ub=6.07 xa=177.19 xb=170.37 with these values In[18]:=Ue = (na - 1)*Ua + (nb - 1)*(Ub/na) + nb - 2 Out[18]=2349.9895029239765 and In[23]:=t0=Abs[xa-xb]/Sqrt[Ue (1/na+1/nb)] Out[23]=1.49918 -- To reply via email subtract one hundred and four