Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
46 views11 pages

T - Test: Ex No: Date

The document contains examples of using t-tests, F-tests, ANOVA, and descriptive statistics in SPSS to analyze sample data and test hypotheses. T-tests and F-tests are used to test if means or variances are significantly different between groups. ANOVA is used to test if population means are equal. Descriptive statistics like mean, median, mode and frequency are calculated in SPSS. The examples show input data, outputs, and conclusions drawn based on the statistical tests.

Uploaded by

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

T - Test: Ex No: Date

The document contains examples of using t-tests, F-tests, ANOVA, and descriptive statistics in SPSS to analyze sample data and test hypotheses. T-tests and F-tests are used to test if means or variances are significantly different between groups. ANOVA is used to test if population means are equal. Descriptive statistics like mean, median, mode and frequency are calculated in SPSS. The examples show input data, outputs, and conclusions drawn based on the statistical tests.

Uploaded by

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

D.

SWETHA
211416631140

t - TEST
EX NO:
DATE:

To test the null hypothesis that the means of two populations are equal using t-test.

INPUT DATA:
H 0 : There is no significance difference between the means.

H 1 : There is a significant difference between the means.

FEMAL
E MALE
26 23
25 30
43 18
34 25
18 28
52

OUTPUT :
t-Test: Two-Sample Assuming Unequal Variances

FEMALE MALE
Mean 33 24.8
Variance 160 21.7
Observations 6 5
Hypothesized Mean
Difference 0
df 7
t Stat 1.47260514
0.09217020
P(T<=t) one-tail 2
1.89457860
t Critical one-tail 5
0.18434040
P(T<=t) two-tail 5
2.36462425
t Critical two-tail 2

CONCLUSION:
D.SWETHA
211416631140
Thus t Stat < t critical two-tail, we accept the null hypothesis. There is no significance difference
between the means.

t - TEST
EX NO:
DATE:

To test the null hypothesis that the mean height of the populations are 66 inches using t-test.

INPUT DATA:
H 0 : There is no significance difference between the means.

H 1 : There is a significant difference between the means.

PERSO HEIGHT
N S
1 63
2 63
3 66
4 67
5 68
6 69
7 70
8 70
9 71
10 71
OUTPUT :

t-Test: Paired Two Sample for Means


HEIGHT
PERSON S
Mean 5.5 67.8
Variance 9.166666667 9.066667
Observations 10 10
Pearson Correlation 0.962842025
Hypothesized Mean Difference 0
df 9
t Stat -239.300928
P(T<=t) one-tail 9.88695E-19
t Critical one-tail 1.833112933
P(T<=t) two-tail 1.97739E-18
t Critical two-tail 2.262157163
D.SWETHA
211416631140

CONCLUSION:
Thus t Stat < t critical two-tail, we accept the null hypothesis. There is no significance difference
between the means.

F - TEST
EX NO:
DATE:

To test the null hypothesis that the variances of two populations are equal using f-test.

INPUT DATA:
H 0 : There is no significance difference between the variance.

H 1 : There is a significant difference between the variance.

FEMAL
E MALE
26 23
25 30
43 18
34 25
18 28
52

OUTPUT :
F-Test Two-Sample for Variances

FEMALE MALE
Mean 33 24.8
Variance 160 21.7
Observations 6 5
Df 5 4
F 7.373271889
P(F<=f) one-tail 0.037888376
F Critical one-tail 6.256056502

CONCLUSION:
Thus F>F critical one-tail, we reject the null hypothesis. The variances of the two populations are
unequal.
D.SWETHA
211416631140

F - TEST

EX NO:
DATE:

To test the null hypothesis that the population variance differ significantly using f-test.

INPUT DATA:

H 0 : There is no significance difference between the variance.

H 1 : There is a significant difference between the variance.

SAMPLE 1 SAMPLE 2
9 10
11 12
13 10
11 14
15 9
9 8
12 10
14

OUTPUT:

F-Test Two-Sample for Variances


SAMPLE 1 SAMPLE 2
Mean 11.75 10.42857143
Variance 4.785714286 3.952380952
Observations 8 7
df 7 6
F 1.210843373
P(F<=f) one-tail 0.415771103
F Critical one-tail 4.206658488

CONCLUSION:
D.SWETHA
211416631140

Thus F<F Critical one tail, we accept the null hypothesis. There is a significant difference
between the variance.

ANOVA
EX NO:
DATE:

To perform ANOVA for the following

1) X
2) at =0.05 level, is there any significant difference between the methods.

INPUT DATA:
H 0 : The means of three methods are not equal.

H 1 : The means of three methods are equal.

METHOD 1 METHOD 2 METHOD 3


182 170 162
170 192 166
179 190

OUTPUT :
Anova: Single Factor

SUMMARY
Averag
Groups Count Sum e Variance
METHOD 1 3 531 177 39
METHOD 2 3 552 184 148
METHOD 3 2 328 164 8

ANOVA
Source of P-
Variation SS df MS F value F crit
481.87 240.93 3.1536 0.1300 5.7861
Between Groups 5 2 8 3 3 4
Within Groups 382 5 76.4
D.SWETHA
211416631140

863.87
Total 5 7

CONCLUSION:
Thus F<F crit, we accept the null hypothesis. The means of the population are not equal.

ANOVA
EX NO:
DATE:

To test the null hypothesis using ANOVA. At the 0.01 level, do the promotions produce different
effects on sales.

INPUT DATA:
H 0 : The promotions does not produce any different effects on sales.

H 1 : The promotions produce any different effects on sales.

FREE ONE-PACK CENTS REFUND BY


SAMPLE GIFT OFF MAIL
78 94 73 79
87 91 78 83
81 87 69 78
89 90 83 69
85 88 76 81

OUTPUT:
Anova: Single Factor

SUMMARY
Coun Averag
Groups t Sum e Variance
FREE SAMPLE 5 420 84 20
ONE-PACK GIFT 5 450 90 7.5
CENTS OFF 5 379 75.8 27.7
REFUND BY MAIL 5 390 78 29

ANOVA
D.SWETHA
211416631140
Source of
Variation SS Df MS F P-value F crit
204.0 9.6935 3.2388
Between Groups 612.15 3 5 9 0.0007 7
Within Groups 336.8 16 21.05

Total 948.95 19

CONCLUSION:

Thus F > Fcrit, we reject the null hypothesis. The promotion does not produce different effects
on sales.

DESCRIPTIVE STATISTICS USING SPSS


EX NO:

DATE:
To determine the descriptive statistics using spss.

INPUT DATA:

VARIABLE VIEW:

DATA VIEW:
D.SWETHA
211416631140

OUTPUT:

Statistics

FREQUENCY

N Valid 10

Missing 0

Mean 8.00

Median 7.50

Mode 2a

Sum 80

a. Multiple modes exist. The


smallest value is shown
D.SWETHA
211416631140

FREQUENCY

Cumulative
Frequency Percent Valid Percent Percent

Valid 2 1 10.0 10.0 10.0

3 1 10.0 10.0 20.0

4 1 10.0 10.0 30.0

5 1 10.0 10.0 40.0

7 1 10.0 10.0 50.0

8 1 10.0 10.0 60.0

10 1 10.0 10.0 70.0

12 1 10.0 10.0 80.0

14 1 10.0 10.0 90.0

15 1 10.0 10.0 100.0

Total 10 100.0 100.0

DESCRIPTIVE STATISTICS USING SPSS


EX NO:

DATE:
To determine the descriptive statistics using spss.

INPUT DATA:

VARIABLE VIEW:

DATA VIEW:
D.SWETHA
211416631140

OUTPUT:

Statistics

FREQUENCY

N Valid 10

Missing 0

Mean 60.00

Median 49.00

Mode 4a

Sum 600

a. Multiple modes exist. The


smallest value is shown
D.SWETHA
211416631140

FREQUENCY

Cumulative
Frequency Percent Valid Percent Percent

Valid 4 1 10.0 10.0 10.0

6 1 10.0 10.0 20.0

9 1 10.0 10.0 30.0

13 1 10.0 10.0 40.0

47 1 10.0 10.0 50.0

51 1 10.0 10.0 60.0

78 1 10.0 10.0 70.0

82 1 10.0 10.0 80.0

123 1 10.0 10.0 90.0

187 1 10.0 10.0 100.0

Total 10 100.0 100.0

You might also like