D.
SWETHA
211416631140
CORRELATION USING EXCEL
EX NO:
DATE:
To determine the coefficient of correlation using Excel.
INPUT DATA:
EXPERIE PERFORMA
NCE NCE
16 23
12 22
18 24
4 17
3 19
10 20
5 18
12 21
OUTPUT:
EXPERIE PERFORMA
NCE NCE
EXPERIENC
E 1
PERFORMA 0.951017
NCE 482 1
D.SWETHA
211416631140
CORRELATION USING SPSS
EX NO:
DATE:
To determine the Karl Pearsons coefficient of correlation using SPSS.
INPUT DATA:
VARIABLE VIEW:
DATA VIEW:
D.SWETHA
211416631140
OUTPUT:
Correlations
X Y
X Pearson Correlation 1 .040
Sig. (2-tailed) .912
N 10 10
Y Pearson Correlation .040 1
Sig. (2-tailed) .912
N 10 10
D.SWETHA
211416631140
REGRESSION USING EXCEL
EX NO:
DATE:
To determine the coefficient of regression using Excel.
INPUT DATA:
X Y
45 25
48 30
50 35
55 30
65 40
70 50
75 45
72 55
80 60
85 65
OUTPUT:
SUMMARY OUTPUT
Regression
Statistics
0.94977
Multiple R 999
0.90208
R Square 204
Adjusted R 0.88984
Square 229
Standard 4.56488
Error 403
Observations 10
ANOVA
Significa
df SS MS F nce F
Regression 1 1535.794 1535.7 73.701 2.6186E-
D.SWETHA
211416631140
67 95 05 05
166.7053 20.838
Residual 8 3 17
Total 9 1702.5
Standard Lower Upper Lower
Coefficients Error t Stat P-value 95% 95% 95.0%
- - -
Intercep 7.0687135 2.2501 0.0545 32.20603 0.39493 32.20603
t -15.905551 67 3 56 37 18 4
0.1072828 8.5849 2.62E- 0.673621 1.16841 0.673621
X 0.92101629 95 31 05 494 11 49
RESIDUALOUT
PUT
Predicte
Observation dY Residuals
25.54018
1 23 -0.54018227
28.30323
2 12 1.696768848
30.14526
3 37 4.854736261
34.75034 -
4 52 4.750345209
43.96050 -
5 81 3.960508147
48.56558
6 96 1.434410384
53.17067 -
7 11 8.170671085
50.40762
8 22 4.592377796
57.77575
9 26 2.224247445
62.38083
10 4 2.619165976
D.SWETHA
211416631140
CONCLUSION:
REGRESSION USING SPSS
EX NO:
DATE:
To determine the coefficient of regression using SPSS.
INPUT DATA:
VARIABLE DATA:
DATA VIEW:
D.SWETHA
211416631140
OUTPUT:
Variables Entered/Removedb
Variables Variables
Model Entered Removed Method
1 Xa . Enter
a. All requested variables entered.
b. Dependent Variable: Y
Model Summary
Change Statistics
Adjusted R Std. Error of the R Square
Model R R Square Square Estimate Change F Change df1 df2 Sig. F Chan
1 .373a .139 -.148 16.940 .139 .485 1 3 .
a. Predictors: (Constant), X
ANOVAb
Model Sum of Squares df Mean Square F Sig.
1 Regression 139.130 1 139.130 .485 .536a
Residual 860.870 3 286.957
Total 1000.000 4
a. Predictors: (Constant), X
D.SWETHA
211416631140
ANOVAb
Model Sum of Squares df Mean Square F Sig.
1 Regression 139.130 1 139.130 .485 .536a
Residual 860.870 3 286.957
Total 1000.000 4
b. Dependent Variable: Y
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) 89.565 16.792 5.334 .013
X .348 .500 .373 .696 .536
a. Dependent Variable: Y
CONCLUSION:
CHI-SQUARE USING SPSS
EX NO:
DATE:
To test if education depends on gender using chi-square using spss.
INPUT DATA:
D.SWETHA
211416631140
H 0 : Education is independent of gender.
VARIABLE VIEW:
DATA VIEW:
OUTPUT:
Case Processing Summary
Cases
Valid Missing Total
N Percent N Percent N Percent
SEX * EDUCATION 100 100.0% 0 .0% 100 100.0%
D.SWETHA
211416631140
SEX * EDUCATION Crosstabulation
EDUCATION Total
MIDDLE
SCHOOL HIGH SCHOOL COLLEGE
SEX MALE Count 10 15 25 50
Expected Count 17.5 12.5 20.0 50.0
FEMALE Count 25 10 15 50
Expected Count 17.5 12.5 20.0 50.0
Total Count 35 25 40 100
Expected Count 35.0 25.0 40.0 100.0
Chi-Square Tests
Asymp. Sig. (2-
Value df sided)
Pearson Chi-Square 9.929a 2 .007
Likelihood Ratio 10.175 2 .006
Linear-by-Linear Association 8.278 1 .004
N of Valid Cases 100
a. 0 cells (.0%) have expected count less than 5. The minimum
expected count is 12.50.
CONCLUSION:
The value of p(0.007)<0.05, thus reject the null hypothesis. Education is dependent of
gender.
D.SWETHA
211416631140
CHI-SQUARE USING SPSS
EX NO:
DATE:
To test the null hypothesis at a significance value 0.10 using chi-square using spss.
INPUT DATA:
H 0 : Economy is independent of sales.
H 1 : Economy is dependent on sales.
VARIABLE VIEW:
DATA VIEW:
D.SWETHA
211416631140
OUTPUT:
Case Processing Summary
Cases
Valid Missing Total
N Percent N Percent N Percent
ECONOMY * SALES 200 100.0% 0 .0% 200 100.0%
ECONOMY * SALES Crosstabulation
SALES Total
HIGH MEDIUM LOW
ECONOMY PEAK Count 20 7 3 30
Expected Count 15.0 9.0 6.0 30.0
TROUGH Count 30 40 30 100
Expected Count 50.0 30.0 20.0 100.0
RAISING Count 20 8 2 30
Expected Count 15.0 9.0 6.0 30.0
FALLING Count 30 5 5 40
Expected Count 20.0 12.0 8.0 40.0
Total Count 100 60 40 200
Expected Count 100.0 60.0 40.0 200.0
D.SWETHA
211416631140
Chi-Square Tests
Asymp. Sig. (2-
Value df sided)
Pearson Chi-Square 34.597a 6 .000
Likelihood Ratio 36.624 6 .000
Linear-by-Linear Association 6.325 1 .012
N of Valid Cases 200
a. 0 cells (.0%) have expected count less than 5. The minimum
expected count is 6.00.
CONCLUSION:
D.SWETHA
211416631140
The value of p(0.000)<0.05. Thus reject the null hypothesis. Economy is dependent on sales.
FORECASTING
EX NO:
DATE:
To estimate sales when the purchases equal 100.
INPUT DATA:
PURCHASE SALE
S S
62 112
72 124
98 131
76 117
81 132
56 96
76 120
92 136
88 97
49 85
OUTPUT:
EQUATI FORECA
100 ON ST TREND
134.56 134.56
134.566 473 47
y = 0.7826x + 56.306
R = 0.51
D.SWETHA
211416631140
FORECASTING
EX NO:
DATE:
To test the forecast using Excel.
1) Obtain the regression equation of sales on score.
2) If a salesman has a score of 65, what is the sale?
3) If a salesman has sales of 75, what is the sale?
INPUT DATA:
TEST WEEKLY
SCORE SALES
50 30
60 60
50 40
60 50
80 60
50 30
80 70
40 50
70 60
OUTPUT:
FORECA TREN
EQUATION ST D
53.7
65 53.75 53.75 5
y = 0.75x + 5
R = 0.5625
FORECA TREN
EQUATION ST D
75 78.75 78.75 78.7
D.SWETHA
211416631140
5
y = 0.75x + 22.5
R = 0.5625
MANN-WHITNEY USING SPSS
EX NO:
DATE:
To determine if there is a significant difference in the sales of the two branches.
INPUT DATA:
H 0 : There is no significant difference in the sales of two branches.
H 1 : There is a significant difference in the sales of two branches.
VARIABLE VIEW:
D.SWETHA
211416631140
DATA VIEW:
D.SWETHA
211416631140
OUTPUT:
Descriptive Statistics
N Mean Std. Deviation Minimum Maximum
COUNT 24 285.58 40.687 200 350
BRANCH 24 1.50 .511 1 2
D.SWETHA
211416631140
Ranks
BRANCH N Mean Rank Sum of Ranks
COUNT BRANCH A 12 12.38 148.50
BRANCH B 12 12.62 151.50
Total 24
Test Statisticsb
COUNT
Mann-Whitney U 70.500
Wilcoxon W 148.500
Z -.087
Asymp. Sig. (2-tailed) .931
Exact Sig. [2*(1-tailed Sig.)] .932a
a. Not corrected for ties.
b. Grouping Variable: BRANCH
CONCLUSION:
Thus the value of p(0.931) >0.05, we accept null hypothesis. There is no significant
difference in the sales of two branch.