Severity: Warning

Message: count(): Parameter must be an array or an object that implements Countable

Filename: controllers/calculator.php

Line Number: 37

- 1-800-665-6601
- info@tutorpace.com

t = (mean(x1) – mean(x2)) / √ (s1

= difference between means of 2 samples/(variance/sample size).

Mean of x1 = 2+5/2= 7/2=3.5

Mean of x2= 9+6/2= 15/2 =7.5

Standard deviation for x1

1. Sum (x1-mean x1)

2. Sum (x2-mean x2)

3. Standard deviation x1= s1

4. Standard deviation x2= s2

T = (mean(x1) – mean(x2))/√(s1

3.5-7.5/√/(2.5/2+2.5/2) = -4/√5/2= -4/2.5 = -40/25 = -1.6

Mean of x1 = 3+5+2+3= 13/4=3.25

Mean of x2= 2+2+5+6= 15/4 =3.75

Standard deviation for x1

1. Sum (x1-mean x1)

2. Sum (x2-mean x2)

3. Standard deviation x1= s1

4. Standard deviation x2= s2

T = (mean(x1) – mean(x2))/√(s1

3.25-3.75/√/(1.5625/4+ 3.1875/4) = -0.50/√1.1875= -0.5/1.0897= - 0.4588