Environment for creative processing of text
and numerical data | |
Comparing the means of two samples with t test
Beginning status (before activation):
1 *
2 *The statistics computed from two independent samples from normal
3 *distribution are:
4 *Sample size Mean Standard deviation
5 *N1=10 M1=9.400000 S1=1.955050
6 *N2=15 M2=10.86667 S2=1.684665
7 *
8 *If the samples are from the same normal distribution, the statistic
9 *t=(M1-M2)/S/sqrt(1/N1+1/N2)
10 *where S=sqrt(((N1-1)*S1^2+(N2-1)*S2^2)/(N1+N2-2))
11 *has a t distribution with df=N1+N2-2 degrees of freedom.
12 *
13 *Testing hypothesis H0: my1=my2 against hypothesis H1: my1<my2:
14 *t.=
15 *t.F(df,t).=
16 *
Ending status (after activation):
1 *
2 *The statistics computed from two independent samples from normal
3 *distribution are:
4 *Sample size Mean Standard deviation
5 *N1=10 M1=9.400000 S1=1.955050
6 *N2=15 M2=10.86667 S2=1.684665
7 *
8 *If the samples are from the same normal distribution, the statistic
9 *t=(M1-M2)/S/sqrt(1/N1+1/N2)
10 *where S=sqrt(((N1-1)*S1^2+(N2-1)*S2^2)/(N1+N2-2))
11 *has a t distribution with df=N1+N2-2 degrees of freedom.
12 *
13 *Testing hypothesis H0: my1=my2 against hypothesis H1: my1<my2:
14 *t.=-2.001083427897
15 *t.F(df,t).=0.02865990939909
16 *
Previous
| Next