SPSS Practical
SPSS Practical
SPSS Practical
Ex. No. 1
DATA ENTRY AND MISSING VALUES
Aim
To enter data in to SPSS and to ascertain missing values.
Algorithm
Algorithm
Step 1: Start the Process
Step 2: Type the Qualitative Data in variable 1 and do not enter any data in two or
three cells
Step 4: Click values button and assign 1 as Male and 2 as female for gender
Result
Thus the data have been entered and missing values are identified.
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Gender
Cumulative
Frequency Percent Valid Percent Percent
Total 12 100.0
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Ex.No.2
DESCRIPTIVE STATISTICS
Aim
To compute Mean, Median, Mode, Standard Deviation, Skewness and Kurtosis
Algorithm
Step 1: Start the Process
Step 2: Type the following Quantitative Data 320, 395, 342, 444, 551, 395, 425, 417,
395, 401, 390, 400 in Column Variable 1 of Data view window
Step 7: Select Mean, Median and Mode from Central Tendency Option and Standard
Deviation from Dispersion option Skewness and Kurtosis from Distribution
option and click Continue command button
Result
The above statistical analysis has been verified by using SPSS Package.
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Output
Statistics
VAR00001
N Valid 12
Missing 0
Mean 406.25
Median 397.5
Mode 395.00
Std. Deviation 56.50603
Skewness 1.317
Std. Error of Skewness .637
Kurtosis 3.906
Std. Error of Kurtosis 1.232
VAR00001
Valid Cumulative
Frequency Percent Percent Percent
Valid 320 1 8.3 8.3 8.3
342 1 8.3 8.3 16.7
390 1 8.3 8.3 25.0
395 3 25.0 25.0 50.0
400 1 8.3 8.3 58.3
401 1 8.3 8.3 66.7
417 1 8.3 8.3 75.0
425 1 8.3 8.3 83.3
444 1 8.3 8.3 91.7
551 1 8.3 8.3 100.0
Total 12 100.0 100.0
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Ex.No.3
Frequency Distribution
Aim
To prepare a frequency distribution table
Algorithm
Step 1: Start the Process
Step 3: Go to Variable view and in Label mention Gender and Education for Variable
1 and Variable 2 respectively
Step 4: Click values button and assign 1 as Male and 2 as female for gender. Assign 1
for Under Graduate, 2 for Post Graduate and 3 for Professional for Education.
Step 8: Click chart command button and select required chart type
Result
Thus frequency table has been prepared using SPSS Package.
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Gender
Cumulative
Frequency Percent Valid Percent Percent
Education
Cumulative
Frequency Percent Valid Percent Percent
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Ex.No.4
Chi-square
Aim
To calculate Chi-square test to find association between two variables
Algorithm
Step 1: Start the Process
Step 2: Type two set of Qualitative data on Variable 1 and Variable 2 on Data View
Window
Step 3: Specify names for Variable 1 and Variable 2 on variable view window
Step 7: Click Statistics Command button on Crosstab window, from which select
Chi-square option and press continue command button
Step 8: Click Cell command button on Crosstab window, in which select row on
percentage option and press continue command button
Result
The Chi-square test result has been verified by using SPSS Package.
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Output
Cases
AOR * SQ Crosstabulation
SQ
1 2 3 Total
AOR 1 Count 5 75 3 83
2 Count 29 94 8 131
3 Count 6 72 8 86
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Chi-Square Tests
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Ex.No.5
Independent Sample ‘t’ Test
Aim
To calculate independent ‘t’ test to find whether mean differs between two groups
Algorithm
Step 1: Start the Process
Step 3: Group the Quantitative data in to two groups by assigning qualitative values
(i.e.) 1,2
Step 5: Select Independent Sample ‘t’ Test from Compare Means menu
Step 6: Forward Quantitative data to Test Variables Option and Qualitative data to
Group Variables option
Step 7: Click Define Groups command button and assign 1 and 2 at Group 1 and
Group 2 and click continue command button
Result
The above statistical analysis has been verified by using SPSS Package.
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Output
Group Statistics
VAR00
002 N Mean Std. Deviation Std. Error Mean
95% Confidence
Interval of the
[Type text]
KARPAGAM ACADEMY OF HIGHER EDUCATION
CLASS : II – M.COM (CA) COURSE NAME: SPSS (Practical)
COURSE CODE : 18CCP312 BATCH : 2018-2020
Ex.No.6
Paired ‘t’ Test
Aim
To calculate paired ‘t’ test to find whether student’s performance differs before and after
training programme
Algorithm
Step 1: Start the Process
Step 5: Forward Variable 1 and Variable 2 data set to Paired Variables window
Result
The above statistical analysis has been verified by using SPSS Package.
Output
N Correlation Sig.
Paired Differences
Mean Std. Deviation Std. Error Mean Lower Upper t df Sig. (2-tailed)
Pair 1 VAR00001 -
-1.16667E1 6.72681 2.24227 -16.83735 -6.49598 -5.203 8 .001
VAR00002
Ex.No.7
One Way Analysis of Variance (ANOVA)
Aim
To calculate ANOVA test to find whether mean differs among more than two groups
Algorithm
Step 1: Start the Process
Step 3: Group the Quantitative data in to more than two groups by assigning
qualitative values (i.e.) 1,2,3
Step 5: Select One way ANOVA option from Compare Means menu
Step 6: Forward Quantitative data to Dependent list and Qualitative data to Factor
Result
The above statistical analysis has been verified by using SPSS Package.
Output
Descriptives
VAR00001
N Mean Std. Deviation Std. Error Lower Bound Upper Bound Minimum Maximum
ANOVA
VAR00001
Ex.No.8
Two Way Analysis of Variance (ANOVA)
Aim
To calculate Two way ANOVA test to find whether mean differs among more than two
groups
Algorithm
Step 1: Start the Process
Step 3: Group the Quantitative data in to more than two groups by assigning
qualitative values (i.e.) 1,2,3
Step 6: Forward Quantitative data to Dependent list and Qualitative data to Fixed
Factors
Step 7: Click Model command button and verify Type III is selected in Sum of
Squares and click continue button
Result
The above statistical analysis has been verified by using SPSS Package.
Between-Subjects Factors
Soil Type 1 6
2 6
Irrigation Type 1 5
2 4
3 3
Dependent Variable:VAR00001
Total 242073.000 12
Ex.No.9
Correlation
Aim
To calculate Correlation to find nature of relation between dependent and independent
variable
Algorithm
Step 1: Start the Process
Step 5: Forward all the variables (Dependent and Independent variables) to variables
window
Step 6: Select Pearson option and Spearman from Correlation Coefficient for running
Karl Pearson Correlation and Spearman respectively
Result
The above statistical analysis has been verified by using SPSS Package.
VAR00001 VAR00002
**
VAR00001 Pearson Correlation 1 .981
N 12 12
**
VAR00002 Pearson Correlation .981 1
N 12 12
Correlations
VAR00001 VAR00002
**
Spearman's rho VAR00001 Correlation Coefficient 1.000 .968
N 12 12
**
VAR00002 Correlation Coefficient .968 1.000
N 12 12
Ex.No.10
Regression
Aim
To ascertain the combined influence of select independent variables over dependent
variable, regression test is employed
Algorithm
Step 1: Start the Process
Step 2: Type Dependent variables data on variable 1 and independent variables data
on variable 2, variable 3 etc.,
Result
Thus regression test has been verified by using SPSS Package.
Output
b
Variables Entered/Removed
Variables Variables
Model Entered Removed Method
1 Sales,
Depreciation, . Enter
a
PAT, PYD
Model Summary
b
ANOVA
Total 1.875 7
a
Coefficients
Standardized
Unstandardized Coefficients Coefficients
Ex.No.11
Factor Analysis
Aim
To find out the multi colinearity exists between variables and to find out the important
factors (or) variables among the various set of variables introduced
Algorithm
Step 1: Start the Process
Step 4: Select factor analysis command option from data reduction sub menu
Step 6: Select Descriptive command window, and select KMO and Bartlett’s test of
Sphercity option and click continue command button
Step 7: Select Rotation command button on Factor analysis window, and select
varimax option and click continue command button
Result
Thus factor test has been verified by using SPSS Package.
Output
KMO and Bartlett's Test
df 406
Sig. .000
a
Rotated Component Matrix
Component
1 2 3 4 5 6 7
Ex.No.12
Cluster Analysis
Aim
To group heterogeneous variables into homogenous group
Algorithm
Step 1: Start the Process
Step 2: Type quantitative data on data view window for Calorie, Sodium, Salt and Fat
Step 6: Click statistics command button and click Agglomeration Schedule option
and click continue
Step 7: Click plot command button and click Dendrogram option and click continue
Step 8: Click Method command button and verify Between-groups linkage option
from Cluster Method and also verify Squared Euclidean distance from
Measure option and click continue
Step 9: Click Save option and click None option from Cluster Membership and click
continue
Result
Thus cluster analysis test has been carried out by using SPSS Package.
Agglomeration Schedule
1 3 10 124.000 0 0 2
2 3 4 414.000 1 0 6
3 5 9 490.000 0 0 6
4 1 7 540.000 0 0 5
5 1 2 856.000 4 0 9
6 3 5 1471.000 2 3 7
7 3 6 3687.600 6 0 8
8 3 8 5646.333 7 0 9
9 1 3 25908.524 5 8 0
Ex.No.13
Discriminant Analysis
Aim
To find out method of discriminating
Algorithm
Step 1: Start the Process
Step 2: Type two set of quantitative data and three set of qualitative data on data view
window
Step 8: Click statistics command button and select Means, Univariate ANOVA and
Box’s M option from Descriptive option and select Fishers Option from
Function Coefficient and click continue button
Step 9: Click classify command button and select Leave-one-out classification option
from Display and click command button
Result
Thus discriminant analysis test has been verified by using SPSS Package.
Valid 8 100.0
Total 0 .0
Total 8 100.0
Group Statistics
Valid N (listwise)
Log Determinants
1 4 3.117
a b
2 . .
a. Rank < 3