0% found this document useful (0 votes)
12 views15 pages

Computation Exam Stat

Uploaded by

2016167403
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views15 pages

Computation Exam Stat

Uploaded by

2016167403
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 15

week Brand A Brand B

1 76 172
2 58 134
3 63 140
4 71 159
5 66 145
6 55 126
7 60 132
8 64 141
9 69 150
10 80 178

Brand A Brand B
Brand A 1
Brand B 0.988259 1

y = a + bx
y = a + bx
SUMMARY OUTPUT

Regression Statistics
Multiple R 0.988258658886201
R Square 0.976655176863552
Adjusted R Squar 0.973737073971496
Standard Error 2.78506899328796
Observations 10

ANOVA
df SS MS F Significance F
Regression 1 2596.04712562101 2596.047 334.6884 8.198E-08
Residual 8 62.0528743789922 7.756609
Total 9 2658.1

Coefficients Standard Error t Stat P-value Lower 95%Upper 95%


a Intercept 5.62136266855927 7.81597667557663 0.719214 0.49248 -12.40231 23.64504
x Brand A 2.14620298083747 0.11731416829755 18.29449 8.198E-08 1.875676 2.41673
y= a+bx
y 145.124556422995
Lower 95.0%
Upper 95.0%
-12.40231 23.64504
1.875676 2.41673
Individual Before After
1 3 6
2 4 6
3 3 3
4 5 7
5 2 4
6 5 6
7 3 7
8 4 6

t-Test: Paired Two Sample for Means

Before After
Mean 3.625 5.625
Variance 1.125 1.9821428571429
Observations 8 8
Pearson Correlation 0.5620385359451
Hypothesized Mean Differenc 0
df 7
t Stat -4.73286382648
P(T<=t) one-tail 0.0010627260989
t Critical one-tail 1.89457860509
P(T<=t) two-tail 0.0021254521978
t Critical two-tail 2.3646242515928
t-Test: Paired Two Sample for Means

After Before
Mean 5.625 3.625
Variance 1.98214285714286 1.125
Observations 8 8
Pearson Correlation 0.5620385359451
Hypothesized Mean Difference 0
df 7
t Stat 4.73286382647969
P(T<=t) one-tail 0.00106272609888
t Critical one-tail 1.89457860509001
P(T<=t) two-tail 0.00212545219776 less than 0.05
t Critical two-tail 2.36462425159279

critical value vs computed value p value vs alpha(0.05)

computed value < critical value p value < 0.05


accept null hypothesis reject null hypothesis

computed value > critical value p value > 0.05


reject null hypothesis accept null hypothesis
Brand A Brand B
1 6.8 4.7 t-Test: Two-Sample Assuming Equal Variances
2 13.2 11.4
3 8.8 6.7 Brand A Brand B
4 7.2 5 Mean 9.0066666666667 6.8666666666667
5 10.5 8.6 Variance 11.872095238095 13.05380952381
6 2.1 2 Observations 15 15
7 7.4 1.5 Pooled Variance 12.462952380952
8 13.6 11.8 Hypothesized Mean Differe 0
9 7.3 5.1 df 28
10 9.8 7.8 t Stat 1.6600988060321
11 6.6 4.4 P(T<=t) one-tail 0.0540273167923
12 7.1 4.9 t Critical one-tail 1.7011309342659
13 13.7 11.9 P(T<=t) two-tail 0.1080546335845
14 14.2 12.4 t Critical two-tail 2.0484071417952
15 6.8 4.8

critical value vs computed value p value vs alpha(0.05)

computed value < critical value p value < 0.05


accept null hypothesis reject null hypothesis

computed value > critical value p value > 0.05


reject null hypothesis accept null hypothesis
vs alpha(0.05)

ull hypothesis

null hypothesis
Low Tempt Medium Tempt High Tempt Anova: Single Factor
42 36 33
41 35 44 SUMMARY
37 32 40 Groups
29 38 36 Low Tempt
35 39 44 Medium T
40 42 37 High Temp
32 34 45

ANOVA
Source of Variation
Between G
Within Gro

Total

Fcomputed >F Critical

Decision: Accept the Null hypothesis.

If the p value is higher than the significance level, the null


hypothesis is accepted, and the results are not statistically
significant.

If the p value is lower than the significance level, the


results are interpreted as rejecting the null hypothesis
and reported as statistically significant.
Anova: Single Factor

SUMMARY
Count Sum Average Variance
7 256 36.57143 23.61905
7 256 36.57143 11.28571
7 279 39.85714 21.80952

p value >0.05

SS df MS F P-value F crit
50.38095 2 25.19048 1.332494 0.288627 3.554557
340.2857 18 18.90476

390.6667 20

e Null hypothesis.

gnificance level, the null


esults are not statistically

gnificance level, the


g the null hypothesis
Detergent Temperature
Cold Warm Hot
4 7 10
x 5 8 11
5 9 12
5 12 19
5 3 15
4 12 10
y 4 12 12
6 13 13
6 15 13
5 3 12

Anova: Two-Factor With Replication

SUMMARY Cold Warm Hot Total

Count 5 5 5 15
Sum 24 39 67 130
Average 4.8 7.8 13.4 8.666667
Variance 0.2 10.7 13.3 20.52381

Count 5 5 5 15
Sum 25 55 60 140
Average 5 11 12 9.333333
Variance 1 21.5 1.5 17.09524

Total
Count 10 10 10
Sum 49 94 127
Average 4.9 9.4 12.7
Variance 0.5444444444 17.155555556 7.1222222222

ANOVA
Source of Variation SS df MS F P-value F crit
Sample 3.3333333333 1 3.3333333333 0.414938 0.52558288436 4.259677
Columns 306.6 2 153.3 19.08299 1.0962305E-05 3.402826
Interaction 27.266666667 2 13.633333333 1.697095 0.20447168292 3.402826
Within 192.8 24 8.0333333333
Total 530 29

Fcomputed >F Critical If the p value is higher th


hypothesis is accepted, a
Decision: Accept the Null hypothesis. significant.

If the p value is lower th


results are interpreted a
and reported as statistic

Are there any significant main effects of the independent variable on the dependent variable? Justify your
accept Type of detergent have no effect on the dirt removal
reject Water temperature have no effect on the dirt removal
accept combined effect of type of detergent and water temperature have no effect on the dirt removal
If the p value is higher than the significance level, the null
hypothesis is accepted, and the results are not statistically
significant.

If the p value is lower than the significance level, the


results are interpreted as rejecting the null hypothesis
and reported as statistically significant.

t variable? Justify your answer.

You might also like