Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 14

regular student working student

23 20
20 25
18 20
25 25
28 25
22 26
24 30
24
20

t-Test: Two-Sample Assuming Equal Variances

regular student working student


Mean 22.6666666666667 24.4285714285714
Variance 9.25 12.2857142857142
Observations 9 7
Pooled Variance 10.5510204081632
Hypothesized Mean Di 0
df 14
t Stat -1.07633008893562
P(T<=t) one-tail 0.149989239553096
t Critical one-tail 2.62449406759005
P(T<=t) two-tail 0.299978479106192
t Critical two-tail 2.97684273437083
are they statistically the same ?

Compare : Rule:
t-stat (absolute computed value) -1.0763300889 Reject null hypothesis
t- critical two-tail (critical value) 2.9768427344 Do not reject

Another way:
P(T<=t) two-tail (two-tailed probability) 0.2999784791 alpha level (0.05)
Reject null hypothesis
Do not reject
: Computed value greater than critical value
: Computer value less than critical value

: TTP less than alpha level


: TTP greater than alpha level
Before After t-Test: Paired Two Sample for Means
16 17
15 14 Before
19 20 Mean 15.4
17 20 Variance 8.2666666667
17 17 Observations 10
18 20 Pearson Correlation 0.8571376737
16 20 Hypothesized Mean Difference 0
15 16 df 9
10 9 t Stat -2.4088652056
11 15 P(T<=t) one-tail 0.0196610623
t Critical one-tail 1.8331129327
another way P(T<=t) two-tail 0.0393221245
t Critical two-tail 2.2621571628
After
16.8
12.6222222222
10

absolute computed value Compare:


Absolute value is greater than critical value therefore reject the null hypothesis

less than alpha level : reject null hypothesis


critical value
l hypothesis
Modular (A) Online Lecture (B) Recorded Lecture ( C )
7 8 15
9 7 13
10 7 15
12 13 8
15 10 12

Anova: Single Factor

SUMMARY
Groups Count Sum Average
Modular (A) 5 53 10.6
Online Lecture (B) 5 45 9
Recorded Lecture ( C ) 5 63 12.6
are they statistically the same?
ANOVA sum of square
Source of Variation SS df MS
Between Groups 32.5333333333333 2 16.2666667
Within Groups 96.4 12 8.03333333

Total 128.933333333333 14

hypothesis :
No significant differences : the average of modular, online lecture , recorded lecture
they are statistically the same, they are equal
Variance
9.3
6.5
8.3 ANOVA absolute computed value
are they statistically the same?
critical value
F P-value F crit Compare:
2.024896 0.174691 3.885294 Absolute value is less than critical value do not reject null hypothesis

greater than 0.05 : do not reject null hypothesis

formula:
online lecture , recorded lecture ss / df = MS
ame, they are equal f = between groups ms / within groups ms
ject null hypothesis
English (x) Statistics (y) t-Test: Paired Two Sample for Means
80 77 pearson r:
82 85 0.461924
79 84 Mean
77 80 Variance
90 90 Observations
88 85 Pearson Correlation
85 87 Hypothesized Mean Difference
86 85 df
75 78 t Stat
75 90 P(T<=t) one-tail
t Critical one-tail
P(T<=t) two-tail
t Critical two-tail
English (x) Statistics (y)
81.7 84.1
28.9 20.544444444445
10 10
0.461924304606
0
9
-1.46240003466 less than the critical value: do not reject null hypothesis
0.088827450903 Null hypothesis:
1.833112932656 There is no significant relationship between english and statistics
0.177654901805
2.262157162798
Shipment Distance (km) x Shipping Time (Days) y SUMMARY OUTPUT
1 150 3
2 245 4 Regression Statistics
3 320 4 Multiple R 0.76680259036
4 570 5 R Square 0.58798621258
5 420 4 Adjusted R Square 0.55629284432
6 162 2 Standard Error 0.90309247033
7 324 4 Observations 15
8 623 7
9 435 5 ANOVA
10 243 3 df
11 321 5 Regression 1
12 234 4 Residual 13
13 421 4 Total 14
14 234 2
15 341 2 Coefficients
Intercept 1.32368018521
Distance (km) x 0.00756390982
equivalent of pearson r in correlation
regression interpret: how much change in y associated in distance
0.59 / 59% change in shipping time is associated in distance / it is because of distance

significance level = 95% alpha value = 0.05


SS MS F Significance F less the alpha value (0.05): R is significant
15.1308452037764 15.13085 18.55234 0.00085176654 therefore: distance can significantly predict the shipping
10.602488129557 0.815576 time of product.
25.7333333333333

Standard Error t Stat P-value Lower 95% Upper 95% Lower 95.0% Upper 95.0%
0.6347765063339 2.08527 0.057323 -0.0476710829 2.6950314534 -0.04767108293 2.6950314534
0.0017560908075 4.307243 0.000852 0.00377010628 0.0113577134 0.003770106281 0.0113577134
predict the shipping

You might also like